@almadar/core 10.92.0 → 10.93.1
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/{effect-DGa2ixo7.d.ts → effect-BnSE0gKt.d.ts} +22 -3
- package/dist/{entityAccess-CXennIKj.d.ts → entityAccess-DtWseAgf.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +190 -7
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/{index-BFortVj8.d.ts → index-CWArRU6P.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +199 -10
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +457 -12
- package/dist/patterns/index.js +199 -10
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +191 -8
- package/dist/patterns/registry.json +191 -8
- package/dist/{schema-DIL07Bmv.d.ts → schema-DFmFFcLs.d.ts} +2 -2
- package/dist/{trait-DHb48lyx.d.ts → trait-DSMzclmJ.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-F5EPwMor.d.ts → types-DzkFdgNJ.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-16T03:44:41.117Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -8581,6 +8581,7 @@ var patterns_registry_default = {
|
|
|
8581
8581
|
textarea: {
|
|
8582
8582
|
type: "textarea",
|
|
8583
8583
|
category: "component",
|
|
8584
|
+
sourceFile: "components/core/atoms/Textarea.tsx",
|
|
8584
8585
|
tier: "atoms",
|
|
8585
8586
|
family: "core",
|
|
8586
8587
|
description: "Multi-line text input",
|
|
@@ -8613,7 +8614,7 @@ var patterns_registry_default = {
|
|
|
8613
8614
|
types: [
|
|
8614
8615
|
"string"
|
|
8615
8616
|
],
|
|
8616
|
-
description: "Declarative event
|
|
8617
|
+
description: "Declarative event: fires on \u2318/Ctrl+Enter with `{ value }`.",
|
|
8617
8618
|
kind: "event"
|
|
8618
8619
|
},
|
|
8619
8620
|
error: {
|
|
@@ -39186,7 +39187,7 @@ var patterns_registry_default = {
|
|
|
39186
39187
|
types: [
|
|
39187
39188
|
"object"
|
|
39188
39189
|
],
|
|
39189
|
-
description: "Maps a keydown `e.code` \
|
|
39190
|
+
description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
39190
39191
|
kind: "event-map",
|
|
39191
39192
|
mapValue: {
|
|
39192
39193
|
types: [
|
|
@@ -39199,7 +39200,7 @@ var patterns_registry_default = {
|
|
|
39199
39200
|
types: [
|
|
39200
39201
|
"object"
|
|
39201
39202
|
],
|
|
39202
|
-
description: "Maps a keyup `e.code` \
|
|
39203
|
+
description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
39203
39204
|
kind: "event-map",
|
|
39204
39205
|
mapValue: {
|
|
39205
39206
|
types: [
|
|
@@ -44664,7 +44665,7 @@ var patterns_registry_default = {
|
|
|
44664
44665
|
types: [
|
|
44665
44666
|
"object"
|
|
44666
44667
|
],
|
|
44667
|
-
description: "Maps a keydown `e.code` \
|
|
44668
|
+
description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}` \u2014 same contract as the game canvas keyMap; keystrokes inside inputs/textareas never route.",
|
|
44668
44669
|
kind: "event-map",
|
|
44669
44670
|
mapValue: {
|
|
44670
44671
|
types: [
|
|
@@ -44677,7 +44678,7 @@ var patterns_registry_default = {
|
|
|
44677
44678
|
types: [
|
|
44678
44679
|
"object"
|
|
44679
44680
|
],
|
|
44680
|
-
description: "Maps a keyup `e.code` \
|
|
44681
|
+
description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
44681
44682
|
kind: "event-map",
|
|
44682
44683
|
mapValue: {
|
|
44683
44684
|
types: [
|
|
@@ -50432,7 +50433,7 @@ var patterns_registry_default = {
|
|
|
50432
50433
|
types: [
|
|
50433
50434
|
"object"
|
|
50434
50435
|
],
|
|
50435
|
-
description: "
|
|
50436
|
+
description: "Maps a keydown `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event (device-agnostic input), emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
50436
50437
|
kind: "event-map",
|
|
50437
50438
|
mapValue: {
|
|
50438
50439
|
types: [
|
|
@@ -50445,7 +50446,7 @@ var patterns_registry_default = {
|
|
|
50445
50446
|
types: [
|
|
50446
50447
|
"object"
|
|
50447
50448
|
],
|
|
50448
|
-
description: "
|
|
50449
|
+
description: "Maps a keyup `e.code` \u2014 optionally prefixed `Mod+` (\u2318/Ctrl), `Shift+`, `Alt+` in that order \u2014 to the board's SEMANTIC event, emitted as `UI:{event}`; keystrokes inside inputs/textareas never route.",
|
|
50449
50450
|
kind: "event-map",
|
|
50450
50451
|
mapValue: {
|
|
50451
50452
|
types: [
|
|
@@ -54516,6 +54517,188 @@ var patterns_registry_default = {
|
|
|
54516
54517
|
}
|
|
54517
54518
|
},
|
|
54518
54519
|
drawable: true
|
|
54520
|
+
},
|
|
54521
|
+
gantt: {
|
|
54522
|
+
type: "gantt",
|
|
54523
|
+
category: "component",
|
|
54524
|
+
sourceFile: "components/core/molecules/Gantt.tsx",
|
|
54525
|
+
tier: "molecules",
|
|
54526
|
+
family: "core",
|
|
54527
|
+
description: "Gantt \u2014 view-only task schedule rendering rows as bars on a day axis.",
|
|
54528
|
+
capabilities: "gantt chart, project timeline, schedule view, task bars, dependency arrows, roadmap, milestone plan",
|
|
54529
|
+
fieldsContract: "display",
|
|
54530
|
+
suggestedFor: [
|
|
54531
|
+
"gantt"
|
|
54532
|
+
],
|
|
54533
|
+
typicalSize: "medium",
|
|
54534
|
+
propsSchema: {
|
|
54535
|
+
tasks: {
|
|
54536
|
+
types: [
|
|
54537
|
+
"object",
|
|
54538
|
+
"array"
|
|
54539
|
+
],
|
|
54540
|
+
description: 'Schema entity data \u2014 the task rows to place on the axis. pattern-sync tags it `kind:"entity", cardinality:"collection"` so consumers bind the domain entity without name-matching the prop.',
|
|
54541
|
+
kind: "entity",
|
|
54542
|
+
cardinality: "collection",
|
|
54543
|
+
default: []
|
|
54544
|
+
},
|
|
54545
|
+
links: {
|
|
54546
|
+
types: [
|
|
54547
|
+
"array"
|
|
54548
|
+
],
|
|
54549
|
+
description: "Dependency arrows between task ids",
|
|
54550
|
+
items: {
|
|
54551
|
+
types: [
|
|
54552
|
+
"object"
|
|
54553
|
+
],
|
|
54554
|
+
properties: {
|
|
54555
|
+
from: {
|
|
54556
|
+
types: [
|
|
54557
|
+
"string"
|
|
54558
|
+
]
|
|
54559
|
+
},
|
|
54560
|
+
to: {
|
|
54561
|
+
types: [
|
|
54562
|
+
"string"
|
|
54563
|
+
]
|
|
54564
|
+
}
|
|
54565
|
+
},
|
|
54566
|
+
required: [
|
|
54567
|
+
"from",
|
|
54568
|
+
"to"
|
|
54569
|
+
]
|
|
54570
|
+
},
|
|
54571
|
+
default: []
|
|
54572
|
+
},
|
|
54573
|
+
titleField: {
|
|
54574
|
+
types: [
|
|
54575
|
+
"string"
|
|
54576
|
+
],
|
|
54577
|
+
description: "Row field holding the bar label. Defaults to `title`.",
|
|
54578
|
+
default: "title"
|
|
54579
|
+
},
|
|
54580
|
+
startField: {
|
|
54581
|
+
types: [
|
|
54582
|
+
"string"
|
|
54583
|
+
],
|
|
54584
|
+
description: "Row field holding the start timestamp (ISO or epoch). Defaults to `start`.",
|
|
54585
|
+
default: "start"
|
|
54586
|
+
},
|
|
54587
|
+
endField: {
|
|
54588
|
+
types: [
|
|
54589
|
+
"string"
|
|
54590
|
+
],
|
|
54591
|
+
description: "Row field holding the end timestamp (ISO or epoch). Defaults to `end`. When absent, `durationField` (days) is used instead.",
|
|
54592
|
+
default: "end"
|
|
54593
|
+
},
|
|
54594
|
+
durationField: {
|
|
54595
|
+
types: [
|
|
54596
|
+
"string"
|
|
54597
|
+
],
|
|
54598
|
+
description: "Row field holding the task length in days, used when the row has no end."
|
|
54599
|
+
},
|
|
54600
|
+
statusField: {
|
|
54601
|
+
types: [
|
|
54602
|
+
"string"
|
|
54603
|
+
],
|
|
54604
|
+
description: "Row field holding the bar status (drives bar colour). Defaults to `status`.",
|
|
54605
|
+
default: "status"
|
|
54606
|
+
},
|
|
54607
|
+
groupField: {
|
|
54608
|
+
types: [
|
|
54609
|
+
"string"
|
|
54610
|
+
],
|
|
54611
|
+
description: "Row field rows are grouped under header rows by. Empty (default) = flat list.",
|
|
54612
|
+
default: ""
|
|
54613
|
+
},
|
|
54614
|
+
rangeStart: {
|
|
54615
|
+
types: [
|
|
54616
|
+
"string",
|
|
54617
|
+
"date"
|
|
54618
|
+
],
|
|
54619
|
+
description: "First visible day (ISO or Date). Defaults to 2 days before the earliest task."
|
|
54620
|
+
},
|
|
54621
|
+
rangeEnd: {
|
|
54622
|
+
types: [
|
|
54623
|
+
"string",
|
|
54624
|
+
"date"
|
|
54625
|
+
],
|
|
54626
|
+
description: "Last visible day (ISO or Date). Defaults to 2 days after the latest task end."
|
|
54627
|
+
},
|
|
54628
|
+
showToday: {
|
|
54629
|
+
types: [
|
|
54630
|
+
"boolean"
|
|
54631
|
+
],
|
|
54632
|
+
description: "Paint the today marker line when today falls inside the range (default true).",
|
|
54633
|
+
default: true
|
|
54634
|
+
},
|
|
54635
|
+
dayWidth: {
|
|
54636
|
+
types: [
|
|
54637
|
+
"number"
|
|
54638
|
+
],
|
|
54639
|
+
description: "Pixels per day on the axis (default 28)",
|
|
54640
|
+
default: 28
|
|
54641
|
+
},
|
|
54642
|
+
barClickEvent: {
|
|
54643
|
+
types: [
|
|
54644
|
+
"string"
|
|
54645
|
+
],
|
|
54646
|
+
description: "Event emitted when a bar is clicked: UI:{barClickEvent} with { id }",
|
|
54647
|
+
kind: "event-ref",
|
|
54648
|
+
emitPayloadSchema: [
|
|
54649
|
+
{
|
|
54650
|
+
name: "id",
|
|
54651
|
+
type: "string",
|
|
54652
|
+
required: true
|
|
54653
|
+
}
|
|
54654
|
+
]
|
|
54655
|
+
},
|
|
54656
|
+
className: {
|
|
54657
|
+
types: [
|
|
54658
|
+
"string"
|
|
54659
|
+
],
|
|
54660
|
+
description: "Additional CSS classes"
|
|
54661
|
+
},
|
|
54662
|
+
isLoading: {
|
|
54663
|
+
types: [
|
|
54664
|
+
"boolean"
|
|
54665
|
+
],
|
|
54666
|
+
description: "Loading state",
|
|
54667
|
+
default: false
|
|
54668
|
+
},
|
|
54669
|
+
error: {
|
|
54670
|
+
types: [
|
|
54671
|
+
"object"
|
|
54672
|
+
],
|
|
54673
|
+
description: "Error state",
|
|
54674
|
+
properties: {
|
|
54675
|
+
message: {
|
|
54676
|
+
types: [
|
|
54677
|
+
"string"
|
|
54678
|
+
]
|
|
54679
|
+
},
|
|
54680
|
+
name: {
|
|
54681
|
+
types: [
|
|
54682
|
+
"string"
|
|
54683
|
+
]
|
|
54684
|
+
},
|
|
54685
|
+
code: {
|
|
54686
|
+
types: [
|
|
54687
|
+
"string"
|
|
54688
|
+
]
|
|
54689
|
+
},
|
|
54690
|
+
stack: {
|
|
54691
|
+
types: [
|
|
54692
|
+
"string"
|
|
54693
|
+
]
|
|
54694
|
+
}
|
|
54695
|
+
},
|
|
54696
|
+
propertyRequired: [
|
|
54697
|
+
"message"
|
|
54698
|
+
],
|
|
54699
|
+
default: null
|
|
54700
|
+
}
|
|
54701
|
+
}
|
|
54519
54702
|
}
|
|
54520
54703
|
},
|
|
54521
54704
|
categories: [
|
|
@@ -58541,7 +58724,7 @@ var integrators_registry_default = {
|
|
|
58541
58724
|
// src/patterns/component-mapping.json
|
|
58542
58725
|
var component_mapping_default = {
|
|
58543
58726
|
version: "1.0.0",
|
|
58544
|
-
exportedAt: "2026-09-
|
|
58727
|
+
exportedAt: "2026-09-16T03:44:41.117Z",
|
|
58545
58728
|
mappings: {
|
|
58546
58729
|
"page-header": {
|
|
58547
58730
|
component: "PageHeader",
|
|
@@ -59984,6 +60167,11 @@ var component_mapping_default = {
|
|
|
59984
60167
|
component: "UISlotComponent",
|
|
59985
60168
|
importPath: "@/components/core/organisms/UISlotRenderer",
|
|
59986
60169
|
category: "layout"
|
|
60170
|
+
},
|
|
60171
|
+
gantt: {
|
|
60172
|
+
component: "Gantt",
|
|
60173
|
+
importPath: "@/components/core/molecules/Gantt",
|
|
60174
|
+
category: "component"
|
|
59987
60175
|
}
|
|
59988
60176
|
}
|
|
59989
60177
|
};
|
|
@@ -59991,7 +60179,7 @@ var component_mapping_default = {
|
|
|
59991
60179
|
// src/patterns/event-contracts.json
|
|
59992
60180
|
var event_contracts_default = {
|
|
59993
60181
|
version: "1.0.0",
|
|
59994
|
-
exportedAt: "2026-09-
|
|
60182
|
+
exportedAt: "2026-09-16T03:44:41.117Z",
|
|
59995
60183
|
contracts: {
|
|
59996
60184
|
form: {
|
|
59997
60185
|
emits: [
|
|
@@ -61298,6 +61486,7 @@ var PATTERN_TYPES = [
|
|
|
61298
61486
|
"game-icon",
|
|
61299
61487
|
"game-menu",
|
|
61300
61488
|
"game-shell",
|
|
61489
|
+
"gantt",
|
|
61301
61490
|
"generic-app-template",
|
|
61302
61491
|
"geometric-pattern",
|
|
61303
61492
|
"gradient-divider",
|