@almadar/core 10.40.0 → 10.41.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-Dw270YQh.d.ts → builders-CikYSzX6.d.ts} +2 -2
- package/dist/builders.d.ts +3 -3
- package/dist/{effect-DQPFowvO.d.ts → effect-DSbx6joe.d.ts} +64 -3
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +472 -3
- package/dist/index.js.map +1 -1
- package/dist/patterns/component-mapping.json +26 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1539 -477
- package/dist/patterns/index.js +472 -3
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +440 -1
- package/dist/patterns/registry.json +440 -1
- package/dist/{trait-C_TZnqb_.d.ts → trait-2E6TQw19.d.ts} +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +5 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BUqLsSEN.d.ts → types-CzocAZtG.d.ts} +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2112,7 +2112,7 @@ function getInteractionModelForDomain(domain) {
|
|
|
2112
2112
|
// src/patterns/patterns-registry.json
|
|
2113
2113
|
var patterns_registry_default = {
|
|
2114
2114
|
version: "1.0.0",
|
|
2115
|
-
exportedAt: "2026-07-
|
|
2115
|
+
exportedAt: "2026-07-28T14:48:23.507Z",
|
|
2116
2116
|
patterns: {
|
|
2117
2117
|
"entity-table": {
|
|
2118
2118
|
type: "entity-table",
|
|
@@ -43025,6 +43025,445 @@ var patterns_registry_default = {
|
|
|
43025
43025
|
description: "Additional CSS classes"
|
|
43026
43026
|
}
|
|
43027
43027
|
}
|
|
43028
|
+
},
|
|
43029
|
+
"svg-draw-group": {
|
|
43030
|
+
type: "svg-draw-group",
|
|
43031
|
+
category: "game",
|
|
43032
|
+
tier: "atoms",
|
|
43033
|
+
family: "game",
|
|
43034
|
+
description: "SvgDrawGroup component",
|
|
43035
|
+
suggestedFor: [
|
|
43036
|
+
"svg",
|
|
43037
|
+
"draw",
|
|
43038
|
+
"group",
|
|
43039
|
+
"svg draw group"
|
|
43040
|
+
],
|
|
43041
|
+
typicalSize: "small",
|
|
43042
|
+
propsSchema: {
|
|
43043
|
+
x: {
|
|
43044
|
+
types: [
|
|
43045
|
+
"number"
|
|
43046
|
+
],
|
|
43047
|
+
description: "Grid-cell x of the group's origin.",
|
|
43048
|
+
default: 0
|
|
43049
|
+
},
|
|
43050
|
+
y: {
|
|
43051
|
+
types: [
|
|
43052
|
+
"number"
|
|
43053
|
+
],
|
|
43054
|
+
description: "Grid-cell y of the group's origin.",
|
|
43055
|
+
default: 0
|
|
43056
|
+
},
|
|
43057
|
+
scale: {
|
|
43058
|
+
types: [
|
|
43059
|
+
"number"
|
|
43060
|
+
],
|
|
43061
|
+
description: "Uniform scale applied after the translate."
|
|
43062
|
+
},
|
|
43063
|
+
rotate: {
|
|
43064
|
+
types: [
|
|
43065
|
+
"number"
|
|
43066
|
+
],
|
|
43067
|
+
description: "Rotation in degrees applied after the translate."
|
|
43068
|
+
},
|
|
43069
|
+
opacity: {
|
|
43070
|
+
types: [
|
|
43071
|
+
"number"
|
|
43072
|
+
],
|
|
43073
|
+
description: "0..1 opacity."
|
|
43074
|
+
},
|
|
43075
|
+
className: {
|
|
43076
|
+
types: [
|
|
43077
|
+
"string"
|
|
43078
|
+
],
|
|
43079
|
+
description: "Additional CSS classes"
|
|
43080
|
+
},
|
|
43081
|
+
children: {
|
|
43082
|
+
types: [
|
|
43083
|
+
"node"
|
|
43084
|
+
],
|
|
43085
|
+
description: "children prop"
|
|
43086
|
+
}
|
|
43087
|
+
}
|
|
43088
|
+
},
|
|
43089
|
+
"svg-draw-shape": {
|
|
43090
|
+
type: "svg-draw-shape",
|
|
43091
|
+
category: "game",
|
|
43092
|
+
tier: "atoms",
|
|
43093
|
+
family: "game",
|
|
43094
|
+
description: "SvgDrawShape component",
|
|
43095
|
+
suggestedFor: [
|
|
43096
|
+
"svg",
|
|
43097
|
+
"draw",
|
|
43098
|
+
"shape",
|
|
43099
|
+
"svg draw shape"
|
|
43100
|
+
],
|
|
43101
|
+
typicalSize: "small",
|
|
43102
|
+
propsSchema: {
|
|
43103
|
+
shape: {
|
|
43104
|
+
types: [
|
|
43105
|
+
"string"
|
|
43106
|
+
],
|
|
43107
|
+
description: "shape prop",
|
|
43108
|
+
required: true,
|
|
43109
|
+
enumValues: [
|
|
43110
|
+
"rect",
|
|
43111
|
+
"circle",
|
|
43112
|
+
"ellipse",
|
|
43113
|
+
"polygon",
|
|
43114
|
+
"polyline",
|
|
43115
|
+
"path",
|
|
43116
|
+
"line"
|
|
43117
|
+
]
|
|
43118
|
+
},
|
|
43119
|
+
x: {
|
|
43120
|
+
types: [
|
|
43121
|
+
"number"
|
|
43122
|
+
],
|
|
43123
|
+
description: "Grid-cell x of the element's translated origin.",
|
|
43124
|
+
required: true
|
|
43125
|
+
},
|
|
43126
|
+
y: {
|
|
43127
|
+
types: [
|
|
43128
|
+
"number"
|
|
43129
|
+
],
|
|
43130
|
+
description: "Grid-cell y of the element's translated origin.",
|
|
43131
|
+
required: true
|
|
43132
|
+
},
|
|
43133
|
+
width: {
|
|
43134
|
+
types: [
|
|
43135
|
+
"number"
|
|
43136
|
+
],
|
|
43137
|
+
description: "Rect width in cell units."
|
|
43138
|
+
},
|
|
43139
|
+
height: {
|
|
43140
|
+
types: [
|
|
43141
|
+
"number"
|
|
43142
|
+
],
|
|
43143
|
+
description: "Rect height in cell units."
|
|
43144
|
+
},
|
|
43145
|
+
radius: {
|
|
43146
|
+
types: [
|
|
43147
|
+
"number"
|
|
43148
|
+
],
|
|
43149
|
+
description: "Circle radius / ellipse horizontal radius in cell units."
|
|
43150
|
+
},
|
|
43151
|
+
radiusY: {
|
|
43152
|
+
types: [
|
|
43153
|
+
"number"
|
|
43154
|
+
],
|
|
43155
|
+
description: "Ellipse vertical radius in cell units; omitted \u2192 `radius` (a circle)."
|
|
43156
|
+
},
|
|
43157
|
+
points: {
|
|
43158
|
+
types: [
|
|
43159
|
+
"string"
|
|
43160
|
+
],
|
|
43161
|
+
description: "Polygon/polyline points, viewBox units relative to the translated origin."
|
|
43162
|
+
},
|
|
43163
|
+
d: {
|
|
43164
|
+
types: [
|
|
43165
|
+
"string"
|
|
43166
|
+
],
|
|
43167
|
+
description: "Path data, viewBox units relative to the translated origin."
|
|
43168
|
+
},
|
|
43169
|
+
x2: {
|
|
43170
|
+
types: [
|
|
43171
|
+
"number"
|
|
43172
|
+
],
|
|
43173
|
+
description: "Line end x in cell units."
|
|
43174
|
+
},
|
|
43175
|
+
y2: {
|
|
43176
|
+
types: [
|
|
43177
|
+
"number"
|
|
43178
|
+
],
|
|
43179
|
+
description: "Line end y in cell units."
|
|
43180
|
+
},
|
|
43181
|
+
fill: {
|
|
43182
|
+
types: [
|
|
43183
|
+
"string"
|
|
43184
|
+
],
|
|
43185
|
+
description: "fill prop"
|
|
43186
|
+
},
|
|
43187
|
+
stroke: {
|
|
43188
|
+
types: [
|
|
43189
|
+
"string"
|
|
43190
|
+
],
|
|
43191
|
+
description: "stroke prop"
|
|
43192
|
+
},
|
|
43193
|
+
strokeWidth: {
|
|
43194
|
+
types: [
|
|
43195
|
+
"number"
|
|
43196
|
+
],
|
|
43197
|
+
description: "strokeWidth prop"
|
|
43198
|
+
},
|
|
43199
|
+
opacity: {
|
|
43200
|
+
types: [
|
|
43201
|
+
"number"
|
|
43202
|
+
],
|
|
43203
|
+
description: "0..1 opacity."
|
|
43204
|
+
},
|
|
43205
|
+
className: {
|
|
43206
|
+
types: [
|
|
43207
|
+
"string"
|
|
43208
|
+
],
|
|
43209
|
+
description: "Additional CSS classes"
|
|
43210
|
+
}
|
|
43211
|
+
}
|
|
43212
|
+
},
|
|
43213
|
+
"svg-draw-text": {
|
|
43214
|
+
type: "svg-draw-text",
|
|
43215
|
+
category: "game",
|
|
43216
|
+
tier: "atoms",
|
|
43217
|
+
family: "game",
|
|
43218
|
+
description: "SvgDrawText component",
|
|
43219
|
+
suggestedFor: [
|
|
43220
|
+
"svg",
|
|
43221
|
+
"draw",
|
|
43222
|
+
"text",
|
|
43223
|
+
"svg draw text"
|
|
43224
|
+
],
|
|
43225
|
+
typicalSize: "small",
|
|
43226
|
+
propsSchema: {
|
|
43227
|
+
x: {
|
|
43228
|
+
types: [
|
|
43229
|
+
"number"
|
|
43230
|
+
],
|
|
43231
|
+
description: "Grid-cell x of the text anchor.",
|
|
43232
|
+
required: true
|
|
43233
|
+
},
|
|
43234
|
+
y: {
|
|
43235
|
+
types: [
|
|
43236
|
+
"number"
|
|
43237
|
+
],
|
|
43238
|
+
description: "Grid-cell y of the text anchor.",
|
|
43239
|
+
required: true
|
|
43240
|
+
},
|
|
43241
|
+
text: {
|
|
43242
|
+
types: [
|
|
43243
|
+
"string"
|
|
43244
|
+
],
|
|
43245
|
+
description: "The text content.",
|
|
43246
|
+
required: true
|
|
43247
|
+
},
|
|
43248
|
+
size: {
|
|
43249
|
+
types: [
|
|
43250
|
+
"number"
|
|
43251
|
+
],
|
|
43252
|
+
description: "Font size in viewBox units (default 12).",
|
|
43253
|
+
default: 12
|
|
43254
|
+
},
|
|
43255
|
+
fill: {
|
|
43256
|
+
types: [
|
|
43257
|
+
"string"
|
|
43258
|
+
],
|
|
43259
|
+
description: "fill prop",
|
|
43260
|
+
default: "var(--color-foreground)"
|
|
43261
|
+
},
|
|
43262
|
+
anchor: {
|
|
43263
|
+
types: [
|
|
43264
|
+
"string"
|
|
43265
|
+
],
|
|
43266
|
+
description: "Text anchor (default 'middle').",
|
|
43267
|
+
enumValues: [
|
|
43268
|
+
"start",
|
|
43269
|
+
"middle",
|
|
43270
|
+
"end"
|
|
43271
|
+
],
|
|
43272
|
+
default: "middle"
|
|
43273
|
+
},
|
|
43274
|
+
className: {
|
|
43275
|
+
types: [
|
|
43276
|
+
"string"
|
|
43277
|
+
],
|
|
43278
|
+
description: "Additional CSS classes"
|
|
43279
|
+
}
|
|
43280
|
+
}
|
|
43281
|
+
},
|
|
43282
|
+
"svg-draw-shape-layer": {
|
|
43283
|
+
type: "svg-draw-shape-layer",
|
|
43284
|
+
category: "game",
|
|
43285
|
+
tier: "molecules",
|
|
43286
|
+
family: "game",
|
|
43287
|
+
description: "SvgDrawShapeLayer component",
|
|
43288
|
+
suggestedFor: [
|
|
43289
|
+
"svg",
|
|
43290
|
+
"draw",
|
|
43291
|
+
"shape",
|
|
43292
|
+
"layer",
|
|
43293
|
+
"svg draw shape layer"
|
|
43294
|
+
],
|
|
43295
|
+
typicalSize: "medium",
|
|
43296
|
+
propsSchema: {
|
|
43297
|
+
items: {
|
|
43298
|
+
types: [
|
|
43299
|
+
"array"
|
|
43300
|
+
],
|
|
43301
|
+
description: "items prop",
|
|
43302
|
+
required: true,
|
|
43303
|
+
items: {
|
|
43304
|
+
types: [
|
|
43305
|
+
"object"
|
|
43306
|
+
],
|
|
43307
|
+
properties: {
|
|
43308
|
+
id: {
|
|
43309
|
+
types: [
|
|
43310
|
+
"string"
|
|
43311
|
+
]
|
|
43312
|
+
}
|
|
43313
|
+
},
|
|
43314
|
+
required: [
|
|
43315
|
+
"id"
|
|
43316
|
+
]
|
|
43317
|
+
}
|
|
43318
|
+
},
|
|
43319
|
+
fill: {
|
|
43320
|
+
types: [
|
|
43321
|
+
"string"
|
|
43322
|
+
],
|
|
43323
|
+
description: "Default fill for items that don't set one."
|
|
43324
|
+
},
|
|
43325
|
+
stroke: {
|
|
43326
|
+
types: [
|
|
43327
|
+
"string"
|
|
43328
|
+
],
|
|
43329
|
+
description: "Default stroke for items that don't set one."
|
|
43330
|
+
},
|
|
43331
|
+
strokeWidth: {
|
|
43332
|
+
types: [
|
|
43333
|
+
"number"
|
|
43334
|
+
],
|
|
43335
|
+
description: "Default strokeWidth for items that don't set one."
|
|
43336
|
+
},
|
|
43337
|
+
opacity: {
|
|
43338
|
+
types: [
|
|
43339
|
+
"number"
|
|
43340
|
+
],
|
|
43341
|
+
description: "Default 0..1 opacity for items that don't set one."
|
|
43342
|
+
}
|
|
43343
|
+
}
|
|
43344
|
+
},
|
|
43345
|
+
"svg-stage": {
|
|
43346
|
+
type: "svg-stage",
|
|
43347
|
+
category: "game",
|
|
43348
|
+
tier: "molecules",
|
|
43349
|
+
family: "game",
|
|
43350
|
+
description: "SvgStage component",
|
|
43351
|
+
suggestedFor: [
|
|
43352
|
+
"svg",
|
|
43353
|
+
"stage",
|
|
43354
|
+
"svg stage"
|
|
43355
|
+
],
|
|
43356
|
+
typicalSize: "medium",
|
|
43357
|
+
propsSchema: {
|
|
43358
|
+
cols: {
|
|
43359
|
+
types: [
|
|
43360
|
+
"number"
|
|
43361
|
+
],
|
|
43362
|
+
description: "Grid width in cells.",
|
|
43363
|
+
required: true
|
|
43364
|
+
},
|
|
43365
|
+
rows: {
|
|
43366
|
+
types: [
|
|
43367
|
+
"number"
|
|
43368
|
+
],
|
|
43369
|
+
description: "Grid height in cells.",
|
|
43370
|
+
required: true
|
|
43371
|
+
},
|
|
43372
|
+
tileSize: {
|
|
43373
|
+
types: [
|
|
43374
|
+
"number"
|
|
43375
|
+
],
|
|
43376
|
+
description: "ViewBox units per cell (default 32); viewBox is `0 0 cols*tileSize rows*tileSize`.",
|
|
43377
|
+
default: 32
|
|
43378
|
+
},
|
|
43379
|
+
background: {
|
|
43380
|
+
types: [
|
|
43381
|
+
"string"
|
|
43382
|
+
],
|
|
43383
|
+
description: "Background rect fill (default `var(--color-background)`).",
|
|
43384
|
+
default: "var(--color-background)"
|
|
43385
|
+
},
|
|
43386
|
+
tileClickEvent: {
|
|
43387
|
+
types: [
|
|
43388
|
+
"string"
|
|
43389
|
+
],
|
|
43390
|
+
description: "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer up (<5px drag).",
|
|
43391
|
+
kind: "event-ref",
|
|
43392
|
+
emitPayloadSchema: [
|
|
43393
|
+
{
|
|
43394
|
+
name: "x",
|
|
43395
|
+
type: "number",
|
|
43396
|
+
required: true
|
|
43397
|
+
},
|
|
43398
|
+
{
|
|
43399
|
+
name: "y",
|
|
43400
|
+
type: "number",
|
|
43401
|
+
required: true
|
|
43402
|
+
}
|
|
43403
|
+
]
|
|
43404
|
+
},
|
|
43405
|
+
tileHoverEvent: {
|
|
43406
|
+
types: [
|
|
43407
|
+
"string"
|
|
43408
|
+
],
|
|
43409
|
+
description: "Emitted as `UI:<event>` with `{ x, y }` cell coords on pointer move.",
|
|
43410
|
+
kind: "event-ref",
|
|
43411
|
+
emitPayloadSchema: [
|
|
43412
|
+
{
|
|
43413
|
+
name: "x",
|
|
43414
|
+
type: "number",
|
|
43415
|
+
required: true
|
|
43416
|
+
},
|
|
43417
|
+
{
|
|
43418
|
+
name: "y",
|
|
43419
|
+
type: "number",
|
|
43420
|
+
required: true
|
|
43421
|
+
}
|
|
43422
|
+
]
|
|
43423
|
+
},
|
|
43424
|
+
tileLeaveEvent: {
|
|
43425
|
+
types: [
|
|
43426
|
+
"string"
|
|
43427
|
+
],
|
|
43428
|
+
description: "Emitted as `UI:<event>` with `{}` when the pointer leaves the stage.",
|
|
43429
|
+
kind: "event-ref",
|
|
43430
|
+
emitPayloadSchema: []
|
|
43431
|
+
},
|
|
43432
|
+
keyMap: {
|
|
43433
|
+
types: [
|
|
43434
|
+
"object"
|
|
43435
|
+
],
|
|
43436
|
+
description: "Keyboard \u2192 semantic events: `e.code` \u2192 event name, emitted as `UI:<event>` with `{}`.",
|
|
43437
|
+
mapValue: {
|
|
43438
|
+
types: [
|
|
43439
|
+
"string"
|
|
43440
|
+
]
|
|
43441
|
+
}
|
|
43442
|
+
},
|
|
43443
|
+
keyUpMap: {
|
|
43444
|
+
types: [
|
|
43445
|
+
"object"
|
|
43446
|
+
],
|
|
43447
|
+
description: "Keyup counterpart of `keyMap`.",
|
|
43448
|
+
mapValue: {
|
|
43449
|
+
types: [
|
|
43450
|
+
"string"
|
|
43451
|
+
]
|
|
43452
|
+
}
|
|
43453
|
+
},
|
|
43454
|
+
className: {
|
|
43455
|
+
types: [
|
|
43456
|
+
"string"
|
|
43457
|
+
],
|
|
43458
|
+
description: "Additional CSS classes"
|
|
43459
|
+
},
|
|
43460
|
+
children: {
|
|
43461
|
+
types: [
|
|
43462
|
+
"node"
|
|
43463
|
+
],
|
|
43464
|
+
description: "children prop"
|
|
43465
|
+
}
|
|
43466
|
+
}
|
|
43028
43467
|
}
|
|
43029
43468
|
},
|
|
43030
43469
|
categories: [
|
|
@@ -43946,7 +44385,7 @@ var integrators_registry_default = {
|
|
|
43946
44385
|
// src/patterns/component-mapping.json
|
|
43947
44386
|
var component_mapping_default = {
|
|
43948
44387
|
version: "1.0.0",
|
|
43949
|
-
exportedAt: "2026-07-
|
|
44388
|
+
exportedAt: "2026-07-28T14:48:23.507Z",
|
|
43950
44389
|
mappings: {
|
|
43951
44390
|
"page-header": {
|
|
43952
44391
|
component: "PageHeader",
|
|
@@ -45319,6 +45758,31 @@ var component_mapping_default = {
|
|
|
45319
45758
|
component: "ImportSourcePicker",
|
|
45320
45759
|
importPath: "@/components/core/molecules/ImportSourcePicker",
|
|
45321
45760
|
category: "component"
|
|
45761
|
+
},
|
|
45762
|
+
"svg-draw-group": {
|
|
45763
|
+
component: "SvgDrawGroup",
|
|
45764
|
+
importPath: "@/components/game/atoms/SvgDrawGroup",
|
|
45765
|
+
category: "game"
|
|
45766
|
+
},
|
|
45767
|
+
"svg-draw-shape": {
|
|
45768
|
+
component: "SvgDrawShape",
|
|
45769
|
+
importPath: "@/components/game/atoms/SvgDrawShape",
|
|
45770
|
+
category: "game"
|
|
45771
|
+
},
|
|
45772
|
+
"svg-draw-text": {
|
|
45773
|
+
component: "SvgDrawText",
|
|
45774
|
+
importPath: "@/components/game/atoms/SvgDrawText",
|
|
45775
|
+
category: "game"
|
|
45776
|
+
},
|
|
45777
|
+
"svg-draw-shape-layer": {
|
|
45778
|
+
component: "SvgDrawShapeLayer",
|
|
45779
|
+
importPath: "@/components/game/molecules/SvgDrawShapeLayer",
|
|
45780
|
+
category: "game"
|
|
45781
|
+
},
|
|
45782
|
+
"svg-stage": {
|
|
45783
|
+
component: "SvgStage",
|
|
45784
|
+
importPath: "@/components/game/molecules/SvgStage",
|
|
45785
|
+
category: "game"
|
|
45322
45786
|
}
|
|
45323
45787
|
}
|
|
45324
45788
|
};
|
|
@@ -45326,7 +45790,7 @@ var component_mapping_default = {
|
|
|
45326
45790
|
// src/patterns/event-contracts.json
|
|
45327
45791
|
var event_contracts_default = {
|
|
45328
45792
|
version: "1.0.0",
|
|
45329
|
-
exportedAt: "2026-07-
|
|
45793
|
+
exportedAt: "2026-07-28T14:48:23.507Z",
|
|
45330
45794
|
contracts: {
|
|
45331
45795
|
form: {
|
|
45332
45796
|
emits: [
|
|
@@ -46707,6 +47171,10 @@ var PATTERN_TYPES = [
|
|
|
46707
47171
|
"subagent-trace-panel",
|
|
46708
47172
|
"svg-branch",
|
|
46709
47173
|
"svg-connection",
|
|
47174
|
+
"svg-draw-group",
|
|
47175
|
+
"svg-draw-shape",
|
|
47176
|
+
"svg-draw-shape-layer",
|
|
47177
|
+
"svg-draw-text",
|
|
46710
47178
|
"svg-flow",
|
|
46711
47179
|
"svg-grid",
|
|
46712
47180
|
"svg-lobe",
|
|
@@ -46717,6 +47185,7 @@ var PATTERN_TYPES = [
|
|
|
46717
47185
|
"svg-ring",
|
|
46718
47186
|
"svg-shield",
|
|
46719
47187
|
"svg-stack",
|
|
47188
|
+
"svg-stage",
|
|
46720
47189
|
"swipeable-row",
|
|
46721
47190
|
"switch",
|
|
46722
47191
|
"tabbed-container",
|