@almadar/patterns 2.9.0 → 2.10.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/component-mapping.json +7 -2
- package/dist/event-contracts.json +76 -1
- package/dist/index.d.ts +245 -10
- package/dist/index.js +255 -21
- package/dist/index.js.map +1 -1
- package/dist/patterns-registry.json +172 -18
- package/dist/registry.json +172 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-03-
|
|
4
|
+
exportedAt: "2026-03-31T07:12:35.907Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"entity-table": {
|
|
7
7
|
type: "entity-table",
|
|
@@ -2786,6 +2786,18 @@ var patterns_registry_default = {
|
|
|
2786
2786
|
"string"
|
|
2787
2787
|
],
|
|
2788
2788
|
description: "Declarative hover event \u2014 emits UI:{hoverEvent} with { hovered: true/false } on mouseEnter/mouseLeave"
|
|
2789
|
+
},
|
|
2790
|
+
maxWidth: {
|
|
2791
|
+
types: [
|
|
2792
|
+
"string"
|
|
2793
|
+
],
|
|
2794
|
+
description: 'Maximum width (CSS value, e.g., "550px", "80rem")'
|
|
2795
|
+
},
|
|
2796
|
+
children: {
|
|
2797
|
+
types: [
|
|
2798
|
+
"node"
|
|
2799
|
+
],
|
|
2800
|
+
description: "Children elements"
|
|
2789
2801
|
}
|
|
2790
2802
|
}
|
|
2791
2803
|
},
|
|
@@ -10622,6 +10634,12 @@ var patterns_registry_default = {
|
|
|
10622
10634
|
],
|
|
10623
10635
|
description: "Maximum height before scrolling"
|
|
10624
10636
|
},
|
|
10637
|
+
foldable: {
|
|
10638
|
+
types: [
|
|
10639
|
+
"boolean"
|
|
10640
|
+
],
|
|
10641
|
+
description: "Enable JSON-style code folding (default: true for json/orb)"
|
|
10642
|
+
},
|
|
10625
10643
|
className: {
|
|
10626
10644
|
types: [
|
|
10627
10645
|
"string"
|
|
@@ -20510,23 +20528,17 @@ var patterns_registry_default = {
|
|
|
20510
20528
|
description: "schema prop",
|
|
20511
20529
|
required: true
|
|
20512
20530
|
},
|
|
20513
|
-
|
|
20531
|
+
mockData: {
|
|
20514
20532
|
types: [
|
|
20515
|
-
"
|
|
20533
|
+
"object"
|
|
20516
20534
|
],
|
|
20517
|
-
description: "
|
|
20535
|
+
description: "mockData prop"
|
|
20518
20536
|
},
|
|
20519
|
-
|
|
20537
|
+
className: {
|
|
20520
20538
|
types: [
|
|
20521
20539
|
"string"
|
|
20522
20540
|
],
|
|
20523
|
-
description: "
|
|
20524
|
-
},
|
|
20525
|
-
animated: {
|
|
20526
|
-
types: [
|
|
20527
|
-
"boolean"
|
|
20528
|
-
],
|
|
20529
|
-
description: "animated prop"
|
|
20541
|
+
description: "className prop"
|
|
20530
20542
|
},
|
|
20531
20543
|
width: {
|
|
20532
20544
|
types: [
|
|
@@ -20542,35 +20554,131 @@ var patterns_registry_default = {
|
|
|
20542
20554
|
],
|
|
20543
20555
|
description: "height prop"
|
|
20544
20556
|
},
|
|
20557
|
+
onNodeClick: {
|
|
20558
|
+
types: [
|
|
20559
|
+
"function"
|
|
20560
|
+
],
|
|
20561
|
+
description: "onNodeClick prop"
|
|
20562
|
+
},
|
|
20563
|
+
onLevelChange: {
|
|
20564
|
+
types: [
|
|
20565
|
+
"function"
|
|
20566
|
+
],
|
|
20567
|
+
description: "onLevelChange prop"
|
|
20568
|
+
},
|
|
20569
|
+
initialOrbital: {
|
|
20570
|
+
types: [
|
|
20571
|
+
"string"
|
|
20572
|
+
],
|
|
20573
|
+
description: "initialOrbital prop"
|
|
20574
|
+
},
|
|
20575
|
+
initialLevel: {
|
|
20576
|
+
types: [
|
|
20577
|
+
"object"
|
|
20578
|
+
],
|
|
20579
|
+
description: "Start at Level 2 (expanded) when initialOrbital is set. Default: 'overview'."
|
|
20580
|
+
},
|
|
20581
|
+
initialSelectedNode: {
|
|
20582
|
+
types: [
|
|
20583
|
+
"object"
|
|
20584
|
+
],
|
|
20585
|
+
description: "Pre-select a node on mount (opens OrbInspector)."
|
|
20586
|
+
},
|
|
20587
|
+
editable: {
|
|
20588
|
+
types: [
|
|
20589
|
+
"boolean"
|
|
20590
|
+
],
|
|
20591
|
+
description: "Enable editing in the inspector. When true, fields become inputs."
|
|
20592
|
+
},
|
|
20593
|
+
onSchemaChange: {
|
|
20594
|
+
types: [
|
|
20595
|
+
"function"
|
|
20596
|
+
],
|
|
20597
|
+
description: "Called when the user edits the schema via the inspector."
|
|
20598
|
+
},
|
|
20599
|
+
onPatternDelete: {
|
|
20600
|
+
types: [
|
|
20601
|
+
"function"
|
|
20602
|
+
],
|
|
20603
|
+
description: "Called when the user presses Delete/Backspace with a pattern selected."
|
|
20604
|
+
},
|
|
20605
|
+
onEventWire: {
|
|
20606
|
+
types: [
|
|
20607
|
+
"function"
|
|
20608
|
+
],
|
|
20609
|
+
description: "Called when the user drags from a source handle to a target handle (event wiring)."
|
|
20610
|
+
},
|
|
20611
|
+
behaviorMeta: {
|
|
20612
|
+
types: [
|
|
20613
|
+
"object"
|
|
20614
|
+
],
|
|
20615
|
+
description: "Behavior layer metadata for node styling (layer color bands)."
|
|
20616
|
+
},
|
|
20617
|
+
layoutHint: {
|
|
20618
|
+
types: [
|
|
20619
|
+
"string"
|
|
20620
|
+
],
|
|
20621
|
+
description: "Layout hint: 'pipeline' renders nodes left-to-right, 'grid' (default) uses sqrt-based grid."
|
|
20622
|
+
},
|
|
20623
|
+
onNodeSelect: {
|
|
20624
|
+
types: [
|
|
20625
|
+
"function"
|
|
20626
|
+
],
|
|
20627
|
+
description: "Called when the user clicks a node in overview level (for composition hints)."
|
|
20628
|
+
},
|
|
20629
|
+
composeLevel: {
|
|
20630
|
+
types: [
|
|
20631
|
+
"object"
|
|
20632
|
+
],
|
|
20633
|
+
description: "When 'behavior', shows behavior-level glyph nodes instead of orbital previews."
|
|
20634
|
+
},
|
|
20635
|
+
behaviorEntries: {
|
|
20636
|
+
types: [
|
|
20637
|
+
"array"
|
|
20638
|
+
],
|
|
20639
|
+
description: "Behavior entries for compose mode (only when composeLevel='behavior')."
|
|
20640
|
+
},
|
|
20641
|
+
behaviorWires: {
|
|
20642
|
+
types: [
|
|
20643
|
+
"array"
|
|
20644
|
+
],
|
|
20645
|
+
description: "Event wires between behaviors (only when composeLevel='behavior')."
|
|
20646
|
+
},
|
|
20545
20647
|
onZoomChange: {
|
|
20546
20648
|
types: [
|
|
20547
20649
|
"function"
|
|
20548
20650
|
],
|
|
20549
|
-
description: "
|
|
20651
|
+
description: "@deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat."
|
|
20550
20652
|
},
|
|
20551
20653
|
focusTarget: {
|
|
20552
20654
|
types: [
|
|
20553
20655
|
"object"
|
|
20554
20656
|
],
|
|
20555
|
-
description: "
|
|
20657
|
+
description: "@deprecated Not used in V3."
|
|
20556
20658
|
},
|
|
20557
|
-
|
|
20659
|
+
color: {
|
|
20558
20660
|
types: [
|
|
20559
20661
|
"string"
|
|
20560
20662
|
],
|
|
20561
|
-
description: "
|
|
20663
|
+
description: "@deprecated Not used in V3."
|
|
20664
|
+
},
|
|
20665
|
+
animated: {
|
|
20666
|
+
types: [
|
|
20667
|
+
"boolean"
|
|
20668
|
+
],
|
|
20669
|
+
description: "@deprecated Not used in V3."
|
|
20562
20670
|
},
|
|
20563
20671
|
initialTrait: {
|
|
20564
20672
|
types: [
|
|
20565
20673
|
"string"
|
|
20566
20674
|
],
|
|
20567
|
-
description: "
|
|
20675
|
+
description: "@deprecated Not used in V3."
|
|
20568
20676
|
},
|
|
20569
20677
|
stateCoverage: {
|
|
20570
20678
|
types: [
|
|
20571
20679
|
"object"
|
|
20572
20680
|
],
|
|
20573
|
-
description: "
|
|
20681
|
+
description: "@deprecated Not used in V3."
|
|
20574
20682
|
}
|
|
20575
20683
|
}
|
|
20576
20684
|
},
|
|
@@ -22624,6 +22732,52 @@ var patterns_registry_default = {
|
|
|
22624
22732
|
}
|
|
22625
22733
|
}
|
|
22626
22734
|
},
|
|
22735
|
+
"orb-inspector": {
|
|
22736
|
+
type: "orb-inspector",
|
|
22737
|
+
category: "debug",
|
|
22738
|
+
description: "OrbInspector component",
|
|
22739
|
+
suggestedFor: [
|
|
22740
|
+
"orb",
|
|
22741
|
+
"inspector",
|
|
22742
|
+
"orb inspector"
|
|
22743
|
+
],
|
|
22744
|
+
typicalSize: "large",
|
|
22745
|
+
propsSchema: {
|
|
22746
|
+
node: {
|
|
22747
|
+
types: [
|
|
22748
|
+
"object"
|
|
22749
|
+
],
|
|
22750
|
+
description: "node prop",
|
|
22751
|
+
required: true
|
|
22752
|
+
},
|
|
22753
|
+
schema: {
|
|
22754
|
+
types: [
|
|
22755
|
+
"object"
|
|
22756
|
+
],
|
|
22757
|
+
description: "schema prop",
|
|
22758
|
+
required: true
|
|
22759
|
+
},
|
|
22760
|
+
editable: {
|
|
22761
|
+
types: [
|
|
22762
|
+
"boolean"
|
|
22763
|
+
],
|
|
22764
|
+
description: "editable prop"
|
|
22765
|
+
},
|
|
22766
|
+
onSchemaChange: {
|
|
22767
|
+
types: [
|
|
22768
|
+
"function"
|
|
22769
|
+
],
|
|
22770
|
+
description: "onSchemaChange prop"
|
|
22771
|
+
},
|
|
22772
|
+
onClose: {
|
|
22773
|
+
types: [
|
|
22774
|
+
"function"
|
|
22775
|
+
],
|
|
22776
|
+
description: "onClose prop",
|
|
22777
|
+
required: true
|
|
22778
|
+
}
|
|
22779
|
+
}
|
|
22780
|
+
},
|
|
22627
22781
|
heading: {
|
|
22628
22782
|
type: "heading",
|
|
22629
22783
|
category: "component",
|
|
@@ -23440,7 +23594,7 @@ var integrators_registry_default = {
|
|
|
23440
23594
|
// src/component-mapping.json
|
|
23441
23595
|
var component_mapping_default = {
|
|
23442
23596
|
version: "1.0.0",
|
|
23443
|
-
exportedAt: "2026-03-
|
|
23597
|
+
exportedAt: "2026-03-31T07:12:35.907Z",
|
|
23444
23598
|
mappings: {
|
|
23445
23599
|
"page-header": {
|
|
23446
23600
|
component: "PageHeader",
|
|
@@ -25162,7 +25316,7 @@ var component_mapping_default = {
|
|
|
25162
25316
|
},
|
|
25163
25317
|
"game-canvas-3d": {
|
|
25164
25318
|
component: "GameCanvas3D",
|
|
25165
|
-
importPath: "
|
|
25319
|
+
importPath: "@almadar/ui/components/organisms/game/three",
|
|
25166
25320
|
category: "game"
|
|
25167
25321
|
},
|
|
25168
25322
|
"camera-3d": {
|
|
@@ -25215,6 +25369,11 @@ var component_mapping_default = {
|
|
|
25215
25369
|
importPath: "@/components/templates/GameCanvas3DWorldMapTemplate",
|
|
25216
25370
|
category: "template"
|
|
25217
25371
|
},
|
|
25372
|
+
"orb-inspector": {
|
|
25373
|
+
component: "OrbInspector",
|
|
25374
|
+
importPath: "@/components/organisms/OrbInspector",
|
|
25375
|
+
category: "debug"
|
|
25376
|
+
},
|
|
25218
25377
|
heading: {
|
|
25219
25378
|
component: "Typography",
|
|
25220
25379
|
importPath: "@/components/atoms/Typography",
|
|
@@ -25231,7 +25390,7 @@ var component_mapping_default = {
|
|
|
25231
25390
|
// src/event-contracts.json
|
|
25232
25391
|
var event_contracts_default = {
|
|
25233
25392
|
version: "1.0.0",
|
|
25234
|
-
exportedAt: "2026-03-
|
|
25393
|
+
exportedAt: "2026-03-31T07:12:35.907Z",
|
|
25235
25394
|
contracts: {
|
|
25236
25395
|
form: {
|
|
25237
25396
|
emits: [
|
|
@@ -26458,6 +26617,81 @@ var event_contracts_default = {
|
|
|
26458
26617
|
],
|
|
26459
26618
|
requires: [],
|
|
26460
26619
|
entityAware: true
|
|
26620
|
+
},
|
|
26621
|
+
"flow-canvas": {
|
|
26622
|
+
emits: [
|
|
26623
|
+
{
|
|
26624
|
+
event: "WIRE_VALIDATION_WARNING",
|
|
26625
|
+
trigger: "action",
|
|
26626
|
+
payload: {
|
|
26627
|
+
type: "object"
|
|
26628
|
+
}
|
|
26629
|
+
}
|
|
26630
|
+
],
|
|
26631
|
+
requires: [],
|
|
26632
|
+
entityAware: false
|
|
26633
|
+
},
|
|
26634
|
+
"orb-inspector": {
|
|
26635
|
+
emits: [
|
|
26636
|
+
{
|
|
26637
|
+
event: "PROP_CHANGE",
|
|
26638
|
+
trigger: "action",
|
|
26639
|
+
payload: {
|
|
26640
|
+
type: "object"
|
|
26641
|
+
}
|
|
26642
|
+
},
|
|
26643
|
+
{
|
|
26644
|
+
event: "ADD_FIELD",
|
|
26645
|
+
trigger: "action",
|
|
26646
|
+
payload: {
|
|
26647
|
+
type: "object"
|
|
26648
|
+
}
|
|
26649
|
+
},
|
|
26650
|
+
{
|
|
26651
|
+
event: "UPDATE_FIELD",
|
|
26652
|
+
trigger: "action",
|
|
26653
|
+
payload: {
|
|
26654
|
+
type: "object"
|
|
26655
|
+
}
|
|
26656
|
+
},
|
|
26657
|
+
{
|
|
26658
|
+
event: "REMOVE_FIELD",
|
|
26659
|
+
trigger: "action",
|
|
26660
|
+
payload: {
|
|
26661
|
+
type: "object"
|
|
26662
|
+
}
|
|
26663
|
+
},
|
|
26664
|
+
{
|
|
26665
|
+
event: "GUARD_CHANGE",
|
|
26666
|
+
trigger: "action",
|
|
26667
|
+
payload: {
|
|
26668
|
+
type: "object"
|
|
26669
|
+
}
|
|
26670
|
+
},
|
|
26671
|
+
{
|
|
26672
|
+
event: "ADD_EFFECT",
|
|
26673
|
+
trigger: "action",
|
|
26674
|
+
payload: {
|
|
26675
|
+
type: "object"
|
|
26676
|
+
}
|
|
26677
|
+
},
|
|
26678
|
+
{
|
|
26679
|
+
event: "REMOVE_EFFECT",
|
|
26680
|
+
trigger: "action",
|
|
26681
|
+
payload: {
|
|
26682
|
+
type: "object"
|
|
26683
|
+
}
|
|
26684
|
+
},
|
|
26685
|
+
{
|
|
26686
|
+
event: "SERVICE_MODE_TOGGLE",
|
|
26687
|
+
trigger: "action",
|
|
26688
|
+
payload: {
|
|
26689
|
+
type: "object"
|
|
26690
|
+
}
|
|
26691
|
+
}
|
|
26692
|
+
],
|
|
26693
|
+
requires: [],
|
|
26694
|
+
entityAware: false
|
|
26461
26695
|
}
|
|
26462
26696
|
}
|
|
26463
26697
|
};
|