@almadar/core 10.75.0 → 10.77.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 +4 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-CK1NMWES.d.ts → effect-BHaHSAvM.d.ts} +1 -1
- package/dist/{entityAccess-B-de_0a8.d.ts → entityAccess-CqqGrG-7.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +4 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-CBxIR1yy.d.ts → index-B8ZQ8lo5.d.ts} +4 -4
- package/dist/index.d.ts +21 -12
- package/dist/index.js +189 -42
- 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 +132 -74
- package/dist/patterns/index.js +54 -36
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +52 -34
- package/dist/patterns/registry.json +52 -34
- package/dist/{schema-DlTrByoG.d.ts → schema-Czlrw3bA.d.ts} +106 -3
- package/dist/{trait-Cm9H3lHN.d.ts → trait-DCmf5iRN.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +16 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-cCAU_Z-5.d.ts → types-Cb51Jqxe.d.ts} +2 -2
- package/package.json +2 -2
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-08-
|
|
6
|
+
exportedAt: "2026-08-31T09:49:17.624Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -239,6 +239,8 @@ var patterns_registry_default = {
|
|
|
239
239
|
"array"
|
|
240
240
|
],
|
|
241
241
|
description: "Item actions from generated code - maps to rowActions",
|
|
242
|
+
kind: "event-list",
|
|
243
|
+
eventField: "event",
|
|
242
244
|
items: {
|
|
243
245
|
types: [
|
|
244
246
|
"object"
|
|
@@ -259,11 +261,6 @@ var patterns_registry_default = {
|
|
|
259
261
|
"string"
|
|
260
262
|
]
|
|
261
263
|
},
|
|
262
|
-
action: {
|
|
263
|
-
types: [
|
|
264
|
-
"string"
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
264
|
placement: {
|
|
268
265
|
types: [
|
|
269
266
|
"string"
|
|
@@ -367,6 +364,8 @@ var patterns_registry_default = {
|
|
|
367
364
|
"array"
|
|
368
365
|
],
|
|
369
366
|
description: "Row actions",
|
|
367
|
+
kind: "event-list",
|
|
368
|
+
eventField: "event",
|
|
370
369
|
items: {
|
|
371
370
|
types: [
|
|
372
371
|
"object"
|
|
@@ -418,6 +417,8 @@ var patterns_registry_default = {
|
|
|
418
417
|
"array"
|
|
419
418
|
],
|
|
420
419
|
description: "Bulk actions",
|
|
420
|
+
kind: "event-list",
|
|
421
|
+
eventField: "event",
|
|
421
422
|
items: {
|
|
422
423
|
types: [
|
|
423
424
|
"object"
|
|
@@ -636,6 +637,8 @@ var patterns_registry_default = {
|
|
|
636
637
|
"array"
|
|
637
638
|
],
|
|
638
639
|
description: "Item actions - schema-driven or function-based",
|
|
640
|
+
kind: "event-list",
|
|
641
|
+
eventField: "event",
|
|
639
642
|
items: {
|
|
640
643
|
types: [
|
|
641
644
|
"object"
|
|
@@ -667,11 +670,6 @@ var patterns_registry_default = {
|
|
|
667
670
|
"footer"
|
|
668
671
|
]
|
|
669
672
|
},
|
|
670
|
-
action: {
|
|
671
|
-
types: [
|
|
672
|
-
"string"
|
|
673
|
-
]
|
|
674
|
-
},
|
|
675
673
|
variant: {
|
|
676
674
|
types: [
|
|
677
675
|
"string"
|
|
@@ -1174,11 +1172,6 @@ var patterns_registry_default = {
|
|
|
1174
1172
|
"function"
|
|
1175
1173
|
]
|
|
1176
1174
|
},
|
|
1177
|
-
action: {
|
|
1178
|
-
types: [
|
|
1179
|
-
"string"
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
1175
|
placement: {
|
|
1183
1176
|
types: [
|
|
1184
1177
|
"string"
|
|
@@ -1491,6 +1484,8 @@ var patterns_registry_default = {
|
|
|
1491
1484
|
"array"
|
|
1492
1485
|
],
|
|
1493
1486
|
description: "Unified actions array - first action with variant='primary' is the main action",
|
|
1487
|
+
kind: "event-list",
|
|
1488
|
+
eventField: "event",
|
|
1494
1489
|
items: {
|
|
1495
1490
|
types: [
|
|
1496
1491
|
"object"
|
|
@@ -1883,6 +1878,8 @@ var patterns_registry_default = {
|
|
|
1883
1878
|
"array"
|
|
1884
1879
|
],
|
|
1885
1880
|
description: "Actions array - first action with variant='primary' (or first action) is the main action",
|
|
1881
|
+
kind: "event-list",
|
|
1882
|
+
eventField: "event",
|
|
1886
1883
|
items: {
|
|
1887
1884
|
types: [
|
|
1888
1885
|
"object"
|
|
@@ -4086,6 +4083,8 @@ var patterns_registry_default = {
|
|
|
4086
4083
|
"array"
|
|
4087
4084
|
],
|
|
4088
4085
|
description: "Tab items",
|
|
4086
|
+
kind: "event-list",
|
|
4087
|
+
eventField: "event",
|
|
4089
4088
|
items: {
|
|
4090
4089
|
types: [
|
|
4091
4090
|
"object"
|
|
@@ -4243,6 +4242,8 @@ var patterns_registry_default = {
|
|
|
4243
4242
|
"array"
|
|
4244
4243
|
],
|
|
4245
4244
|
description: "Tab items (alias for items - used by generated code)",
|
|
4245
|
+
kind: "event-list",
|
|
4246
|
+
eventField: "event",
|
|
4246
4247
|
items: {
|
|
4247
4248
|
types: [
|
|
4248
4249
|
"object"
|
|
@@ -8974,6 +8975,8 @@ var patterns_registry_default = {
|
|
|
8974
8975
|
],
|
|
8975
8976
|
description: "Menu items",
|
|
8976
8977
|
required: true,
|
|
8978
|
+
kind: "event-list",
|
|
8979
|
+
eventField: "event",
|
|
8977
8980
|
items: {
|
|
8978
8981
|
types: [
|
|
8979
8982
|
"object"
|
|
@@ -10370,6 +10373,8 @@ var patterns_registry_default = {
|
|
|
10370
10373
|
"array"
|
|
10371
10374
|
],
|
|
10372
10375
|
description: "Secondary action buttons config (for form-actions pattern) Accepts readonly array for compatibility with generated const arrays",
|
|
10376
|
+
kind: "event-list",
|
|
10377
|
+
eventField: "event",
|
|
10373
10378
|
items: {
|
|
10374
10379
|
types: [
|
|
10375
10380
|
"object"
|
|
@@ -10704,6 +10709,8 @@ var patterns_registry_default = {
|
|
|
10704
10709
|
"array"
|
|
10705
10710
|
],
|
|
10706
10711
|
description: "Multiple actions. When provided, the button expands to show all of them.",
|
|
10712
|
+
kind: "event-list",
|
|
10713
|
+
eventField: "event",
|
|
10707
10714
|
items: {
|
|
10708
10715
|
types: [
|
|
10709
10716
|
"object"
|
|
@@ -13933,6 +13940,8 @@ var patterns_registry_default = {
|
|
|
13933
13940
|
"array"
|
|
13934
13941
|
],
|
|
13935
13942
|
description: "Top-level chart actions (export, refresh, etc.)",
|
|
13943
|
+
kind: "event-list",
|
|
13944
|
+
eventField: "event",
|
|
13936
13945
|
items: {
|
|
13937
13946
|
types: [
|
|
13938
13947
|
"object"
|
|
@@ -14137,6 +14146,8 @@ var patterns_registry_default = {
|
|
|
14137
14146
|
"array"
|
|
14138
14147
|
],
|
|
14139
14148
|
description: "Actions",
|
|
14149
|
+
kind: "event-list",
|
|
14150
|
+
eventField: "event",
|
|
14140
14151
|
items: {
|
|
14141
14152
|
types: [
|
|
14142
14153
|
"object"
|
|
@@ -14674,6 +14685,8 @@ var patterns_registry_default = {
|
|
|
14674
14685
|
"array"
|
|
14675
14686
|
],
|
|
14676
14687
|
description: "Actions",
|
|
14688
|
+
kind: "event-list",
|
|
14689
|
+
eventField: "event",
|
|
14677
14690
|
items: {
|
|
14678
14691
|
types: [
|
|
14679
14692
|
"object"
|
|
@@ -14956,6 +14969,8 @@ var patterns_registry_default = {
|
|
|
14956
14969
|
"array"
|
|
14957
14970
|
],
|
|
14958
14971
|
description: "Actions",
|
|
14972
|
+
kind: "event-list",
|
|
14973
|
+
eventField: "event",
|
|
14959
14974
|
items: {
|
|
14960
14975
|
types: [
|
|
14961
14976
|
"object"
|
|
@@ -15327,6 +15342,8 @@ var patterns_registry_default = {
|
|
|
15327
15342
|
"array"
|
|
15328
15343
|
],
|
|
15329
15344
|
description: "Actions",
|
|
15345
|
+
kind: "event-list",
|
|
15346
|
+
eventField: "event",
|
|
15330
15347
|
items: {
|
|
15331
15348
|
types: [
|
|
15332
15349
|
"object"
|
|
@@ -16240,6 +16257,8 @@ var patterns_registry_default = {
|
|
|
16240
16257
|
"array"
|
|
16241
16258
|
],
|
|
16242
16259
|
description: "Action badges in the toolbar",
|
|
16260
|
+
kind: "event-list",
|
|
16261
|
+
eventField: "event",
|
|
16243
16262
|
items: {
|
|
16244
16263
|
types: [
|
|
16245
16264
|
"object"
|
|
@@ -25908,9 +25927,19 @@ var patterns_registry_default = {
|
|
|
25908
25927
|
kind: "event-ref",
|
|
25909
25928
|
emitPayloadSchema: [
|
|
25910
25929
|
{
|
|
25911
|
-
name: "
|
|
25912
|
-
type: "
|
|
25913
|
-
required:
|
|
25930
|
+
name: "text",
|
|
25931
|
+
type: "string",
|
|
25932
|
+
required: true
|
|
25933
|
+
},
|
|
25934
|
+
{
|
|
25935
|
+
name: "format",
|
|
25936
|
+
type: "string",
|
|
25937
|
+
required: true
|
|
25938
|
+
},
|
|
25939
|
+
{
|
|
25940
|
+
name: "timestamp",
|
|
25941
|
+
type: "number",
|
|
25942
|
+
required: true
|
|
25914
25943
|
}
|
|
25915
25944
|
]
|
|
25916
25945
|
},
|
|
@@ -29963,6 +29992,8 @@ var patterns_registry_default = {
|
|
|
29963
29992
|
"array"
|
|
29964
29993
|
],
|
|
29965
29994
|
description: "Menu options - accepts readonly for compatibility with generated const arrays",
|
|
29995
|
+
kind: "event-list",
|
|
29996
|
+
eventField: "event",
|
|
29966
29997
|
items: {
|
|
29967
29998
|
types: [
|
|
29968
29999
|
"object"
|
|
@@ -30007,11 +30038,6 @@ var patterns_registry_default = {
|
|
|
30007
30038
|
types: [
|
|
30008
30039
|
"string"
|
|
30009
30040
|
]
|
|
30010
|
-
},
|
|
30011
|
-
action: {
|
|
30012
|
-
types: [
|
|
30013
|
-
"string"
|
|
30014
|
-
]
|
|
30015
30041
|
}
|
|
30016
30042
|
},
|
|
30017
30043
|
required: [
|
|
@@ -30024,6 +30050,8 @@ var patterns_registry_default = {
|
|
|
30024
30050
|
"array"
|
|
30025
30051
|
],
|
|
30026
30052
|
description: "Alias for options (schema compatibility)",
|
|
30053
|
+
kind: "event-list",
|
|
30054
|
+
eventField: "event",
|
|
30027
30055
|
items: {
|
|
30028
30056
|
types: [
|
|
30029
30057
|
"object"
|
|
@@ -30068,11 +30096,6 @@ var patterns_registry_default = {
|
|
|
30068
30096
|
types: [
|
|
30069
30097
|
"string"
|
|
30070
30098
|
]
|
|
30071
|
-
},
|
|
30072
|
-
action: {
|
|
30073
|
-
types: [
|
|
30074
|
-
"string"
|
|
30075
|
-
]
|
|
30076
30099
|
}
|
|
30077
30100
|
},
|
|
30078
30101
|
required: [
|
|
@@ -30134,11 +30157,6 @@ var patterns_registry_default = {
|
|
|
30134
30157
|
types: [
|
|
30135
30158
|
"string"
|
|
30136
30159
|
]
|
|
30137
|
-
},
|
|
30138
|
-
action: {
|
|
30139
|
-
types: [
|
|
30140
|
-
"string"
|
|
30141
|
-
]
|
|
30142
30160
|
}
|
|
30143
30161
|
},
|
|
30144
30162
|
required: [
|
|
@@ -51092,7 +51110,7 @@ var integrators_registry_default = {
|
|
|
51092
51110
|
// src/patterns/component-mapping.json
|
|
51093
51111
|
var component_mapping_default = {
|
|
51094
51112
|
version: "1.0.0",
|
|
51095
|
-
exportedAt: "2026-08-
|
|
51113
|
+
exportedAt: "2026-08-31T09:49:17.624Z",
|
|
51096
51114
|
mappings: {
|
|
51097
51115
|
"page-header": {
|
|
51098
51116
|
component: "PageHeader",
|
|
@@ -52512,7 +52530,7 @@ var component_mapping_default = {
|
|
|
52512
52530
|
// src/patterns/event-contracts.json
|
|
52513
52531
|
var event_contracts_default = {
|
|
52514
52532
|
version: "1.0.0",
|
|
52515
|
-
exportedAt: "2026-08-
|
|
52533
|
+
exportedAt: "2026-08-31T09:49:17.624Z",
|
|
52516
52534
|
contracts: {
|
|
52517
52535
|
form: {
|
|
52518
52536
|
emits: [
|