@almadar/core 10.79.0 → 10.80.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 +11 -3
- package/dist/builders.js.map +1 -1
- package/dist/{effect-Mx_niZdY.d.ts → effect-C4uehm-r.d.ts} +1 -1
- package/dist/{entityAccess-C3_cjLNi.d.ts → entityAccess-BMKFgmsc.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +50 -164
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +11 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-B1N3gjT0.d.ts → index-DqUnw2Oo.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +66 -172
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +101 -219
- package/dist/patterns/index.js +53 -167
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +51 -165
- package/dist/patterns/registry.json +51 -165
- package/dist/{schema-CkTuSx6F.d.ts → schema-Cma07_18.d.ts} +38 -38
- package/dist/{trait-B1fI0lTU.d.ts → trait-BXkQKZbO.d.ts} +32 -2
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +12 -4
- package/dist/types/index.js.map +1 -1
- package/dist/{types-B53Myv7U.d.ts → types-DoAKLgCZ.d.ts} +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -779,11 +779,17 @@ var StateSchema = z.object({
|
|
|
779
779
|
onEntry: z.array(z.string()).optional(),
|
|
780
780
|
onExit: z.array(z.string()).optional()
|
|
781
781
|
});
|
|
782
|
+
var PayloadTypeWhenSchema = z.object({
|
|
783
|
+
knob: z.string().min(1),
|
|
784
|
+
equals: z.string().min(1),
|
|
785
|
+
type: z.string().min(1)
|
|
786
|
+
});
|
|
782
787
|
var PayloadFieldSchema = z.object({
|
|
783
788
|
name: z.string().min(1),
|
|
784
789
|
type: z.string().min(1),
|
|
785
790
|
required: z.boolean().optional(),
|
|
786
|
-
properties: z.lazy(() => z.array(PayloadFieldSchema)).optional()
|
|
791
|
+
properties: z.lazy(() => z.array(PayloadFieldSchema)).optional(),
|
|
792
|
+
typeWhen: z.array(PayloadTypeWhenSchema).optional()
|
|
787
793
|
});
|
|
788
794
|
var EventSchema = z.object({
|
|
789
795
|
key: z.string().min(1, "Event key is required"),
|
|
@@ -880,7 +886,8 @@ var ConfigFieldItemsDeclarationSchema = z.lazy(
|
|
|
880
886
|
() => z.object({
|
|
881
887
|
type: z.string().optional(),
|
|
882
888
|
properties: z.record(TraitEntityFieldSchema).optional(),
|
|
883
|
-
items: ConfigFieldItemsDeclarationSchema.optional()
|
|
889
|
+
items: ConfigFieldItemsDeclarationSchema.optional(),
|
|
890
|
+
values: z.array(z.string()).optional()
|
|
884
891
|
})
|
|
885
892
|
);
|
|
886
893
|
var ConfigFieldDeclarationSchema = z.object({
|
|
@@ -996,7 +1003,8 @@ var EventPayloadFieldSchema = z.object({
|
|
|
996
1003
|
required: z.boolean().optional(),
|
|
997
1004
|
description: z.string().optional(),
|
|
998
1005
|
entityType: z.string().optional(),
|
|
999
|
-
properties: z.lazy(() => z.array(EventPayloadFieldSchema)).optional()
|
|
1006
|
+
properties: z.lazy(() => z.array(EventPayloadFieldSchema)).optional(),
|
|
1007
|
+
typeWhen: z.array(PayloadTypeWhenSchema).optional()
|
|
1000
1008
|
});
|
|
1001
1009
|
var CONFIG_REF_EVENT_PATTERN = /^@config\.[A-Za-z_][A-Za-z0-9_]*$/;
|
|
1002
1010
|
function configRefEventKnob(event) {
|
|
@@ -2296,7 +2304,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2296
2304
|
// src/patterns/patterns-registry.json
|
|
2297
2305
|
var patterns_registry_default = {
|
|
2298
2306
|
version: "1.0.0",
|
|
2299
|
-
exportedAt: "2026-09-
|
|
2307
|
+
exportedAt: "2026-09-02T20:03:03.703Z",
|
|
2300
2308
|
patterns: {
|
|
2301
2309
|
"entity-table": {
|
|
2302
2310
|
type: "entity-table",
|
|
@@ -2557,10 +2565,6 @@ var patterns_registry_default = {
|
|
|
2557
2565
|
placement: {
|
|
2558
2566
|
types: [
|
|
2559
2567
|
"string"
|
|
2560
|
-
],
|
|
2561
|
-
enumValues: [
|
|
2562
|
-
"row",
|
|
2563
|
-
"bulk"
|
|
2564
2568
|
]
|
|
2565
2569
|
},
|
|
2566
2570
|
icon: {
|
|
@@ -2572,13 +2576,6 @@ var patterns_registry_default = {
|
|
|
2572
2576
|
variant: {
|
|
2573
2577
|
types: [
|
|
2574
2578
|
"string"
|
|
2575
|
-
],
|
|
2576
|
-
enumValues: [
|
|
2577
|
-
"default",
|
|
2578
|
-
"primary",
|
|
2579
|
-
"secondary",
|
|
2580
|
-
"ghost",
|
|
2581
|
-
"danger"
|
|
2582
2579
|
]
|
|
2583
2580
|
},
|
|
2584
2581
|
onClick: {
|
|
@@ -2955,12 +2952,6 @@ var patterns_registry_default = {
|
|
|
2955
2952
|
placement: {
|
|
2956
2953
|
types: [
|
|
2957
2954
|
"string"
|
|
2958
|
-
],
|
|
2959
|
-
enumValues: [
|
|
2960
|
-
"row",
|
|
2961
|
-
"bulk",
|
|
2962
|
-
"card",
|
|
2963
|
-
"footer"
|
|
2964
2955
|
]
|
|
2965
2956
|
},
|
|
2966
2957
|
variant: {
|
|
@@ -3470,22 +3461,11 @@ var patterns_registry_default = {
|
|
|
3470
3461
|
placement: {
|
|
3471
3462
|
types: [
|
|
3472
3463
|
"string"
|
|
3473
|
-
],
|
|
3474
|
-
enumValues: [
|
|
3475
|
-
"card",
|
|
3476
|
-
"footer",
|
|
3477
|
-
"row"
|
|
3478
3464
|
]
|
|
3479
3465
|
},
|
|
3480
3466
|
variant: {
|
|
3481
3467
|
types: [
|
|
3482
3468
|
"string"
|
|
3483
|
-
],
|
|
3484
|
-
enumValues: [
|
|
3485
|
-
"primary",
|
|
3486
|
-
"secondary",
|
|
3487
|
-
"ghost",
|
|
3488
|
-
"danger"
|
|
3489
3469
|
]
|
|
3490
3470
|
}
|
|
3491
3471
|
},
|
|
@@ -4410,11 +4390,7 @@ var patterns_registry_default = {
|
|
|
4410
4390
|
types: [
|
|
4411
4391
|
"string"
|
|
4412
4392
|
],
|
|
4413
|
-
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'."
|
|
4414
|
-
enumValues: [
|
|
4415
|
-
"create",
|
|
4416
|
-
"edit"
|
|
4417
|
-
]
|
|
4393
|
+
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'."
|
|
4418
4394
|
},
|
|
4419
4395
|
fields: {
|
|
4420
4396
|
types: [
|
|
@@ -5337,11 +5313,7 @@ var patterns_registry_default = {
|
|
|
5337
5313
|
types: [
|
|
5338
5314
|
"string"
|
|
5339
5315
|
],
|
|
5340
|
-
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'."
|
|
5341
|
-
enumValues: [
|
|
5342
|
-
"create",
|
|
5343
|
-
"edit"
|
|
5344
|
-
]
|
|
5316
|
+
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'."
|
|
5345
5317
|
},
|
|
5346
5318
|
fields: {
|
|
5347
5319
|
types: [
|
|
@@ -7895,12 +7867,6 @@ var patterns_registry_default = {
|
|
|
7895
7867
|
mode: {
|
|
7896
7868
|
types: [
|
|
7897
7869
|
"string"
|
|
7898
|
-
],
|
|
7899
|
-
enumValues: [
|
|
7900
|
-
"search_or_create",
|
|
7901
|
-
"create_multiple",
|
|
7902
|
-
"select_one",
|
|
7903
|
-
"update"
|
|
7904
7870
|
]
|
|
7905
7871
|
},
|
|
7906
7872
|
parentField: {
|
|
@@ -8754,13 +8720,6 @@ var patterns_registry_default = {
|
|
|
8754
8720
|
"string"
|
|
8755
8721
|
],
|
|
8756
8722
|
description: "Width (CSS value or preset size)",
|
|
8757
|
-
enumValues: [
|
|
8758
|
-
"sm",
|
|
8759
|
-
"md",
|
|
8760
|
-
"lg",
|
|
8761
|
-
"xl",
|
|
8762
|
-
"full"
|
|
8763
|
-
],
|
|
8764
8723
|
default: "md"
|
|
8765
8724
|
},
|
|
8766
8725
|
showCloseButton: {
|
|
@@ -10382,15 +10341,7 @@ var patterns_registry_default = {
|
|
|
10382
10341
|
types: [
|
|
10383
10342
|
"string"
|
|
10384
10343
|
],
|
|
10385
|
-
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
10386
|
-
enumValues: [
|
|
10387
|
-
"primary",
|
|
10388
|
-
"secondary",
|
|
10389
|
-
"success",
|
|
10390
|
-
"warning",
|
|
10391
|
-
"error",
|
|
10392
|
-
"muted"
|
|
10393
|
-
]
|
|
10344
|
+
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
10394
10345
|
},
|
|
10395
10346
|
animation: {
|
|
10396
10347
|
types: [
|
|
@@ -10731,13 +10682,20 @@ var patterns_registry_default = {
|
|
|
10731
10682
|
types: [
|
|
10732
10683
|
"string"
|
|
10733
10684
|
],
|
|
10734
|
-
description: "Declarative event name for trait dispatch",
|
|
10685
|
+
description: "Declarative event name for trait dispatch.",
|
|
10735
10686
|
kind: "event-ref",
|
|
10736
10687
|
emitPayloadSchema: [
|
|
10737
10688
|
{
|
|
10738
10689
|
name: "value",
|
|
10739
10690
|
type: "string",
|
|
10740
|
-
required: true
|
|
10691
|
+
required: true,
|
|
10692
|
+
typeWhen: [
|
|
10693
|
+
{
|
|
10694
|
+
knob: "inputType",
|
|
10695
|
+
equals: "number",
|
|
10696
|
+
type: "number"
|
|
10697
|
+
}
|
|
10698
|
+
]
|
|
10741
10699
|
}
|
|
10742
10700
|
]
|
|
10743
10701
|
},
|
|
@@ -11026,8 +10984,26 @@ var patterns_registry_default = {
|
|
|
11026
10984
|
types: [
|
|
11027
10985
|
"string"
|
|
11028
10986
|
],
|
|
11029
|
-
description: "Declarative event name for trait dispatch",
|
|
11030
|
-
kind: "event"
|
|
10987
|
+
description: "Declarative event name for trait dispatch \u2014 emits `{ value }` on selection commit (same gestures as `onChange`).",
|
|
10988
|
+
kind: "event-ref",
|
|
10989
|
+
emitPayloadSchema: [
|
|
10990
|
+
{
|
|
10991
|
+
name: "value",
|
|
10992
|
+
type: "string",
|
|
10993
|
+
required: true,
|
|
10994
|
+
schema: {
|
|
10995
|
+
types: [
|
|
10996
|
+
"string",
|
|
10997
|
+
"array"
|
|
10998
|
+
],
|
|
10999
|
+
items: {
|
|
11000
|
+
types: [
|
|
11001
|
+
"string"
|
|
11002
|
+
]
|
|
11003
|
+
}
|
|
11004
|
+
}
|
|
11005
|
+
}
|
|
11006
|
+
]
|
|
11031
11007
|
},
|
|
11032
11008
|
error: {
|
|
11033
11009
|
types: [
|
|
@@ -13347,7 +13323,8 @@ var patterns_registry_default = {
|
|
|
13347
13323
|
],
|
|
13348
13324
|
description: "Payload to include with the dispatched action event.",
|
|
13349
13325
|
payloadFor: "action",
|
|
13350
|
-
freeform: true
|
|
13326
|
+
freeform: true,
|
|
13327
|
+
eventPayloadBrand: true
|
|
13351
13328
|
},
|
|
13352
13329
|
actions: {
|
|
13353
13330
|
types: [
|
|
@@ -13446,14 +13423,6 @@ var patterns_registry_default = {
|
|
|
13446
13423
|
"string"
|
|
13447
13424
|
],
|
|
13448
13425
|
description: "Button position",
|
|
13449
|
-
enumValues: [
|
|
13450
|
-
"bottom-right",
|
|
13451
|
-
"bottom-left",
|
|
13452
|
-
"bottom-center",
|
|
13453
|
-
"top-right",
|
|
13454
|
-
"top-left",
|
|
13455
|
-
"top-center"
|
|
13456
|
-
],
|
|
13457
13426
|
default: "bottom-right"
|
|
13458
13427
|
},
|
|
13459
13428
|
className: {
|
|
@@ -13650,13 +13619,20 @@ var patterns_registry_default = {
|
|
|
13650
13619
|
types: [
|
|
13651
13620
|
"string"
|
|
13652
13621
|
],
|
|
13653
|
-
description: "Declarative event name for trait dispatch",
|
|
13622
|
+
description: "Declarative event name for trait dispatch.",
|
|
13654
13623
|
kind: "event-ref",
|
|
13655
13624
|
emitPayloadSchema: [
|
|
13656
13625
|
{
|
|
13657
13626
|
name: "value",
|
|
13658
13627
|
type: "string",
|
|
13659
|
-
required: true
|
|
13628
|
+
required: true,
|
|
13629
|
+
typeWhen: [
|
|
13630
|
+
{
|
|
13631
|
+
knob: "inputType",
|
|
13632
|
+
equals: "number",
|
|
13633
|
+
type: "number"
|
|
13634
|
+
}
|
|
13635
|
+
]
|
|
13660
13636
|
}
|
|
13661
13637
|
]
|
|
13662
13638
|
},
|
|
@@ -27918,14 +27894,6 @@ var patterns_registry_default = {
|
|
|
27918
27894
|
"string"
|
|
27919
27895
|
],
|
|
27920
27896
|
description: "Semantic palette token or a raw CSS color value for the stroke.",
|
|
27921
|
-
enumValues: [
|
|
27922
|
-
"primary",
|
|
27923
|
-
"secondary",
|
|
27924
|
-
"success",
|
|
27925
|
-
"warning",
|
|
27926
|
-
"error",
|
|
27927
|
-
"muted"
|
|
27928
|
-
],
|
|
27929
27897
|
default: "primary"
|
|
27930
27898
|
},
|
|
27931
27899
|
strokeWidth: {
|
|
@@ -29213,8 +29181,7 @@ var patterns_registry_default = {
|
|
|
29213
29181
|
},
|
|
29214
29182
|
targetQuestionId: {
|
|
29215
29183
|
types: [
|
|
29216
|
-
"string"
|
|
29217
|
-
"unknown"
|
|
29184
|
+
"string"
|
|
29218
29185
|
]
|
|
29219
29186
|
}
|
|
29220
29187
|
},
|
|
@@ -29280,8 +29247,7 @@ var patterns_registry_default = {
|
|
|
29280
29247
|
},
|
|
29281
29248
|
targetQuestionId: {
|
|
29282
29249
|
types: [
|
|
29283
|
-
"string"
|
|
29284
|
-
"unknown"
|
|
29250
|
+
"string"
|
|
29285
29251
|
]
|
|
29286
29252
|
}
|
|
29287
29253
|
},
|
|
@@ -29351,8 +29317,7 @@ var patterns_registry_default = {
|
|
|
29351
29317
|
},
|
|
29352
29318
|
targetQuestionId: {
|
|
29353
29319
|
types: [
|
|
29354
|
-
"string"
|
|
29355
|
-
"unknown"
|
|
29320
|
+
"string"
|
|
29356
29321
|
]
|
|
29357
29322
|
}
|
|
29358
29323
|
},
|
|
@@ -29454,7 +29419,8 @@ var patterns_registry_default = {
|
|
|
29454
29419
|
types: [
|
|
29455
29420
|
"object",
|
|
29456
29421
|
"array"
|
|
29457
|
-
]
|
|
29422
|
+
],
|
|
29423
|
+
cyclic: true
|
|
29458
29424
|
}
|
|
29459
29425
|
}
|
|
29460
29426
|
},
|
|
@@ -30457,12 +30423,6 @@ var patterns_registry_default = {
|
|
|
30457
30423
|
"string"
|
|
30458
30424
|
],
|
|
30459
30425
|
description: "Size variant",
|
|
30460
|
-
enumValues: [
|
|
30461
|
-
"sm",
|
|
30462
|
-
"md",
|
|
30463
|
-
"lg",
|
|
30464
|
-
"xl"
|
|
30465
|
-
],
|
|
30466
30426
|
default: "md"
|
|
30467
30427
|
},
|
|
30468
30428
|
shape: {
|
|
@@ -30470,11 +30430,6 @@ var patterns_registry_default = {
|
|
|
30470
30430
|
"string"
|
|
30471
30431
|
],
|
|
30472
30432
|
description: "Shape variant",
|
|
30473
|
-
enumValues: [
|
|
30474
|
-
"circle",
|
|
30475
|
-
"rounded",
|
|
30476
|
-
"square"
|
|
30477
|
-
],
|
|
30478
30433
|
default: "circle"
|
|
30479
30434
|
},
|
|
30480
30435
|
variant: {
|
|
@@ -30482,11 +30437,6 @@ var patterns_registry_default = {
|
|
|
30482
30437
|
"string"
|
|
30483
30438
|
],
|
|
30484
30439
|
description: "Visual variant",
|
|
30485
|
-
enumValues: [
|
|
30486
|
-
"primary",
|
|
30487
|
-
"secondary",
|
|
30488
|
-
"ghost"
|
|
30489
|
-
],
|
|
30490
30440
|
default: "secondary"
|
|
30491
30441
|
},
|
|
30492
30442
|
onPress: {
|
|
@@ -32757,15 +32707,7 @@ var patterns_registry_default = {
|
|
|
32757
32707
|
types: [
|
|
32758
32708
|
"string"
|
|
32759
32709
|
],
|
|
32760
|
-
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
32761
|
-
enumValues: [
|
|
32762
|
-
"primary",
|
|
32763
|
-
"secondary",
|
|
32764
|
-
"success",
|
|
32765
|
-
"warning",
|
|
32766
|
-
"error",
|
|
32767
|
-
"muted"
|
|
32768
|
-
]
|
|
32710
|
+
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
32769
32711
|
},
|
|
32770
32712
|
className: {
|
|
32771
32713
|
types: [
|
|
@@ -33559,12 +33501,7 @@ var patterns_registry_default = {
|
|
|
33559
33501
|
types: [
|
|
33560
33502
|
"string"
|
|
33561
33503
|
],
|
|
33562
|
-
description: "Position of the HUD"
|
|
33563
|
-
enumValues: [
|
|
33564
|
-
"top",
|
|
33565
|
-
"bottom",
|
|
33566
|
-
"corners"
|
|
33567
|
-
]
|
|
33504
|
+
description: "Position of the HUD"
|
|
33568
33505
|
},
|
|
33569
33506
|
stats: {
|
|
33570
33507
|
types: [
|
|
@@ -33861,11 +33798,6 @@ var patterns_registry_default = {
|
|
|
33861
33798
|
variant: {
|
|
33862
33799
|
types: [
|
|
33863
33800
|
"string"
|
|
33864
|
-
],
|
|
33865
|
-
enumValues: [
|
|
33866
|
-
"primary",
|
|
33867
|
-
"secondary",
|
|
33868
|
-
"ghost"
|
|
33869
33801
|
]
|
|
33870
33802
|
},
|
|
33871
33803
|
disabled: {
|
|
@@ -33919,11 +33851,6 @@ var patterns_registry_default = {
|
|
|
33919
33851
|
variant: {
|
|
33920
33852
|
types: [
|
|
33921
33853
|
"string"
|
|
33922
|
-
],
|
|
33923
|
-
enumValues: [
|
|
33924
|
-
"primary",
|
|
33925
|
-
"secondary",
|
|
33926
|
-
"ghost"
|
|
33927
33854
|
]
|
|
33928
33855
|
},
|
|
33929
33856
|
disabled: {
|
|
@@ -33980,11 +33907,6 @@ var patterns_registry_default = {
|
|
|
33980
33907
|
variant: {
|
|
33981
33908
|
types: [
|
|
33982
33909
|
"string"
|
|
33983
|
-
],
|
|
33984
|
-
enumValues: [
|
|
33985
|
-
"primary",
|
|
33986
|
-
"secondary",
|
|
33987
|
-
"ghost"
|
|
33988
33910
|
]
|
|
33989
33911
|
},
|
|
33990
33912
|
disabled: {
|
|
@@ -34354,12 +34276,6 @@ var patterns_registry_default = {
|
|
|
34354
34276
|
"string"
|
|
34355
34277
|
],
|
|
34356
34278
|
description: "Display format",
|
|
34357
|
-
enumValues: [
|
|
34358
|
-
"number",
|
|
34359
|
-
"hearts",
|
|
34360
|
-
"bar",
|
|
34361
|
-
"text"
|
|
34362
|
-
],
|
|
34363
34279
|
default: "number"
|
|
34364
34280
|
},
|
|
34365
34281
|
icon: {
|
|
@@ -34374,11 +34290,6 @@ var patterns_registry_default = {
|
|
|
34374
34290
|
"string"
|
|
34375
34291
|
],
|
|
34376
34292
|
description: "Size variant",
|
|
34377
|
-
enumValues: [
|
|
34378
|
-
"sm",
|
|
34379
|
-
"md",
|
|
34380
|
-
"lg"
|
|
34381
|
-
],
|
|
34382
34293
|
default: "md"
|
|
34383
34294
|
},
|
|
34384
34295
|
variant: {
|
|
@@ -34386,13 +34297,6 @@ var patterns_registry_default = {
|
|
|
34386
34297
|
"string"
|
|
34387
34298
|
],
|
|
34388
34299
|
description: "Visual variant",
|
|
34389
|
-
enumValues: [
|
|
34390
|
-
"default",
|
|
34391
|
-
"primary",
|
|
34392
|
-
"success",
|
|
34393
|
-
"warning",
|
|
34394
|
-
"danger"
|
|
34395
|
-
],
|
|
34396
34300
|
default: "default"
|
|
34397
34301
|
},
|
|
34398
34302
|
className: {
|
|
@@ -39142,11 +39046,6 @@ var patterns_registry_default = {
|
|
|
39142
39046
|
format: {
|
|
39143
39047
|
types: [
|
|
39144
39048
|
"string"
|
|
39145
|
-
],
|
|
39146
|
-
enumValues: [
|
|
39147
|
-
"currency",
|
|
39148
|
-
"percent",
|
|
39149
|
-
"number"
|
|
39150
39049
|
]
|
|
39151
39050
|
}
|
|
39152
39051
|
},
|
|
@@ -40438,11 +40337,6 @@ var patterns_registry_default = {
|
|
|
40438
40337
|
variant: {
|
|
40439
40338
|
types: [
|
|
40440
40339
|
"string"
|
|
40441
|
-
],
|
|
40442
|
-
enumValues: [
|
|
40443
|
-
"primary",
|
|
40444
|
-
"secondary",
|
|
40445
|
-
"ghost"
|
|
40446
40340
|
]
|
|
40447
40341
|
}
|
|
40448
40342
|
},
|
|
@@ -56914,7 +56808,7 @@ var integrators_registry_default = {
|
|
|
56914
56808
|
// src/patterns/component-mapping.json
|
|
56915
56809
|
var component_mapping_default = {
|
|
56916
56810
|
version: "1.0.0",
|
|
56917
|
-
exportedAt: "2026-09-
|
|
56811
|
+
exportedAt: "2026-09-02T20:03:03.703Z",
|
|
56918
56812
|
mappings: {
|
|
56919
56813
|
"page-header": {
|
|
56920
56814
|
component: "PageHeader",
|
|
@@ -58334,7 +58228,7 @@ var component_mapping_default = {
|
|
|
58334
58228
|
// src/patterns/event-contracts.json
|
|
58335
58229
|
var event_contracts_default = {
|
|
58336
58230
|
version: "1.0.0",
|
|
58337
|
-
exportedAt: "2026-09-
|
|
58231
|
+
exportedAt: "2026-09-02T20:03:03.703Z",
|
|
58338
58232
|
contracts: {
|
|
58339
58233
|
form: {
|
|
58340
58234
|
emits: [
|
|
@@ -64106,7 +64000,7 @@ function navigateTargetOf(node) {
|
|
|
64106
64000
|
if (Array.isArray(target) && target.length >= 2) {
|
|
64107
64001
|
const op = target[0];
|
|
64108
64002
|
const first = target[1];
|
|
64109
|
-
if (
|
|
64003
|
+
if (op === "str/concat" && typeof first === "string") return first;
|
|
64110
64004
|
}
|
|
64111
64005
|
return null;
|
|
64112
64006
|
}
|
|
@@ -64410,6 +64304,6 @@ function mergeEntityFrame(current, orderedWrites) {
|
|
|
64410
64304
|
return next;
|
|
64411
64305
|
}
|
|
64412
64306
|
|
|
64413
|
-
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveExpectations, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, expectedEntityName, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isFileValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, isValueInputPattern, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, maskSecretConfigValues, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
64307
|
+
export { AGENT_DOMAIN_CATEGORIES, ALLOWED_CUSTOM_COMPONENTS, ANIMATION_NAMES, ANONYMOUS_USER, ASSET_ASPECTS, ASSET_DIMENSIONS, AgentDomainCategorySchema, AnimationDefSchema, AnimationNameSchema, AssetAspectSchema, AssetCatalogEntrySchema, AssetCatalogSchema, AssetDimensionSchema, AssetSchema, BINDING_CONTEXT_RULES, BINDING_DOCS, BINDING_ROOTS, BindingSchema, CAMERA_MODES, COMPONENT_MAPPING, CONFIG_REF_EVENT_PATTERN, CORE_BINDINGS, CameraModeSchema, CameraSchema, ColorSliceSchema, ColorTokensSchema, ComputedEventContractSchema, ComputedEventListenerSchema, ConfigFieldDeclarationSchema, ConfigProvenanceRecordSchema, CustomPatternDefinitionSchema, CustomPatternMapSchema, DEFAULT_INTERACTION_MODELS, DEFAULT_VIEWER, DEV_TOKEN_PREFIX, DeclaredTraitConfigSchema, DensitySliceSchema, DensityTokensSchema, DesignPreferencesSchema, DesignTokensSchema, DomainCategorySchema, DomainContextSchema, DomainVocabularySchema, ENTITY_ROLES, EVENT_CONTRACTS, EffectSchema, ElevationSliceSchema, ElevationTokensSchema, EntityCallSchema, EntityFieldContractSchema, EntityFieldSchema, EntityIdSchema, EntityPersistenceSchema, EntityRefSchema, EntityRefStringSchema, EntityRoleSchema, EntitySchema, EntitySemanticRoleSchema, EventIdSchema, EventListenerSchema, EventPayloadFieldSchema, EventSchema, EventScopeSchema, EventSemanticRoleSchema, EventSourceSchema, ExpectDeclarationSchema, ExpressionSchema, FIELD_TYPES, FieldSchema, FieldTypeSchema, FileValueSchema, GameSubCategorySchema, GeometrySliceSchema, GeometryTokensSchema, GuardSchema, INTEGRATORS_REGISTRY, IconFamilySchema, IconographySliceSchema, IconographyTokensSchema, IdentityLedgerSchema, IllustrationSliceSchema, IllustrationStyleSchema, IllustrationTokensSchema, InteractionModelSchema, KNOWN_VALIDATION_ERROR_CODES, LedgerEntrySchema, LedgerKindSchema, ListenSourceSchema, McpServiceDefSchema, MotionDurationKeySchema, MotionDurationPaletteSchema, MotionEasingKeySchema, MotionEasingPaletteSchema, MotionIntentMapSchema, MotionIntentSchema, MotionSliceSchema, MotionTokensSchema, NodeClassificationSchema, OrbitalConfigSchema, OrbitalDefinitionSchema, OrbitalEntitySchema, OrbitalIdSchema, OrbitalPageSchema, OrbitalPageStrictSchema, OrbitalSchemaSchema, OrbitalTraitRefSchema, OrbitalUnitSchema, OrbitalSchema as OrbitalZodSchema, PATTERN_REGISTRY, PATTERN_TYPES, PageIdSchema, PageRefObjectSchema, PageRefSchema, PageRefStringSchema, PageSchema, PageTraitRefSchema, PaletteEntryIdSchema, PatternTypeSchema, PayloadFieldSchema, PayloadTypeWhenSchema, REFERENCE_CONFIG_TYPES, RENDER_BINDING_MARKER, RelatedLinkSchema, RelationConfigSchema, RequiredFieldSchema, RestAuthConfigSchema, RestServiceDefSchema, SECRET_CONFIG_TYPES, SEMANTIC_STRING_TYPES, SERVICE_TYPES, SExprAtomSchema, SExprDataSchema, SExprSchema, SHEET_PROJECTIONS, SPRITE_DIRECTIONS, ScenePosSchema, SchemaMetadataSchema, SemanticAssetRefSchema, ServiceDefinitionSchema, ServiceIdSchema, ServiceRefObjectSchema, ServiceRefSchema, ServiceRefStringSchema, ServiceTypeSchema, SheetProjectionSchema, SkinSpecSchema, SocketEventsSchema, SocketServiceDefSchema, SpacingScaleSchema, SpriteDirectionSchema, SpriteSheetAtlasSchema, StateMachineSchema, StateSchema, StateSemanticRoleSchema, SubTextureSchema, SuggestedGuardSchema, TextureAtlasSchema, ThemeDefinitionSchema, ThemeIdSchema, ThemeRefSchema, ThemeRefStringSchema, ThemeTokensSchema, ThemeVariantSchema, TickIntervalSchema, TilesheetSchema, TraitCategorySchema, TraitConfigSchema, TraitConfigValueSchema, TraitDataEntitySchema, TraitEntityFieldSchema, TraitEventContractSchema, TraitEventListenerSchema, TraitFieldRefSchema, TraitIdSchema, TraitRefSchema, TraitReferenceSchema, TraitSchema, TraitTickSchema, TraitUIBindingSchema, TransitionSchema, TypeIntentMapSchema, TypeIntentSchema, TypeScaleEntrySchema, TypeScaleSchema, TypeScaleTokensSchema, TypeSizeKeySchema, TypeSliceSchema, TypeSlotSchema, TypeWeightSchema, UISlotSchema, UI_SLOTS, UXHintsSchema, UseDeclarationSchema, UserPersonaSchema, VISUAL_STYLES, ViewTypeSchema, VisualStyleSchema, answerToMutations, answersToMutations, applyEventWiring, applyFactoryCallPlanMutation, applyListenPayloadMapping, applyRenderOverlay, asEntityId, asEventId, asOrbitalId, asPageId, asPaletteEntryId, asServiceId, asThemeId, asTraitId, assertNoUnsatisfiableEnum, atomic, buildEdgeCoveringWalk, buildGuardPayloads, buildRecommendationContext, buildReplayPaths, buildResolvedTraitConfigs, buildStateGraph, callService, categorizeRemovals, classifyWorkflow, clearSchemaCache, collectBindings, collectEmbeddedTraitReferrers, collectReachableStates, collectRenderUiPatternTypes, collectTraitConfigRefAdjacency, collectTraitEmbedAdjacency, component_mapping_default as componentMapping, composeBehaviors, configRefEventKnob, constTruth, containsEntityBinding, containsPayloadBinding, contractFieldName, createAssetKey, createEmptyResolvedPage, createEmptyResolvedTrait, createLazyService, createResolvedField, createTypedEventBus, decodeDevIdentityToken, deref, deriveCollection, deriveExpectations, deriveInputType, describeTensorMismatch, despawn, detectLayoutStrategy, detectPageContentReduction, diffFactoryCalls, diffOrbitalSchemas, diffSchemaSemantics, diffSchemas, doEffects, emit, encodeDevIdentityToken, entityAccessPolicies, entityAccessTable, event_contracts_default as eventContracts, eventKeyPropsOf, eventListPropsOf, expectedEntityName, extractPayloadFieldRef, findCompatiblePatterns, findPersonaInRoster, findService, fingerprintNode, formatRecommendationsForPrompt, gatherTensorLastDim, generatePatternDescription, generateQuestions, getAllPatternTypes, getArgs, getBindingExamples, getComponentForPattern, getDefaultAnimationsForRole, getEmittedEvents, getEntity, getEntityCardinality, getInteractionModelForDomain, getOperator, getOrbAllowedPatterns, getOrbAllowedPatternsCompact, getOrbAllowedPatternsFiltered, getOrbAllowedPatternsSlim, getPage, getPages, getPatternActionsRef, getPatternDefinition, getPatternFieldsContract, getPatternMetadata, getPatternPropsCompact, getPatternsGroupedByCategory, getRemovals, getSchemaCacheStats, getServiceNames, getTrait, getTraitConfig, getTraitName, hasService, hasSignificantPageReduction, idKindOf, idPrefix, inferTsType, insertChildAtPath, integrators_registry_default as integratorsRegistry, isBinding, isCallSiteConfigDeclaration, isCircuitEvent, isContentBodyPattern, isContentBodyPatternType, isContentMainWriter, isDestructiveChange, isDrawHostPattern, isDrawablePattern, isEffect, isEmailValue, isEntityAwarePattern, isEntityCall, isEntityId, isEntityReference, isEntityReferenceAny, isEventId, isEventPayloadValue, isFieldValue, isFileValue, isImportedTraitRef, isInlineTrait, isJsonArray, isJsonObject, isJsonPrimitive, isKnownValidationErrorCode, isMainSlotRenderUi, isMcpService, isOrbitalDefinition, isOrbitalId, isPageId, isPageReference, isPageReferenceObject, isPageReferenceString, isPaletteEntryId, isPhoneValue, isPlanSnapshot, isReferenceConfigType, isRenderBindingMarker, isResolvedIR, isRestService, isRuntimeEntity, isSExpr, isSExprAtom, isSExprCall, isSExprEffect, isSecretConfigType, isSemanticStringType, isSemanticStringValue, isServiceId, isServiceReference, isServiceReferenceObject, isSessionHistoryEntry, isSocketService, isTensorValue, isThemeId, isThemeReference, isTraitFieldRef, isTraitId, isUrlValue, isUuidValue, isValidBinding, isValidPatternType, isValueInputPattern, ledgerCurName, ledgerRename, ledgerResolveName, mapTensorLastDim, maskSecretConfigValues, mergeEntityFrame, mintId, navigate, navigateBack, navigatePatternPath, normalizeCallSiteConfigToValues, normalizeTraitRef, normalizeUserContext, notify, parseAssetKey, parseBinding, parseEntityRef, parseImportedTraitRef, parseOrbitalSchema, parsePageRef, parseServiceRef, patterns_registry_default as patternsRegistry, persist, persistenceModeAllowsOverrides, personaFromIdentityRow, recommendPatterns, reduceToOwners, ref, registry, rehydrateKnobDefs, removeChildAtPath, renderUI, renderUiPatternTypesOf, replaceChildAtPath, requiresConfirmation, resolveConfigRefEventName, resolveContentOwners, resolveDefaultViewer, resolvePageContentOwner, resolvePersonaSpec, safeParseOrbitalSchema, schemaToIR, set, setPropAtPath, sexpr, signatureToParamsSchema, spawn, summarizeOrbital, summarizeSchema, swap, tensorLastDimSize, tensorShape, toBindingRoot, traitDeclaresConfigForward, translateOverlaysToParams, validateAssetAnimations, validateBindingInContext, validateContract, walkSExpr, walkStatePairs, watch, widenTier };
|
|
64414
64308
|
//# sourceMappingURL=index.js.map
|
|
64415
64309
|
//# sourceMappingURL=index.js.map
|