@almadar/core 10.28.0 → 10.29.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-BN3WLFYM.d.ts → builders-DcBjE_Uw.d.ts} +308 -2306
- package/dist/builders.d.ts +4 -4
- package/dist/builders.js +23 -7
- package/dist/builders.js.map +1 -1
- package/dist/{expression-C6X4A8L7.d.ts → expression-CB9R3KWk.d.ts} +4 -1
- package/dist/factory/index.d.ts +5 -5
- package/dist/factory-runtime/index.d.ts +21 -5
- package/dist/factory-runtime/index.js +85 -9
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +50 -10
- package/dist/index.js +631 -24
- package/dist/index.js.map +1 -1
- package/dist/pattern-types-JZordBZv.d.ts +4635 -0
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +1003 -24
- package/dist/patterns/index.js +460 -13
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +458 -11
- package/dist/patterns/registry.json +458 -11
- package/dist/state-machine/index.d.ts +1 -1
- package/dist/{trait-DZkS625T.d.ts → trait-B_CzfDSi.d.ts} +187 -643
- package/dist/types/index.d.ts +17 -12
- package/dist/types/index.js +69 -12
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DFn3sWpV.d.ts → types-CGC5A1-T.d.ts} +45 -2
- package/package.json +1 -1
- package/src/types/bindings.ts +8 -2
- package/dist/pattern-types-BeQXwgpZ.d.ts +0 -4584
package/dist/patterns/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-07-
|
|
4
|
+
exportedAt: "2026-07-13T15:27:57.365Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -10350,6 +10350,144 @@ var patterns_registry_default = {
|
|
|
10350
10350
|
],
|
|
10351
10351
|
typicalSize: "medium",
|
|
10352
10352
|
propsSchema: {
|
|
10353
|
+
className: {
|
|
10354
|
+
types: [
|
|
10355
|
+
"string"
|
|
10356
|
+
],
|
|
10357
|
+
description: "Additional CSS classes"
|
|
10358
|
+
},
|
|
10359
|
+
placeholder: {
|
|
10360
|
+
types: [
|
|
10361
|
+
"string"
|
|
10362
|
+
],
|
|
10363
|
+
description: "Placeholder text"
|
|
10364
|
+
},
|
|
10365
|
+
value: {
|
|
10366
|
+
types: [
|
|
10367
|
+
"string",
|
|
10368
|
+
"number"
|
|
10369
|
+
],
|
|
10370
|
+
description: "Current value"
|
|
10371
|
+
},
|
|
10372
|
+
disabled: {
|
|
10373
|
+
types: [
|
|
10374
|
+
"boolean"
|
|
10375
|
+
],
|
|
10376
|
+
description: "Whether input is disabled"
|
|
10377
|
+
},
|
|
10378
|
+
action: {
|
|
10379
|
+
types: [
|
|
10380
|
+
"string"
|
|
10381
|
+
],
|
|
10382
|
+
description: "Declarative event name for trait dispatch",
|
|
10383
|
+
kind: "event"
|
|
10384
|
+
},
|
|
10385
|
+
inputType: {
|
|
10386
|
+
types: [
|
|
10387
|
+
"string"
|
|
10388
|
+
],
|
|
10389
|
+
description: "Input type - supports 'select' and 'textarea' in addition to standard types",
|
|
10390
|
+
enumValues: [
|
|
10391
|
+
"text",
|
|
10392
|
+
"email",
|
|
10393
|
+
"password",
|
|
10394
|
+
"number",
|
|
10395
|
+
"tel",
|
|
10396
|
+
"url",
|
|
10397
|
+
"search",
|
|
10398
|
+
"date",
|
|
10399
|
+
"datetime-local",
|
|
10400
|
+
"time",
|
|
10401
|
+
"checkbox",
|
|
10402
|
+
"select",
|
|
10403
|
+
"textarea"
|
|
10404
|
+
]
|
|
10405
|
+
},
|
|
10406
|
+
label: {
|
|
10407
|
+
types: [
|
|
10408
|
+
"string"
|
|
10409
|
+
],
|
|
10410
|
+
description: "label prop"
|
|
10411
|
+
},
|
|
10412
|
+
helperText: {
|
|
10413
|
+
types: [
|
|
10414
|
+
"string"
|
|
10415
|
+
],
|
|
10416
|
+
description: "helperText prop"
|
|
10417
|
+
},
|
|
10418
|
+
error: {
|
|
10419
|
+
types: [
|
|
10420
|
+
"string"
|
|
10421
|
+
],
|
|
10422
|
+
description: "error prop"
|
|
10423
|
+
},
|
|
10424
|
+
leftIcon: {
|
|
10425
|
+
types: [
|
|
10426
|
+
"icon",
|
|
10427
|
+
"string"
|
|
10428
|
+
],
|
|
10429
|
+
description: "leftIcon prop"
|
|
10430
|
+
},
|
|
10431
|
+
rightIcon: {
|
|
10432
|
+
types: [
|
|
10433
|
+
"icon",
|
|
10434
|
+
"string"
|
|
10435
|
+
],
|
|
10436
|
+
description: "rightIcon prop"
|
|
10437
|
+
},
|
|
10438
|
+
clearable: {
|
|
10439
|
+
types: [
|
|
10440
|
+
"boolean"
|
|
10441
|
+
],
|
|
10442
|
+
description: "Show clear button when input has value"
|
|
10443
|
+
},
|
|
10444
|
+
onClear: {
|
|
10445
|
+
types: [
|
|
10446
|
+
"function",
|
|
10447
|
+
"string"
|
|
10448
|
+
],
|
|
10449
|
+
description: "Callback or declarative event key when clear button is clicked"
|
|
10450
|
+
},
|
|
10451
|
+
options: {
|
|
10452
|
+
types: [
|
|
10453
|
+
"array"
|
|
10454
|
+
],
|
|
10455
|
+
description: "Options for select type",
|
|
10456
|
+
items: {
|
|
10457
|
+
types: [
|
|
10458
|
+
"object"
|
|
10459
|
+
],
|
|
10460
|
+
properties: {
|
|
10461
|
+
value: {
|
|
10462
|
+
types: [
|
|
10463
|
+
"string"
|
|
10464
|
+
]
|
|
10465
|
+
},
|
|
10466
|
+
label: {
|
|
10467
|
+
types: [
|
|
10468
|
+
"string"
|
|
10469
|
+
]
|
|
10470
|
+
}
|
|
10471
|
+
},
|
|
10472
|
+
required: [
|
|
10473
|
+
"value",
|
|
10474
|
+
"label"
|
|
10475
|
+
]
|
|
10476
|
+
}
|
|
10477
|
+
},
|
|
10478
|
+
rows: {
|
|
10479
|
+
types: [
|
|
10480
|
+
"number"
|
|
10481
|
+
],
|
|
10482
|
+
description: "Rows for textarea type"
|
|
10483
|
+
},
|
|
10484
|
+
onChange: {
|
|
10485
|
+
types: [
|
|
10486
|
+
"function",
|
|
10487
|
+
"string"
|
|
10488
|
+
],
|
|
10489
|
+
description: "onChange handler or declarative event key for trait dispatch"
|
|
10490
|
+
},
|
|
10353
10491
|
leftAddon: {
|
|
10354
10492
|
types: [
|
|
10355
10493
|
"node",
|
|
@@ -10363,12 +10501,6 @@ var patterns_registry_default = {
|
|
|
10363
10501
|
"icon"
|
|
10364
10502
|
],
|
|
10365
10503
|
description: "Right addon (icon, button, or text)"
|
|
10366
|
-
},
|
|
10367
|
-
className: {
|
|
10368
|
-
types: [
|
|
10369
|
-
"string"
|
|
10370
|
-
],
|
|
10371
|
-
description: "Additional CSS classes"
|
|
10372
10504
|
}
|
|
10373
10505
|
}
|
|
10374
10506
|
},
|
|
@@ -34893,7 +35025,159 @@ var patterns_registry_default = {
|
|
|
34893
35025
|
"v stack"
|
|
34894
35026
|
],
|
|
34895
35027
|
typicalSize: "small",
|
|
34896
|
-
propsSchema: {
|
|
35028
|
+
propsSchema: {
|
|
35029
|
+
gap: {
|
|
35030
|
+
types: [
|
|
35031
|
+
"string"
|
|
35032
|
+
],
|
|
35033
|
+
description: "Gap between children",
|
|
35034
|
+
enumValues: [
|
|
35035
|
+
"none",
|
|
35036
|
+
"xs",
|
|
35037
|
+
"sm",
|
|
35038
|
+
"md",
|
|
35039
|
+
"lg",
|
|
35040
|
+
"xl",
|
|
35041
|
+
"2xl"
|
|
35042
|
+
],
|
|
35043
|
+
default: "md"
|
|
35044
|
+
},
|
|
35045
|
+
align: {
|
|
35046
|
+
types: [
|
|
35047
|
+
"string"
|
|
35048
|
+
],
|
|
35049
|
+
description: "Align items on the cross axis",
|
|
35050
|
+
enumValues: [
|
|
35051
|
+
"start",
|
|
35052
|
+
"center",
|
|
35053
|
+
"end",
|
|
35054
|
+
"stretch",
|
|
35055
|
+
"baseline"
|
|
35056
|
+
],
|
|
35057
|
+
default: "stretch"
|
|
35058
|
+
},
|
|
35059
|
+
justify: {
|
|
35060
|
+
types: [
|
|
35061
|
+
"string"
|
|
35062
|
+
],
|
|
35063
|
+
description: "Justify items on the main axis",
|
|
35064
|
+
enumValues: [
|
|
35065
|
+
"start",
|
|
35066
|
+
"center",
|
|
35067
|
+
"end",
|
|
35068
|
+
"between",
|
|
35069
|
+
"around",
|
|
35070
|
+
"evenly"
|
|
35071
|
+
],
|
|
35072
|
+
default: "start"
|
|
35073
|
+
},
|
|
35074
|
+
wrap: {
|
|
35075
|
+
types: [
|
|
35076
|
+
"boolean"
|
|
35077
|
+
],
|
|
35078
|
+
description: "Allow items to wrap",
|
|
35079
|
+
default: false
|
|
35080
|
+
},
|
|
35081
|
+
reverse: {
|
|
35082
|
+
types: [
|
|
35083
|
+
"boolean"
|
|
35084
|
+
],
|
|
35085
|
+
description: "Reverse the order of children",
|
|
35086
|
+
default: false
|
|
35087
|
+
},
|
|
35088
|
+
flex: {
|
|
35089
|
+
types: [
|
|
35090
|
+
"boolean"
|
|
35091
|
+
],
|
|
35092
|
+
description: "Fill available space (flex: 1)",
|
|
35093
|
+
default: false
|
|
35094
|
+
},
|
|
35095
|
+
className: {
|
|
35096
|
+
types: [
|
|
35097
|
+
"string"
|
|
35098
|
+
],
|
|
35099
|
+
description: "Custom class name"
|
|
35100
|
+
},
|
|
35101
|
+
style: {
|
|
35102
|
+
types: [
|
|
35103
|
+
"object"
|
|
35104
|
+
],
|
|
35105
|
+
description: "Inline styles"
|
|
35106
|
+
},
|
|
35107
|
+
children: {
|
|
35108
|
+
types: [
|
|
35109
|
+
"node"
|
|
35110
|
+
],
|
|
35111
|
+
description: "Children elements"
|
|
35112
|
+
},
|
|
35113
|
+
as: {
|
|
35114
|
+
types: [
|
|
35115
|
+
"component"
|
|
35116
|
+
],
|
|
35117
|
+
description: "HTML element to render as"
|
|
35118
|
+
},
|
|
35119
|
+
onClick: {
|
|
35120
|
+
types: [
|
|
35121
|
+
"function"
|
|
35122
|
+
],
|
|
35123
|
+
description: "Click handler",
|
|
35124
|
+
kind: "callback",
|
|
35125
|
+
callbackArgs: [
|
|
35126
|
+
{
|
|
35127
|
+
name: "e",
|
|
35128
|
+
type: "object"
|
|
35129
|
+
}
|
|
35130
|
+
],
|
|
35131
|
+
nonEmittable: true
|
|
35132
|
+
},
|
|
35133
|
+
onKeyDown: {
|
|
35134
|
+
types: [
|
|
35135
|
+
"function"
|
|
35136
|
+
],
|
|
35137
|
+
description: "Keyboard handler",
|
|
35138
|
+
kind: "callback",
|
|
35139
|
+
callbackArgs: [
|
|
35140
|
+
{
|
|
35141
|
+
name: "e",
|
|
35142
|
+
type: "object"
|
|
35143
|
+
}
|
|
35144
|
+
],
|
|
35145
|
+
nonEmittable: true
|
|
35146
|
+
},
|
|
35147
|
+
role: {
|
|
35148
|
+
types: [
|
|
35149
|
+
"string"
|
|
35150
|
+
],
|
|
35151
|
+
description: "Role for accessibility"
|
|
35152
|
+
},
|
|
35153
|
+
tabIndex: {
|
|
35154
|
+
types: [
|
|
35155
|
+
"number"
|
|
35156
|
+
],
|
|
35157
|
+
description: "Tab index for focus management"
|
|
35158
|
+
},
|
|
35159
|
+
action: {
|
|
35160
|
+
types: [
|
|
35161
|
+
"string"
|
|
35162
|
+
],
|
|
35163
|
+
description: "Declarative event name \u2014 emits UI:{action} via eventBus on click",
|
|
35164
|
+
kind: "event"
|
|
35165
|
+
},
|
|
35166
|
+
actionPayload: {
|
|
35167
|
+
types: [
|
|
35168
|
+
"object"
|
|
35169
|
+
],
|
|
35170
|
+
description: "Payload to include with the action event",
|
|
35171
|
+
freeform: true
|
|
35172
|
+
},
|
|
35173
|
+
responsive: {
|
|
35174
|
+
types: [
|
|
35175
|
+
"boolean"
|
|
35176
|
+
],
|
|
35177
|
+
description: "When true, horizontal stacks flip to vertical below the md breakpoint (768px)",
|
|
35178
|
+
default: false
|
|
35179
|
+
}
|
|
35180
|
+
}
|
|
34897
35181
|
},
|
|
34898
35182
|
hstack: {
|
|
34899
35183
|
type: "hstack",
|
|
@@ -34906,7 +35190,159 @@ var patterns_registry_default = {
|
|
|
34906
35190
|
"h stack"
|
|
34907
35191
|
],
|
|
34908
35192
|
typicalSize: "small",
|
|
34909
|
-
propsSchema: {
|
|
35193
|
+
propsSchema: {
|
|
35194
|
+
gap: {
|
|
35195
|
+
types: [
|
|
35196
|
+
"string"
|
|
35197
|
+
],
|
|
35198
|
+
description: "Gap between children",
|
|
35199
|
+
enumValues: [
|
|
35200
|
+
"none",
|
|
35201
|
+
"xs",
|
|
35202
|
+
"sm",
|
|
35203
|
+
"md",
|
|
35204
|
+
"lg",
|
|
35205
|
+
"xl",
|
|
35206
|
+
"2xl"
|
|
35207
|
+
],
|
|
35208
|
+
default: "md"
|
|
35209
|
+
},
|
|
35210
|
+
align: {
|
|
35211
|
+
types: [
|
|
35212
|
+
"string"
|
|
35213
|
+
],
|
|
35214
|
+
description: "Align items on the cross axis",
|
|
35215
|
+
enumValues: [
|
|
35216
|
+
"start",
|
|
35217
|
+
"center",
|
|
35218
|
+
"end",
|
|
35219
|
+
"stretch",
|
|
35220
|
+
"baseline"
|
|
35221
|
+
],
|
|
35222
|
+
default: "stretch"
|
|
35223
|
+
},
|
|
35224
|
+
justify: {
|
|
35225
|
+
types: [
|
|
35226
|
+
"string"
|
|
35227
|
+
],
|
|
35228
|
+
description: "Justify items on the main axis",
|
|
35229
|
+
enumValues: [
|
|
35230
|
+
"start",
|
|
35231
|
+
"center",
|
|
35232
|
+
"end",
|
|
35233
|
+
"between",
|
|
35234
|
+
"around",
|
|
35235
|
+
"evenly"
|
|
35236
|
+
],
|
|
35237
|
+
default: "start"
|
|
35238
|
+
},
|
|
35239
|
+
wrap: {
|
|
35240
|
+
types: [
|
|
35241
|
+
"boolean"
|
|
35242
|
+
],
|
|
35243
|
+
description: "Allow items to wrap",
|
|
35244
|
+
default: false
|
|
35245
|
+
},
|
|
35246
|
+
reverse: {
|
|
35247
|
+
types: [
|
|
35248
|
+
"boolean"
|
|
35249
|
+
],
|
|
35250
|
+
description: "Reverse the order of children",
|
|
35251
|
+
default: false
|
|
35252
|
+
},
|
|
35253
|
+
flex: {
|
|
35254
|
+
types: [
|
|
35255
|
+
"boolean"
|
|
35256
|
+
],
|
|
35257
|
+
description: "Fill available space (flex: 1)",
|
|
35258
|
+
default: false
|
|
35259
|
+
},
|
|
35260
|
+
className: {
|
|
35261
|
+
types: [
|
|
35262
|
+
"string"
|
|
35263
|
+
],
|
|
35264
|
+
description: "Custom class name"
|
|
35265
|
+
},
|
|
35266
|
+
style: {
|
|
35267
|
+
types: [
|
|
35268
|
+
"object"
|
|
35269
|
+
],
|
|
35270
|
+
description: "Inline styles"
|
|
35271
|
+
},
|
|
35272
|
+
children: {
|
|
35273
|
+
types: [
|
|
35274
|
+
"node"
|
|
35275
|
+
],
|
|
35276
|
+
description: "Children elements"
|
|
35277
|
+
},
|
|
35278
|
+
as: {
|
|
35279
|
+
types: [
|
|
35280
|
+
"component"
|
|
35281
|
+
],
|
|
35282
|
+
description: "HTML element to render as"
|
|
35283
|
+
},
|
|
35284
|
+
onClick: {
|
|
35285
|
+
types: [
|
|
35286
|
+
"function"
|
|
35287
|
+
],
|
|
35288
|
+
description: "Click handler",
|
|
35289
|
+
kind: "callback",
|
|
35290
|
+
callbackArgs: [
|
|
35291
|
+
{
|
|
35292
|
+
name: "e",
|
|
35293
|
+
type: "object"
|
|
35294
|
+
}
|
|
35295
|
+
],
|
|
35296
|
+
nonEmittable: true
|
|
35297
|
+
},
|
|
35298
|
+
onKeyDown: {
|
|
35299
|
+
types: [
|
|
35300
|
+
"function"
|
|
35301
|
+
],
|
|
35302
|
+
description: "Keyboard handler",
|
|
35303
|
+
kind: "callback",
|
|
35304
|
+
callbackArgs: [
|
|
35305
|
+
{
|
|
35306
|
+
name: "e",
|
|
35307
|
+
type: "object"
|
|
35308
|
+
}
|
|
35309
|
+
],
|
|
35310
|
+
nonEmittable: true
|
|
35311
|
+
},
|
|
35312
|
+
role: {
|
|
35313
|
+
types: [
|
|
35314
|
+
"string"
|
|
35315
|
+
],
|
|
35316
|
+
description: "Role for accessibility"
|
|
35317
|
+
},
|
|
35318
|
+
tabIndex: {
|
|
35319
|
+
types: [
|
|
35320
|
+
"number"
|
|
35321
|
+
],
|
|
35322
|
+
description: "Tab index for focus management"
|
|
35323
|
+
},
|
|
35324
|
+
action: {
|
|
35325
|
+
types: [
|
|
35326
|
+
"string"
|
|
35327
|
+
],
|
|
35328
|
+
description: "Declarative event name \u2014 emits UI:{action} via eventBus on click",
|
|
35329
|
+
kind: "event"
|
|
35330
|
+
},
|
|
35331
|
+
actionPayload: {
|
|
35332
|
+
types: [
|
|
35333
|
+
"object"
|
|
35334
|
+
],
|
|
35335
|
+
description: "Payload to include with the action event",
|
|
35336
|
+
freeform: true
|
|
35337
|
+
},
|
|
35338
|
+
responsive: {
|
|
35339
|
+
types: [
|
|
35340
|
+
"boolean"
|
|
35341
|
+
],
|
|
35342
|
+
description: "When true, horizontal stacks flip to vertical below the md breakpoint (768px)",
|
|
35343
|
+
default: false
|
|
35344
|
+
}
|
|
35345
|
+
}
|
|
34910
35346
|
},
|
|
34911
35347
|
"form-layout": {
|
|
34912
35348
|
type: "form-layout",
|
|
@@ -38385,13 +38821,13 @@ var patterns_registry_default = {
|
|
|
38385
38821
|
types: [
|
|
38386
38822
|
"number"
|
|
38387
38823
|
],
|
|
38388
|
-
description: "Draw width in
|
|
38824
|
+
description: "Draw width in world units (fractions of `projector.tileWidth`); omitted \u2192 resolved source width in px."
|
|
38389
38825
|
},
|
|
38390
38826
|
height: {
|
|
38391
38827
|
types: [
|
|
38392
38828
|
"number"
|
|
38393
38829
|
],
|
|
38394
|
-
description: "Draw height in
|
|
38830
|
+
description: "Draw height in world units (fractions of `projector.tileWidth`); omitted \u2192 resolved source height in px."
|
|
38395
38831
|
},
|
|
38396
38832
|
frame: {
|
|
38397
38833
|
types: [
|
|
@@ -38399,6 +38835,12 @@ var patterns_registry_default = {
|
|
|
38399
38835
|
],
|
|
38400
38836
|
description: "Explicit atlas sub-rect override (px); omitted \u2192 resolved from `asset.atlas`/`asset.sprite`."
|
|
38401
38837
|
},
|
|
38838
|
+
animation: {
|
|
38839
|
+
types: [
|
|
38840
|
+
"string"
|
|
38841
|
+
],
|
|
38842
|
+
description: "Named GLB animation clip to play (3D backend only; the 2D painter animates via `frame`). Matched case-insensitively against the model's clips."
|
|
38843
|
+
},
|
|
38402
38844
|
flipX: {
|
|
38403
38845
|
types: [
|
|
38404
38846
|
"boolean"
|
|
@@ -38876,6 +39318,11 @@ var patterns_registry_default = {
|
|
|
38876
39318
|
"object"
|
|
38877
39319
|
]
|
|
38878
39320
|
},
|
|
39321
|
+
animation: {
|
|
39322
|
+
types: [
|
|
39323
|
+
"string"
|
|
39324
|
+
]
|
|
39325
|
+
},
|
|
38879
39326
|
flipX: {
|
|
38880
39327
|
types: [
|
|
38881
39328
|
"boolean"
|
|
@@ -40002,7 +40449,7 @@ var integrators_registry_default = {
|
|
|
40002
40449
|
// src/patterns/component-mapping.json
|
|
40003
40450
|
var component_mapping_default = {
|
|
40004
40451
|
version: "1.0.0",
|
|
40005
|
-
exportedAt: "2026-07-
|
|
40452
|
+
exportedAt: "2026-07-13T15:27:57.365Z",
|
|
40006
40453
|
mappings: {
|
|
40007
40454
|
"page-header": {
|
|
40008
40455
|
component: "PageHeader",
|
|
@@ -41357,7 +41804,7 @@ var component_mapping_default = {
|
|
|
41357
41804
|
// src/patterns/event-contracts.json
|
|
41358
41805
|
var event_contracts_default = {
|
|
41359
41806
|
version: "1.0.0",
|
|
41360
|
-
exportedAt: "2026-07-
|
|
41807
|
+
exportedAt: "2026-07-13T15:27:57.365Z",
|
|
41361
41808
|
contracts: {
|
|
41362
41809
|
form: {
|
|
41363
41810
|
emits: [
|