@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/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-02T20:03:03.703Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -264,10 +264,6 @@ var patterns_registry_default = {
|
|
|
264
264
|
placement: {
|
|
265
265
|
types: [
|
|
266
266
|
"string"
|
|
267
|
-
],
|
|
268
|
-
enumValues: [
|
|
269
|
-
"row",
|
|
270
|
-
"bulk"
|
|
271
267
|
]
|
|
272
268
|
},
|
|
273
269
|
icon: {
|
|
@@ -279,13 +275,6 @@ var patterns_registry_default = {
|
|
|
279
275
|
variant: {
|
|
280
276
|
types: [
|
|
281
277
|
"string"
|
|
282
|
-
],
|
|
283
|
-
enumValues: [
|
|
284
|
-
"default",
|
|
285
|
-
"primary",
|
|
286
|
-
"secondary",
|
|
287
|
-
"ghost",
|
|
288
|
-
"danger"
|
|
289
278
|
]
|
|
290
279
|
},
|
|
291
280
|
onClick: {
|
|
@@ -662,12 +651,6 @@ var patterns_registry_default = {
|
|
|
662
651
|
placement: {
|
|
663
652
|
types: [
|
|
664
653
|
"string"
|
|
665
|
-
],
|
|
666
|
-
enumValues: [
|
|
667
|
-
"row",
|
|
668
|
-
"bulk",
|
|
669
|
-
"card",
|
|
670
|
-
"footer"
|
|
671
654
|
]
|
|
672
655
|
},
|
|
673
656
|
variant: {
|
|
@@ -1177,22 +1160,11 @@ var patterns_registry_default = {
|
|
|
1177
1160
|
placement: {
|
|
1178
1161
|
types: [
|
|
1179
1162
|
"string"
|
|
1180
|
-
],
|
|
1181
|
-
enumValues: [
|
|
1182
|
-
"card",
|
|
1183
|
-
"footer",
|
|
1184
|
-
"row"
|
|
1185
1163
|
]
|
|
1186
1164
|
},
|
|
1187
1165
|
variant: {
|
|
1188
1166
|
types: [
|
|
1189
1167
|
"string"
|
|
1190
|
-
],
|
|
1191
|
-
enumValues: [
|
|
1192
|
-
"primary",
|
|
1193
|
-
"secondary",
|
|
1194
|
-
"ghost",
|
|
1195
|
-
"danger"
|
|
1196
1168
|
]
|
|
1197
1169
|
}
|
|
1198
1170
|
},
|
|
@@ -2117,11 +2089,7 @@ var patterns_registry_default = {
|
|
|
2117
2089
|
types: [
|
|
2118
2090
|
"string"
|
|
2119
2091
|
],
|
|
2120
|
-
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'."
|
|
2121
|
-
enumValues: [
|
|
2122
|
-
"create",
|
|
2123
|
-
"edit"
|
|
2124
|
-
]
|
|
2092
|
+
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'."
|
|
2125
2093
|
},
|
|
2126
2094
|
fields: {
|
|
2127
2095
|
types: [
|
|
@@ -3044,11 +3012,7 @@ var patterns_registry_default = {
|
|
|
3044
3012
|
types: [
|
|
3045
3013
|
"string"
|
|
3046
3014
|
],
|
|
3047
|
-
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'."
|
|
3048
|
-
enumValues: [
|
|
3049
|
-
"create",
|
|
3050
|
-
"edit"
|
|
3051
|
-
]
|
|
3015
|
+
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'."
|
|
3052
3016
|
},
|
|
3053
3017
|
fields: {
|
|
3054
3018
|
types: [
|
|
@@ -5602,12 +5566,6 @@ var patterns_registry_default = {
|
|
|
5602
5566
|
mode: {
|
|
5603
5567
|
types: [
|
|
5604
5568
|
"string"
|
|
5605
|
-
],
|
|
5606
|
-
enumValues: [
|
|
5607
|
-
"search_or_create",
|
|
5608
|
-
"create_multiple",
|
|
5609
|
-
"select_one",
|
|
5610
|
-
"update"
|
|
5611
5569
|
]
|
|
5612
5570
|
},
|
|
5613
5571
|
parentField: {
|
|
@@ -6461,13 +6419,6 @@ var patterns_registry_default = {
|
|
|
6461
6419
|
"string"
|
|
6462
6420
|
],
|
|
6463
6421
|
description: "Width (CSS value or preset size)",
|
|
6464
|
-
enumValues: [
|
|
6465
|
-
"sm",
|
|
6466
|
-
"md",
|
|
6467
|
-
"lg",
|
|
6468
|
-
"xl",
|
|
6469
|
-
"full"
|
|
6470
|
-
],
|
|
6471
6422
|
default: "md"
|
|
6472
6423
|
},
|
|
6473
6424
|
showCloseButton: {
|
|
@@ -8089,15 +8040,7 @@ var patterns_registry_default = {
|
|
|
8089
8040
|
types: [
|
|
8090
8041
|
"string"
|
|
8091
8042
|
],
|
|
8092
|
-
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
8093
|
-
enumValues: [
|
|
8094
|
-
"primary",
|
|
8095
|
-
"secondary",
|
|
8096
|
-
"success",
|
|
8097
|
-
"warning",
|
|
8098
|
-
"error",
|
|
8099
|
-
"muted"
|
|
8100
|
-
]
|
|
8043
|
+
description: "Semantic palette token or an arbitrary Tailwind color class."
|
|
8101
8044
|
},
|
|
8102
8045
|
animation: {
|
|
8103
8046
|
types: [
|
|
@@ -8438,13 +8381,20 @@ var patterns_registry_default = {
|
|
|
8438
8381
|
types: [
|
|
8439
8382
|
"string"
|
|
8440
8383
|
],
|
|
8441
|
-
description: "Declarative event name for trait dispatch",
|
|
8384
|
+
description: "Declarative event name for trait dispatch.",
|
|
8442
8385
|
kind: "event-ref",
|
|
8443
8386
|
emitPayloadSchema: [
|
|
8444
8387
|
{
|
|
8445
8388
|
name: "value",
|
|
8446
8389
|
type: "string",
|
|
8447
|
-
required: true
|
|
8390
|
+
required: true,
|
|
8391
|
+
typeWhen: [
|
|
8392
|
+
{
|
|
8393
|
+
knob: "inputType",
|
|
8394
|
+
equals: "number",
|
|
8395
|
+
type: "number"
|
|
8396
|
+
}
|
|
8397
|
+
]
|
|
8448
8398
|
}
|
|
8449
8399
|
]
|
|
8450
8400
|
},
|
|
@@ -8733,8 +8683,26 @@ var patterns_registry_default = {
|
|
|
8733
8683
|
types: [
|
|
8734
8684
|
"string"
|
|
8735
8685
|
],
|
|
8736
|
-
description: "Declarative event name for trait dispatch",
|
|
8737
|
-
kind: "event"
|
|
8686
|
+
description: "Declarative event name for trait dispatch \u2014 emits `{ value }` on selection commit (same gestures as `onChange`).",
|
|
8687
|
+
kind: "event-ref",
|
|
8688
|
+
emitPayloadSchema: [
|
|
8689
|
+
{
|
|
8690
|
+
name: "value",
|
|
8691
|
+
type: "string",
|
|
8692
|
+
required: true,
|
|
8693
|
+
schema: {
|
|
8694
|
+
types: [
|
|
8695
|
+
"string",
|
|
8696
|
+
"array"
|
|
8697
|
+
],
|
|
8698
|
+
items: {
|
|
8699
|
+
types: [
|
|
8700
|
+
"string"
|
|
8701
|
+
]
|
|
8702
|
+
}
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
]
|
|
8738
8706
|
},
|
|
8739
8707
|
error: {
|
|
8740
8708
|
types: [
|
|
@@ -11054,7 +11022,8 @@ var patterns_registry_default = {
|
|
|
11054
11022
|
],
|
|
11055
11023
|
description: "Payload to include with the dispatched action event.",
|
|
11056
11024
|
payloadFor: "action",
|
|
11057
|
-
freeform: true
|
|
11025
|
+
freeform: true,
|
|
11026
|
+
eventPayloadBrand: true
|
|
11058
11027
|
},
|
|
11059
11028
|
actions: {
|
|
11060
11029
|
types: [
|
|
@@ -11153,14 +11122,6 @@ var patterns_registry_default = {
|
|
|
11153
11122
|
"string"
|
|
11154
11123
|
],
|
|
11155
11124
|
description: "Button position",
|
|
11156
|
-
enumValues: [
|
|
11157
|
-
"bottom-right",
|
|
11158
|
-
"bottom-left",
|
|
11159
|
-
"bottom-center",
|
|
11160
|
-
"top-right",
|
|
11161
|
-
"top-left",
|
|
11162
|
-
"top-center"
|
|
11163
|
-
],
|
|
11164
11125
|
default: "bottom-right"
|
|
11165
11126
|
},
|
|
11166
11127
|
className: {
|
|
@@ -11357,13 +11318,20 @@ var patterns_registry_default = {
|
|
|
11357
11318
|
types: [
|
|
11358
11319
|
"string"
|
|
11359
11320
|
],
|
|
11360
|
-
description: "Declarative event name for trait dispatch",
|
|
11321
|
+
description: "Declarative event name for trait dispatch.",
|
|
11361
11322
|
kind: "event-ref",
|
|
11362
11323
|
emitPayloadSchema: [
|
|
11363
11324
|
{
|
|
11364
11325
|
name: "value",
|
|
11365
11326
|
type: "string",
|
|
11366
|
-
required: true
|
|
11327
|
+
required: true,
|
|
11328
|
+
typeWhen: [
|
|
11329
|
+
{
|
|
11330
|
+
knob: "inputType",
|
|
11331
|
+
equals: "number",
|
|
11332
|
+
type: "number"
|
|
11333
|
+
}
|
|
11334
|
+
]
|
|
11367
11335
|
}
|
|
11368
11336
|
]
|
|
11369
11337
|
},
|
|
@@ -25625,14 +25593,6 @@ var patterns_registry_default = {
|
|
|
25625
25593
|
"string"
|
|
25626
25594
|
],
|
|
25627
25595
|
description: "Semantic palette token or a raw CSS color value for the stroke.",
|
|
25628
|
-
enumValues: [
|
|
25629
|
-
"primary",
|
|
25630
|
-
"secondary",
|
|
25631
|
-
"success",
|
|
25632
|
-
"warning",
|
|
25633
|
-
"error",
|
|
25634
|
-
"muted"
|
|
25635
|
-
],
|
|
25636
25596
|
default: "primary"
|
|
25637
25597
|
},
|
|
25638
25598
|
strokeWidth: {
|
|
@@ -26920,8 +26880,7 @@ var patterns_registry_default = {
|
|
|
26920
26880
|
},
|
|
26921
26881
|
targetQuestionId: {
|
|
26922
26882
|
types: [
|
|
26923
|
-
"string"
|
|
26924
|
-
"unknown"
|
|
26883
|
+
"string"
|
|
26925
26884
|
]
|
|
26926
26885
|
}
|
|
26927
26886
|
},
|
|
@@ -26987,8 +26946,7 @@ var patterns_registry_default = {
|
|
|
26987
26946
|
},
|
|
26988
26947
|
targetQuestionId: {
|
|
26989
26948
|
types: [
|
|
26990
|
-
"string"
|
|
26991
|
-
"unknown"
|
|
26949
|
+
"string"
|
|
26992
26950
|
]
|
|
26993
26951
|
}
|
|
26994
26952
|
},
|
|
@@ -27058,8 +27016,7 @@ var patterns_registry_default = {
|
|
|
27058
27016
|
},
|
|
27059
27017
|
targetQuestionId: {
|
|
27060
27018
|
types: [
|
|
27061
|
-
"string"
|
|
27062
|
-
"unknown"
|
|
27019
|
+
"string"
|
|
27063
27020
|
]
|
|
27064
27021
|
}
|
|
27065
27022
|
},
|
|
@@ -27161,7 +27118,8 @@ var patterns_registry_default = {
|
|
|
27161
27118
|
types: [
|
|
27162
27119
|
"object",
|
|
27163
27120
|
"array"
|
|
27164
|
-
]
|
|
27121
|
+
],
|
|
27122
|
+
cyclic: true
|
|
27165
27123
|
}
|
|
27166
27124
|
}
|
|
27167
27125
|
},
|
|
@@ -28164,12 +28122,6 @@ var patterns_registry_default = {
|
|
|
28164
28122
|
"string"
|
|
28165
28123
|
],
|
|
28166
28124
|
description: "Size variant",
|
|
28167
|
-
enumValues: [
|
|
28168
|
-
"sm",
|
|
28169
|
-
"md",
|
|
28170
|
-
"lg",
|
|
28171
|
-
"xl"
|
|
28172
|
-
],
|
|
28173
28125
|
default: "md"
|
|
28174
28126
|
},
|
|
28175
28127
|
shape: {
|
|
@@ -28177,11 +28129,6 @@ var patterns_registry_default = {
|
|
|
28177
28129
|
"string"
|
|
28178
28130
|
],
|
|
28179
28131
|
description: "Shape variant",
|
|
28180
|
-
enumValues: [
|
|
28181
|
-
"circle",
|
|
28182
|
-
"rounded",
|
|
28183
|
-
"square"
|
|
28184
|
-
],
|
|
28185
28132
|
default: "circle"
|
|
28186
28133
|
},
|
|
28187
28134
|
variant: {
|
|
@@ -28189,11 +28136,6 @@ var patterns_registry_default = {
|
|
|
28189
28136
|
"string"
|
|
28190
28137
|
],
|
|
28191
28138
|
description: "Visual variant",
|
|
28192
|
-
enumValues: [
|
|
28193
|
-
"primary",
|
|
28194
|
-
"secondary",
|
|
28195
|
-
"ghost"
|
|
28196
|
-
],
|
|
28197
28139
|
default: "secondary"
|
|
28198
28140
|
},
|
|
28199
28141
|
onPress: {
|
|
@@ -30464,15 +30406,7 @@ var patterns_registry_default = {
|
|
|
30464
30406
|
types: [
|
|
30465
30407
|
"string"
|
|
30466
30408
|
],
|
|
30467
|
-
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
30468
|
-
enumValues: [
|
|
30469
|
-
"primary",
|
|
30470
|
-
"secondary",
|
|
30471
|
-
"success",
|
|
30472
|
-
"warning",
|
|
30473
|
-
"error",
|
|
30474
|
-
"muted"
|
|
30475
|
-
]
|
|
30409
|
+
description: "Semantic palette token or a raw CSS color value. Defaults to 'primary'."
|
|
30476
30410
|
},
|
|
30477
30411
|
className: {
|
|
30478
30412
|
types: [
|
|
@@ -31266,12 +31200,7 @@ var patterns_registry_default = {
|
|
|
31266
31200
|
types: [
|
|
31267
31201
|
"string"
|
|
31268
31202
|
],
|
|
31269
|
-
description: "Position of the HUD"
|
|
31270
|
-
enumValues: [
|
|
31271
|
-
"top",
|
|
31272
|
-
"bottom",
|
|
31273
|
-
"corners"
|
|
31274
|
-
]
|
|
31203
|
+
description: "Position of the HUD"
|
|
31275
31204
|
},
|
|
31276
31205
|
stats: {
|
|
31277
31206
|
types: [
|
|
@@ -31568,11 +31497,6 @@ var patterns_registry_default = {
|
|
|
31568
31497
|
variant: {
|
|
31569
31498
|
types: [
|
|
31570
31499
|
"string"
|
|
31571
|
-
],
|
|
31572
|
-
enumValues: [
|
|
31573
|
-
"primary",
|
|
31574
|
-
"secondary",
|
|
31575
|
-
"ghost"
|
|
31576
31500
|
]
|
|
31577
31501
|
},
|
|
31578
31502
|
disabled: {
|
|
@@ -31626,11 +31550,6 @@ var patterns_registry_default = {
|
|
|
31626
31550
|
variant: {
|
|
31627
31551
|
types: [
|
|
31628
31552
|
"string"
|
|
31629
|
-
],
|
|
31630
|
-
enumValues: [
|
|
31631
|
-
"primary",
|
|
31632
|
-
"secondary",
|
|
31633
|
-
"ghost"
|
|
31634
31553
|
]
|
|
31635
31554
|
},
|
|
31636
31555
|
disabled: {
|
|
@@ -31687,11 +31606,6 @@ var patterns_registry_default = {
|
|
|
31687
31606
|
variant: {
|
|
31688
31607
|
types: [
|
|
31689
31608
|
"string"
|
|
31690
|
-
],
|
|
31691
|
-
enumValues: [
|
|
31692
|
-
"primary",
|
|
31693
|
-
"secondary",
|
|
31694
|
-
"ghost"
|
|
31695
31609
|
]
|
|
31696
31610
|
},
|
|
31697
31611
|
disabled: {
|
|
@@ -32061,12 +31975,6 @@ var patterns_registry_default = {
|
|
|
32061
31975
|
"string"
|
|
32062
31976
|
],
|
|
32063
31977
|
description: "Display format",
|
|
32064
|
-
enumValues: [
|
|
32065
|
-
"number",
|
|
32066
|
-
"hearts",
|
|
32067
|
-
"bar",
|
|
32068
|
-
"text"
|
|
32069
|
-
],
|
|
32070
31978
|
default: "number"
|
|
32071
31979
|
},
|
|
32072
31980
|
icon: {
|
|
@@ -32081,11 +31989,6 @@ var patterns_registry_default = {
|
|
|
32081
31989
|
"string"
|
|
32082
31990
|
],
|
|
32083
31991
|
description: "Size variant",
|
|
32084
|
-
enumValues: [
|
|
32085
|
-
"sm",
|
|
32086
|
-
"md",
|
|
32087
|
-
"lg"
|
|
32088
|
-
],
|
|
32089
31992
|
default: "md"
|
|
32090
31993
|
},
|
|
32091
31994
|
variant: {
|
|
@@ -32093,13 +31996,6 @@ var patterns_registry_default = {
|
|
|
32093
31996
|
"string"
|
|
32094
31997
|
],
|
|
32095
31998
|
description: "Visual variant",
|
|
32096
|
-
enumValues: [
|
|
32097
|
-
"default",
|
|
32098
|
-
"primary",
|
|
32099
|
-
"success",
|
|
32100
|
-
"warning",
|
|
32101
|
-
"danger"
|
|
32102
|
-
],
|
|
32103
31999
|
default: "default"
|
|
32104
32000
|
},
|
|
32105
32001
|
className: {
|
|
@@ -36849,11 +36745,6 @@ var patterns_registry_default = {
|
|
|
36849
36745
|
format: {
|
|
36850
36746
|
types: [
|
|
36851
36747
|
"string"
|
|
36852
|
-
],
|
|
36853
|
-
enumValues: [
|
|
36854
|
-
"currency",
|
|
36855
|
-
"percent",
|
|
36856
|
-
"number"
|
|
36857
36748
|
]
|
|
36858
36749
|
}
|
|
36859
36750
|
},
|
|
@@ -38145,11 +38036,6 @@ var patterns_registry_default = {
|
|
|
38145
38036
|
variant: {
|
|
38146
38037
|
types: [
|
|
38147
38038
|
"string"
|
|
38148
|
-
],
|
|
38149
|
-
enumValues: [
|
|
38150
|
-
"primary",
|
|
38151
|
-
"secondary",
|
|
38152
|
-
"ghost"
|
|
38153
38039
|
]
|
|
38154
38040
|
}
|
|
38155
38041
|
},
|
|
@@ -54621,7 +54507,7 @@ var integrators_registry_default = {
|
|
|
54621
54507
|
// src/patterns/component-mapping.json
|
|
54622
54508
|
var component_mapping_default = {
|
|
54623
54509
|
version: "1.0.0",
|
|
54624
|
-
exportedAt: "2026-09-
|
|
54510
|
+
exportedAt: "2026-09-02T20:03:03.703Z",
|
|
54625
54511
|
mappings: {
|
|
54626
54512
|
"page-header": {
|
|
54627
54513
|
component: "PageHeader",
|
|
@@ -56041,7 +55927,7 @@ var component_mapping_default = {
|
|
|
56041
55927
|
// src/patterns/event-contracts.json
|
|
56042
55928
|
var event_contracts_default = {
|
|
56043
55929
|
version: "1.0.0",
|
|
56044
|
-
exportedAt: "2026-09-
|
|
55930
|
+
exportedAt: "2026-09-02T20:03:03.703Z",
|
|
56045
55931
|
contracts: {
|
|
56046
55932
|
form: {
|
|
56047
55933
|
emits: [
|