@almadar/core 10.29.0 → 10.30.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-DcBjE_Uw.d.ts → builders-C458pIMW.d.ts} +1882 -221
- package/dist/builders.d.ts +3 -3
- package/dist/builders.js +151 -11
- package/dist/builders.js.map +1 -1
- package/dist/factory/index.d.ts +5 -4
- package/dist/factory-runtime/index.d.ts +63 -18
- package/dist/factory-runtime/index.js +192 -88
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +10 -9
- package/dist/index.js +428 -57
- package/dist/index.js.map +1 -1
- package/dist/json-DOTchoRS.d.ts +57 -0
- package/dist/{pattern-types-JZordBZv.d.ts → pattern-types-CLcOXOmW.d.ts} +273 -13
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +327 -48
- package/dist/patterns/index.js +188 -34
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +146 -29
- package/dist/patterns/registry.json +146 -29
- package/dist/{trait-B_CzfDSi.d.ts → trait-CwWjkU-1.d.ts} +423 -45
- package/dist/types/index.d.ts +49 -19
- package/dist/types/index.js +212 -18
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CGC5A1-T.d.ts → types-yW22YNNt.d.ts} +4 -59
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "1.0.0",
|
|
3
|
-
"exportedAt": "2026-07-
|
|
3
|
+
"exportedAt": "2026-07-16T19:33:37.203Z",
|
|
4
4
|
"patterns": {
|
|
5
5
|
"entity-table": {
|
|
6
6
|
"type": "entity-table",
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
"types": [
|
|
706
706
|
"function"
|
|
707
707
|
],
|
|
708
|
-
"description": "renderItem
|
|
708
|
+
"description": "Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
709
709
|
"kind": "callback",
|
|
710
710
|
"callbackArgs": [
|
|
711
711
|
{
|
|
@@ -875,15 +875,6 @@
|
|
|
875
875
|
],
|
|
876
876
|
"typicalSize": "medium",
|
|
877
877
|
"propsSchema": {
|
|
878
|
-
"entity": {
|
|
879
|
-
"types": [
|
|
880
|
-
"object",
|
|
881
|
-
"array"
|
|
882
|
-
],
|
|
883
|
-
"description": "Entity record or array of records — pre-resolved by the trait via render-ui after a fetch emit",
|
|
884
|
-
"kind": "entity",
|
|
885
|
-
"cardinality": "collection"
|
|
886
|
-
},
|
|
887
878
|
"className": {
|
|
888
879
|
"types": [
|
|
889
880
|
"string"
|
|
@@ -987,6 +978,15 @@
|
|
|
987
978
|
]
|
|
988
979
|
}
|
|
989
980
|
},
|
|
981
|
+
"entity": {
|
|
982
|
+
"types": [
|
|
983
|
+
"object",
|
|
984
|
+
"array"
|
|
985
|
+
],
|
|
986
|
+
"description": "Entity data (single record or collection).",
|
|
987
|
+
"kind": "entity",
|
|
988
|
+
"cardinality": "collection"
|
|
989
|
+
},
|
|
990
990
|
"minCardWidth": {
|
|
991
991
|
"types": [
|
|
992
992
|
"number"
|
|
@@ -4222,7 +4222,7 @@
|
|
|
4222
4222
|
"types": [
|
|
4223
4223
|
"string"
|
|
4224
4224
|
],
|
|
4225
|
-
"description": "Declarative step click event — emits UI:{stepClickEvent} with { stepIndex }",
|
|
4225
|
+
"description": "Declarative step click event — emits UI:{stepClickEvent} with { stepIndex }. Setting it requires declaring that event (with a `{ stepIndex }` payload) and a transition handling it in the same trait; omit this prop for non-clickable progress indicators.",
|
|
4226
4226
|
"kind": "event-ref",
|
|
4227
4227
|
"emitPayloadSchema": [
|
|
4228
4228
|
{
|
|
@@ -7671,7 +7671,7 @@
|
|
|
7671
7671
|
"types": [
|
|
7672
7672
|
"string"
|
|
7673
7673
|
],
|
|
7674
|
-
"description": "Input type
|
|
7674
|
+
"description": "Input type — selects the field's data mode. Use 'password' for masked credentials / secret / passphrase entry (there is no separate password pattern); 'email', 'tel', 'url', 'number', 'search', 'date', and 'time' for their respective values; and 'select' / 'textarea' for choice and multi-line entry in addition to the standard single-line types.",
|
|
7675
7675
|
"enumValues": [
|
|
7676
7676
|
"text",
|
|
7677
7677
|
"email",
|
|
@@ -8949,7 +8949,7 @@
|
|
|
8949
8949
|
"types": [
|
|
8950
8950
|
"function"
|
|
8951
8951
|
],
|
|
8952
|
-
"description": "Render function for each item",
|
|
8952
|
+
"description": "Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
8953
8953
|
"required": true,
|
|
8954
8954
|
"kind": "callback",
|
|
8955
8955
|
"callbackArgs": [
|
|
@@ -10385,7 +10385,7 @@
|
|
|
10385
10385
|
"types": [
|
|
10386
10386
|
"string"
|
|
10387
10387
|
],
|
|
10388
|
-
"description": "Input type
|
|
10388
|
+
"description": "Input type — selects the field's data mode. Use 'password' for masked credentials / secret / passphrase entry (there is no separate password pattern); 'email', 'tel', 'url', 'number', 'search', 'date', and 'time' for their respective values; and 'select' / 'textarea' for choice and multi-line entry in addition to the standard single-line types.",
|
|
10389
10389
|
"enumValues": [
|
|
10390
10390
|
"text",
|
|
10391
10391
|
"email",
|
|
@@ -14488,6 +14488,11 @@
|
|
|
14488
14488
|
"number"
|
|
14489
14489
|
]
|
|
14490
14490
|
},
|
|
14491
|
+
"badge": {
|
|
14492
|
+
"types": [
|
|
14493
|
+
"number"
|
|
14494
|
+
]
|
|
14495
|
+
},
|
|
14491
14496
|
"x": {
|
|
14492
14497
|
"types": [
|
|
14493
14498
|
"number"
|
|
@@ -14508,7 +14513,7 @@
|
|
|
14508
14513
|
"types": [
|
|
14509
14514
|
"array"
|
|
14510
14515
|
],
|
|
14511
|
-
"description": "Graph edges",
|
|
14516
|
+
"description": "Graph edges (the only rendered links)",
|
|
14512
14517
|
"items": {
|
|
14513
14518
|
"types": [
|
|
14514
14519
|
"object"
|
|
@@ -14546,6 +14551,39 @@
|
|
|
14546
14551
|
]
|
|
14547
14552
|
}
|
|
14548
14553
|
},
|
|
14554
|
+
"similarity": {
|
|
14555
|
+
"types": [
|
|
14556
|
+
"array"
|
|
14557
|
+
],
|
|
14558
|
+
"description": "All-pairs similarity (cosine 0–1) used ONLY for layout, never drawn. It is the secondary macro-layout: non-connected pairs get a weak spring (higher cosine ⇒ closer) so clusters arrange relative to each other; drawn `edges` stay the primary tight structure. When omitted, edges alone drive the layout.",
|
|
14559
|
+
"items": {
|
|
14560
|
+
"types": [
|
|
14561
|
+
"object"
|
|
14562
|
+
],
|
|
14563
|
+
"properties": {
|
|
14564
|
+
"source": {
|
|
14565
|
+
"types": [
|
|
14566
|
+
"string"
|
|
14567
|
+
]
|
|
14568
|
+
},
|
|
14569
|
+
"target": {
|
|
14570
|
+
"types": [
|
|
14571
|
+
"string"
|
|
14572
|
+
]
|
|
14573
|
+
},
|
|
14574
|
+
"weight": {
|
|
14575
|
+
"types": [
|
|
14576
|
+
"number"
|
|
14577
|
+
]
|
|
14578
|
+
}
|
|
14579
|
+
},
|
|
14580
|
+
"required": [
|
|
14581
|
+
"source",
|
|
14582
|
+
"target",
|
|
14583
|
+
"weight"
|
|
14584
|
+
]
|
|
14585
|
+
}
|
|
14586
|
+
},
|
|
14549
14587
|
"height": {
|
|
14550
14588
|
"types": [
|
|
14551
14589
|
"number"
|
|
@@ -14655,6 +14693,11 @@
|
|
|
14655
14693
|
"number"
|
|
14656
14694
|
]
|
|
14657
14695
|
},
|
|
14696
|
+
"badge": {
|
|
14697
|
+
"types": [
|
|
14698
|
+
"number"
|
|
14699
|
+
]
|
|
14700
|
+
},
|
|
14658
14701
|
"x": {
|
|
14659
14702
|
"types": [
|
|
14660
14703
|
"number"
|
|
@@ -14713,6 +14756,74 @@
|
|
|
14713
14756
|
"number"
|
|
14714
14757
|
]
|
|
14715
14758
|
},
|
|
14759
|
+
"badge": {
|
|
14760
|
+
"types": [
|
|
14761
|
+
"number"
|
|
14762
|
+
]
|
|
14763
|
+
},
|
|
14764
|
+
"x": {
|
|
14765
|
+
"types": [
|
|
14766
|
+
"number"
|
|
14767
|
+
]
|
|
14768
|
+
},
|
|
14769
|
+
"y": {
|
|
14770
|
+
"types": [
|
|
14771
|
+
"number"
|
|
14772
|
+
]
|
|
14773
|
+
}
|
|
14774
|
+
},
|
|
14775
|
+
"required": [
|
|
14776
|
+
"id"
|
|
14777
|
+
]
|
|
14778
|
+
}
|
|
14779
|
+
}
|
|
14780
|
+
]
|
|
14781
|
+
},
|
|
14782
|
+
"onBadgeClick": {
|
|
14783
|
+
"types": [
|
|
14784
|
+
"function"
|
|
14785
|
+
],
|
|
14786
|
+
"description": "On node badge click (e.g. to expand a merged cluster).",
|
|
14787
|
+
"kind": "callback",
|
|
14788
|
+
"callbackArgs": [
|
|
14789
|
+
{
|
|
14790
|
+
"name": "node",
|
|
14791
|
+
"type": "object",
|
|
14792
|
+
"schema": {
|
|
14793
|
+
"types": [
|
|
14794
|
+
"object"
|
|
14795
|
+
],
|
|
14796
|
+
"properties": {
|
|
14797
|
+
"id": {
|
|
14798
|
+
"types": [
|
|
14799
|
+
"string"
|
|
14800
|
+
]
|
|
14801
|
+
},
|
|
14802
|
+
"label": {
|
|
14803
|
+
"types": [
|
|
14804
|
+
"string"
|
|
14805
|
+
]
|
|
14806
|
+
},
|
|
14807
|
+
"group": {
|
|
14808
|
+
"types": [
|
|
14809
|
+
"string"
|
|
14810
|
+
]
|
|
14811
|
+
},
|
|
14812
|
+
"color": {
|
|
14813
|
+
"types": [
|
|
14814
|
+
"string"
|
|
14815
|
+
]
|
|
14816
|
+
},
|
|
14817
|
+
"size": {
|
|
14818
|
+
"types": [
|
|
14819
|
+
"number"
|
|
14820
|
+
]
|
|
14821
|
+
},
|
|
14822
|
+
"badge": {
|
|
14823
|
+
"types": [
|
|
14824
|
+
"number"
|
|
14825
|
+
]
|
|
14826
|
+
},
|
|
14716
14827
|
"x": {
|
|
14717
14828
|
"types": [
|
|
14718
14829
|
"number"
|
|
@@ -16728,7 +16839,7 @@
|
|
|
16728
16839
|
"types": [
|
|
16729
16840
|
"array"
|
|
16730
16841
|
],
|
|
16731
|
-
"description": "Field definitions for rendering each card. The pattern contract in `@almadar/patterns` documents `columns` as the wire-format alias the compiler emits — both names resolve to the same shape here. Pass either.",
|
|
16842
|
+
"description": "Field definitions for rendering each card. The pattern contract in `@almadar/core/patterns` documents `columns` as the wire-format alias the compiler emits — both names resolve to the same shape here. Pass either.",
|
|
16732
16843
|
"items": {
|
|
16733
16844
|
"types": [
|
|
16734
16845
|
"object"
|
|
@@ -17060,7 +17171,7 @@
|
|
|
17060
17171
|
"types": [
|
|
17061
17172
|
"function"
|
|
17062
17173
|
],
|
|
17063
|
-
"description": "Per-item render function (schema-level alias for children render prop). In .orb schemas: [\"fn\", \"item\", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop.",
|
|
17174
|
+
"description": "Per-item render function (schema-level alias for children render prop). In .orb schemas: [\"fn\", \"item\", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
17064
17175
|
"kind": "callback",
|
|
17065
17176
|
"callbackArgs": [
|
|
17066
17177
|
{
|
|
@@ -17173,7 +17284,7 @@
|
|
|
17173
17284
|
"types": [
|
|
17174
17285
|
"array"
|
|
17175
17286
|
],
|
|
17176
|
-
"description": "Field definitions for rendering each row. The pattern contract in `@almadar/patterns` documents `columns` as the wire-format alias the compiler emits — both names resolve to the same shape here. Pass either.",
|
|
17287
|
+
"description": "Field definitions for rendering each row. The pattern contract in `@almadar/core/patterns` documents `columns` as the wire-format alias the compiler emits — both names resolve to the same shape here. Pass either.",
|
|
17177
17288
|
"items": {
|
|
17178
17289
|
"types": [
|
|
17179
17290
|
"object"
|
|
@@ -17577,7 +17688,7 @@
|
|
|
17577
17688
|
"types": [
|
|
17578
17689
|
"function"
|
|
17579
17690
|
],
|
|
17580
|
-
"description": "Per-item render function (schema-level alias for children render prop). In .orb schemas: [\"fn\", \"item\", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop.",
|
|
17691
|
+
"description": "Per-item render function (schema-level alias for children render prop). In .orb schemas: [\"fn\", \"item\", { pattern tree with @item.field bindings }] The compiler converts this to the children render prop. In .lolo, author the per-item renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
17581
17692
|
"kind": "callback",
|
|
17582
17693
|
"callbackArgs": [
|
|
17583
17694
|
{
|
|
@@ -18607,6 +18718,12 @@
|
|
|
18607
18718
|
],
|
|
18608
18719
|
"description": "Text to display after the number"
|
|
18609
18720
|
},
|
|
18721
|
+
"format": {
|
|
18722
|
+
"types": [
|
|
18723
|
+
"string"
|
|
18724
|
+
],
|
|
18725
|
+
"description": "Display format: \"number\" (locale grouping), \"currency\" ($x.xx), \"percent\" (rounded %). Unset preserves the value's own decimals."
|
|
18726
|
+
},
|
|
18610
18727
|
"className": {
|
|
18611
18728
|
"types": [
|
|
18612
18729
|
"string"
|
|
@@ -18793,7 +18910,7 @@
|
|
|
18793
18910
|
"types": [
|
|
18794
18911
|
"function"
|
|
18795
18912
|
],
|
|
18796
|
-
"description": "Render function for each slide",
|
|
18913
|
+
"description": "Render function for each slide. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
18797
18914
|
"kind": "callback",
|
|
18798
18915
|
"callbackArgs": [
|
|
18799
18916
|
{
|
|
@@ -18966,7 +19083,7 @@
|
|
|
18966
19083
|
"types": [
|
|
18967
19084
|
"function"
|
|
18968
19085
|
],
|
|
18969
|
-
"description": "renderItem
|
|
19086
|
+
"description": "Render function for each item. In .lolo: renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
18970
19087
|
"required": true,
|
|
18971
19088
|
"kind": "callback",
|
|
18972
19089
|
"callbackArgs": [
|
|
@@ -32988,7 +33105,7 @@
|
|
|
32988
33105
|
"types": [
|
|
32989
33106
|
"function"
|
|
32990
33107
|
],
|
|
32991
|
-
"description": "Per-row render function (schema alias). In .orb: [\"fn\",\"item\",{...}]. The compiler converts this to the children render prop.",
|
|
33108
|
+
"description": "Per-row render function (schema alias). In .orb: [\"fn\",\"item\",{...}]. The compiler converts this to the children render prop. In .lolo, author the per-row renderer as renderItem: (fn item <Component …={@item.field}/>), binding per-item fields via @item.field.",
|
|
32992
33109
|
"kind": "callback",
|
|
32993
33110
|
"callbackArgs": [
|
|
32994
33111
|
{
|
|
@@ -38594,31 +38711,31 @@
|
|
|
38594
38711
|
"types": [
|
|
38595
38712
|
"number"
|
|
38596
38713
|
],
|
|
38597
|
-
"description": "Rect width in
|
|
38714
|
+
"description": "Rect width in world units (fractions of `projector.tileWidth`)."
|
|
38598
38715
|
},
|
|
38599
38716
|
"height": {
|
|
38600
38717
|
"types": [
|
|
38601
38718
|
"number"
|
|
38602
38719
|
],
|
|
38603
|
-
"description": "Rect height in
|
|
38720
|
+
"description": "Rect height in world units (fractions of `projector.tileWidth`)."
|
|
38604
38721
|
},
|
|
38605
38722
|
"radiusX": {
|
|
38606
38723
|
"types": [
|
|
38607
38724
|
"number"
|
|
38608
38725
|
],
|
|
38609
|
-
"description": "Ellipse horizontal radius in
|
|
38726
|
+
"description": "Ellipse horizontal radius in world units (fractions of `projector.tileWidth`)."
|
|
38610
38727
|
},
|
|
38611
38728
|
"radiusY": {
|
|
38612
38729
|
"types": [
|
|
38613
38730
|
"number"
|
|
38614
38731
|
],
|
|
38615
|
-
"description": "Ellipse vertical radius in
|
|
38732
|
+
"description": "Ellipse vertical radius in world units; omitted → `radiusX` (a circle)."
|
|
38616
38733
|
},
|
|
38617
38734
|
"offsetX": {
|
|
38618
38735
|
"types": [
|
|
38619
38736
|
"number"
|
|
38620
38737
|
],
|
|
38621
|
-
"description": "Fine
|
|
38738
|
+
"description": "Fine nudge from the anchor point in world units."
|
|
38622
38739
|
},
|
|
38623
38740
|
"offsetY": {
|
|
38624
38741
|
"types": [
|
|
@@ -38630,7 +38747,7 @@
|
|
|
38630
38747
|
"types": [
|
|
38631
38748
|
"array"
|
|
38632
38749
|
],
|
|
38633
|
-
"description": "Poly vertices as
|
|
38750
|
+
"description": "Poly vertices as world-unit offsets relative to the cell's projected top-left.",
|
|
38634
38751
|
"items": {
|
|
38635
38752
|
"types": [
|
|
38636
38753
|
"object"
|