@almadar/core 10.82.0 → 10.83.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/{effect-Baldm2vM.d.ts → effect-DruTSW2O.d.ts} +10 -1
- package/dist/{entityAccess-CDYT7WWR.d.ts → entityAccess-BoYVXf3b.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +293 -5
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/{index-R8PyPrGg.d.ts → index-76Ff6JCE.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +310 -8
- 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 +15 -1
- package/dist/patterns/index.d.ts +596 -22
- package/dist/patterns/index.js +310 -8
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +294 -6
- package/dist/patterns/registry.json +294 -6
- package/dist/{schema-1KQUz2pE.d.ts → schema-BdeZ8R35.d.ts} +4482 -4482
- package/dist/{trait-Dsp0vmGp.d.ts → trait-DKJWX0Ru.d.ts} +1 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js.map +1 -1
- package/dist/{types-DJYozDXK.d.ts → types-CRr2IuTj.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-04T03:53:29.561Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -16404,7 +16404,7 @@ var patterns_registry_default = {
|
|
|
16404
16404
|
types: [
|
|
16405
16405
|
"object"
|
|
16406
16406
|
],
|
|
16407
|
-
description: "GAP-80: line-level error/warning highlights
|
|
16407
|
+
description: "GAP-80: line-level error/warning highlights. Map of 1-based line number \u2192 severity. Paints a colored background on each line: error = red, warning = yellow. Honored by the editable overlay and (GAP-84) by viewer mode's non-diff highlight; pass undefined (default) to disable. The consumer is responsible for computing the path \u2192 line map from the schema + validation results.",
|
|
16408
16408
|
nonAuthorable: true
|
|
16409
16409
|
},
|
|
16410
16410
|
title: {
|
|
@@ -16693,6 +16693,265 @@ var patterns_registry_default = {
|
|
|
16693
16693
|
"boolean"
|
|
16694
16694
|
],
|
|
16695
16695
|
description: "Show copy button (viewer alias for showCopyButton)"
|
|
16696
|
+
},
|
|
16697
|
+
editorId: {
|
|
16698
|
+
types: [
|
|
16699
|
+
"string"
|
|
16700
|
+
],
|
|
16701
|
+
description: "Stable identity for the keyboard router / plugin host to target this editor. Unset = this instance never receives capability events.",
|
|
16702
|
+
tier: "presentation"
|
|
16703
|
+
},
|
|
16704
|
+
onEditorFocus: {
|
|
16705
|
+
types: [
|
|
16706
|
+
"string"
|
|
16707
|
+
],
|
|
16708
|
+
description: "Declarative bus emit fired when this editor gains focus.",
|
|
16709
|
+
kind: "event-ref",
|
|
16710
|
+
emitPayloadSchema: [
|
|
16711
|
+
{
|
|
16712
|
+
name: "editorId",
|
|
16713
|
+
type: "string",
|
|
16714
|
+
required: true
|
|
16715
|
+
}
|
|
16716
|
+
],
|
|
16717
|
+
default: "EDITOR_FOCUS",
|
|
16718
|
+
tier: "presentation"
|
|
16719
|
+
},
|
|
16720
|
+
onEditorBlur: {
|
|
16721
|
+
types: [
|
|
16722
|
+
"string"
|
|
16723
|
+
],
|
|
16724
|
+
description: "Declarative bus emit fired when this editor loses focus.",
|
|
16725
|
+
kind: "event-ref",
|
|
16726
|
+
emitPayloadSchema: [
|
|
16727
|
+
{
|
|
16728
|
+
name: "editorId",
|
|
16729
|
+
type: "string",
|
|
16730
|
+
required: true
|
|
16731
|
+
}
|
|
16732
|
+
],
|
|
16733
|
+
default: "EDITOR_BLUR",
|
|
16734
|
+
tier: "presentation"
|
|
16735
|
+
},
|
|
16736
|
+
onMotion: {
|
|
16737
|
+
types: [
|
|
16738
|
+
"string"
|
|
16739
|
+
],
|
|
16740
|
+
description: "Declarative bus listen: move the cursor per the vim-style motion vocabulary.",
|
|
16741
|
+
kind: "event-listen",
|
|
16742
|
+
listenPayloadSchema: [
|
|
16743
|
+
{
|
|
16744
|
+
name: "editorId",
|
|
16745
|
+
type: "string",
|
|
16746
|
+
required: true
|
|
16747
|
+
},
|
|
16748
|
+
{
|
|
16749
|
+
name: "motion",
|
|
16750
|
+
type: "string",
|
|
16751
|
+
required: true,
|
|
16752
|
+
enumValues: [
|
|
16753
|
+
"left",
|
|
16754
|
+
"right",
|
|
16755
|
+
"up",
|
|
16756
|
+
"down",
|
|
16757
|
+
"word-forward",
|
|
16758
|
+
"word-back",
|
|
16759
|
+
"word-end",
|
|
16760
|
+
"line-start",
|
|
16761
|
+
"line-end",
|
|
16762
|
+
"first-nonblank",
|
|
16763
|
+
"doc-start",
|
|
16764
|
+
"doc-end",
|
|
16765
|
+
"paragraph-forward",
|
|
16766
|
+
"paragraph-back",
|
|
16767
|
+
"line",
|
|
16768
|
+
"selection"
|
|
16769
|
+
]
|
|
16770
|
+
},
|
|
16771
|
+
{
|
|
16772
|
+
name: "count",
|
|
16773
|
+
type: "number",
|
|
16774
|
+
required: true
|
|
16775
|
+
}
|
|
16776
|
+
],
|
|
16777
|
+
default: "MOTION",
|
|
16778
|
+
tier: "presentation"
|
|
16779
|
+
},
|
|
16780
|
+
onOperate: {
|
|
16781
|
+
types: [
|
|
16782
|
+
"string"
|
|
16783
|
+
],
|
|
16784
|
+
description: "Declarative bus listen: apply a text operator over a motion's range.",
|
|
16785
|
+
kind: "event-listen",
|
|
16786
|
+
listenPayloadSchema: [
|
|
16787
|
+
{
|
|
16788
|
+
name: "editorId",
|
|
16789
|
+
type: "string",
|
|
16790
|
+
required: true
|
|
16791
|
+
},
|
|
16792
|
+
{
|
|
16793
|
+
name: "operator",
|
|
16794
|
+
type: "string",
|
|
16795
|
+
required: true,
|
|
16796
|
+
enumValues: [
|
|
16797
|
+
"delete",
|
|
16798
|
+
"yank",
|
|
16799
|
+
"change"
|
|
16800
|
+
]
|
|
16801
|
+
},
|
|
16802
|
+
{
|
|
16803
|
+
name: "motion",
|
|
16804
|
+
type: "string",
|
|
16805
|
+
required: true,
|
|
16806
|
+
enumValues: [
|
|
16807
|
+
"left",
|
|
16808
|
+
"right",
|
|
16809
|
+
"up",
|
|
16810
|
+
"down",
|
|
16811
|
+
"word-forward",
|
|
16812
|
+
"word-back",
|
|
16813
|
+
"word-end",
|
|
16814
|
+
"line-start",
|
|
16815
|
+
"line-end",
|
|
16816
|
+
"first-nonblank",
|
|
16817
|
+
"doc-start",
|
|
16818
|
+
"doc-end",
|
|
16819
|
+
"paragraph-forward",
|
|
16820
|
+
"paragraph-back",
|
|
16821
|
+
"line",
|
|
16822
|
+
"selection"
|
|
16823
|
+
]
|
|
16824
|
+
},
|
|
16825
|
+
{
|
|
16826
|
+
name: "count",
|
|
16827
|
+
type: "number",
|
|
16828
|
+
required: true
|
|
16829
|
+
}
|
|
16830
|
+
],
|
|
16831
|
+
default: "OPERATE",
|
|
16832
|
+
tier: "presentation"
|
|
16833
|
+
},
|
|
16834
|
+
onInsertText: {
|
|
16835
|
+
types: [
|
|
16836
|
+
"string"
|
|
16837
|
+
],
|
|
16838
|
+
description: "Declarative bus listen: insert literal text at the cursor.",
|
|
16839
|
+
kind: "event-listen",
|
|
16840
|
+
listenPayloadSchema: [
|
|
16841
|
+
{
|
|
16842
|
+
name: "editorId",
|
|
16843
|
+
type: "string",
|
|
16844
|
+
required: true
|
|
16845
|
+
},
|
|
16846
|
+
{
|
|
16847
|
+
name: "text",
|
|
16848
|
+
type: "string",
|
|
16849
|
+
required: true
|
|
16850
|
+
}
|
|
16851
|
+
],
|
|
16852
|
+
default: "INSERT_TEXT",
|
|
16853
|
+
tier: "presentation"
|
|
16854
|
+
},
|
|
16855
|
+
onSetMode: {
|
|
16856
|
+
types: [
|
|
16857
|
+
"string"
|
|
16858
|
+
],
|
|
16859
|
+
description: "Declarative bus listen: switch editor mode and caret style.",
|
|
16860
|
+
kind: "event-listen",
|
|
16861
|
+
listenPayloadSchema: [
|
|
16862
|
+
{
|
|
16863
|
+
name: "editorId",
|
|
16864
|
+
type: "string",
|
|
16865
|
+
required: true
|
|
16866
|
+
},
|
|
16867
|
+
{
|
|
16868
|
+
name: "mode",
|
|
16869
|
+
type: "string",
|
|
16870
|
+
required: true
|
|
16871
|
+
},
|
|
16872
|
+
{
|
|
16873
|
+
name: "caret",
|
|
16874
|
+
type: "string",
|
|
16875
|
+
required: true,
|
|
16876
|
+
enumValues: [
|
|
16877
|
+
"bar",
|
|
16878
|
+
"block",
|
|
16879
|
+
"underline"
|
|
16880
|
+
]
|
|
16881
|
+
}
|
|
16882
|
+
],
|
|
16883
|
+
default: "SET_MODE",
|
|
16884
|
+
tier: "presentation"
|
|
16885
|
+
},
|
|
16886
|
+
motions: {
|
|
16887
|
+
types: [
|
|
16888
|
+
"array"
|
|
16889
|
+
],
|
|
16890
|
+
description: "Motion vocabulary this editor accepts. Default: the full `EditorMotion` set.",
|
|
16891
|
+
items: {
|
|
16892
|
+
types: [
|
|
16893
|
+
"string"
|
|
16894
|
+
],
|
|
16895
|
+
enumValues: [
|
|
16896
|
+
"left",
|
|
16897
|
+
"right",
|
|
16898
|
+
"up",
|
|
16899
|
+
"down",
|
|
16900
|
+
"word-forward",
|
|
16901
|
+
"word-back",
|
|
16902
|
+
"word-end",
|
|
16903
|
+
"line-start",
|
|
16904
|
+
"line-end",
|
|
16905
|
+
"first-nonblank",
|
|
16906
|
+
"doc-start",
|
|
16907
|
+
"doc-end",
|
|
16908
|
+
"paragraph-forward",
|
|
16909
|
+
"paragraph-back",
|
|
16910
|
+
"line",
|
|
16911
|
+
"selection"
|
|
16912
|
+
]
|
|
16913
|
+
},
|
|
16914
|
+
default: [
|
|
16915
|
+
"left",
|
|
16916
|
+
"right",
|
|
16917
|
+
"up",
|
|
16918
|
+
"down",
|
|
16919
|
+
"word-forward",
|
|
16920
|
+
"word-back",
|
|
16921
|
+
"word-end",
|
|
16922
|
+
"line-start",
|
|
16923
|
+
"line-end",
|
|
16924
|
+
"first-nonblank",
|
|
16925
|
+
"doc-start",
|
|
16926
|
+
"doc-end",
|
|
16927
|
+
"paragraph-forward",
|
|
16928
|
+
"paragraph-back",
|
|
16929
|
+
"line",
|
|
16930
|
+
"selection"
|
|
16931
|
+
],
|
|
16932
|
+
tier: "presentation"
|
|
16933
|
+
},
|
|
16934
|
+
operators: {
|
|
16935
|
+
types: [
|
|
16936
|
+
"array"
|
|
16937
|
+
],
|
|
16938
|
+
description: "Operator vocabulary this editor accepts. Default: the full `EditorOperator` set.",
|
|
16939
|
+
items: {
|
|
16940
|
+
types: [
|
|
16941
|
+
"string"
|
|
16942
|
+
],
|
|
16943
|
+
enumValues: [
|
|
16944
|
+
"delete",
|
|
16945
|
+
"yank",
|
|
16946
|
+
"change"
|
|
16947
|
+
]
|
|
16948
|
+
},
|
|
16949
|
+
default: [
|
|
16950
|
+
"delete",
|
|
16951
|
+
"yank",
|
|
16952
|
+
"change"
|
|
16953
|
+
],
|
|
16954
|
+
tier: "presentation"
|
|
16696
16955
|
}
|
|
16697
16956
|
}
|
|
16698
16957
|
},
|
|
@@ -26755,7 +27014,12 @@ var patterns_registry_default = {
|
|
|
26755
27014
|
{
|
|
26756
27015
|
name: "next",
|
|
26757
27016
|
type: "string",
|
|
26758
|
-
required: true
|
|
27017
|
+
required: true,
|
|
27018
|
+
enumValues: [
|
|
27019
|
+
"up",
|
|
27020
|
+
"down",
|
|
27021
|
+
"none"
|
|
27022
|
+
]
|
|
26759
27023
|
}
|
|
26760
27024
|
]
|
|
26761
27025
|
},
|
|
@@ -27223,7 +27487,12 @@ var patterns_registry_default = {
|
|
|
27223
27487
|
{
|
|
27224
27488
|
name: "vote",
|
|
27225
27489
|
type: "string",
|
|
27226
|
-
required: true
|
|
27490
|
+
required: true,
|
|
27491
|
+
enumValues: [
|
|
27492
|
+
"up",
|
|
27493
|
+
"down",
|
|
27494
|
+
"none"
|
|
27495
|
+
]
|
|
27227
27496
|
}
|
|
27228
27497
|
]
|
|
27229
27498
|
},
|
|
@@ -36297,7 +36566,11 @@ var patterns_registry_default = {
|
|
|
36297
36566
|
{
|
|
36298
36567
|
name: "direction",
|
|
36299
36568
|
type: "string",
|
|
36300
|
-
required: true
|
|
36569
|
+
required: true,
|
|
36570
|
+
enumValues: [
|
|
36571
|
+
"asc",
|
|
36572
|
+
"desc"
|
|
36573
|
+
]
|
|
36301
36574
|
}
|
|
36302
36575
|
]
|
|
36303
36576
|
},
|
|
@@ -38261,7 +38534,13 @@ var patterns_registry_default = {
|
|
|
38261
38534
|
{
|
|
38262
38535
|
name: "direction",
|
|
38263
38536
|
type: "string",
|
|
38264
|
-
required: true
|
|
38537
|
+
required: true,
|
|
38538
|
+
enumValues: [
|
|
38539
|
+
"up",
|
|
38540
|
+
"down",
|
|
38541
|
+
"left",
|
|
38542
|
+
"right"
|
|
38543
|
+
]
|
|
38265
38544
|
},
|
|
38266
38545
|
{
|
|
38267
38546
|
name: "pressed",
|
|
@@ -39292,6 +39571,7 @@ var patterns_registry_default = {
|
|
|
39292
39571
|
"string"
|
|
39293
39572
|
],
|
|
39294
39573
|
enumValues: [
|
|
39574
|
+
"solid",
|
|
39295
39575
|
"dashed",
|
|
39296
39576
|
"dotted"
|
|
39297
39577
|
]
|
|
@@ -40669,6 +40949,7 @@ var patterns_registry_default = {
|
|
|
40669
40949
|
"string"
|
|
40670
40950
|
],
|
|
40671
40951
|
enumValues: [
|
|
40952
|
+
"solid",
|
|
40672
40953
|
"dashed",
|
|
40673
40954
|
"dotted"
|
|
40674
40955
|
]
|
|
@@ -41949,6 +42230,7 @@ var patterns_registry_default = {
|
|
|
41949
42230
|
"string"
|
|
41950
42231
|
],
|
|
41951
42232
|
enumValues: [
|
|
42233
|
+
"solid",
|
|
41952
42234
|
"dashed",
|
|
41953
42235
|
"dotted"
|
|
41954
42236
|
]
|
|
@@ -42420,6 +42702,7 @@ var patterns_registry_default = {
|
|
|
42420
42702
|
"string"
|
|
42421
42703
|
],
|
|
42422
42704
|
enumValues: [
|
|
42705
|
+
"solid",
|
|
42423
42706
|
"dashed",
|
|
42424
42707
|
"dotted"
|
|
42425
42708
|
]
|
|
@@ -42705,6 +42988,7 @@ var patterns_registry_default = {
|
|
|
42705
42988
|
"string"
|
|
42706
42989
|
],
|
|
42707
42990
|
enumValues: [
|
|
42991
|
+
"solid",
|
|
42708
42992
|
"dashed",
|
|
42709
42993
|
"dotted"
|
|
42710
42994
|
]
|
|
@@ -43013,6 +43297,7 @@ var patterns_registry_default = {
|
|
|
43013
43297
|
"string"
|
|
43014
43298
|
],
|
|
43015
43299
|
enumValues: [
|
|
43300
|
+
"solid",
|
|
43016
43301
|
"dashed",
|
|
43017
43302
|
"dotted"
|
|
43018
43303
|
]
|
|
@@ -44553,6 +44838,7 @@ var patterns_registry_default = {
|
|
|
44553
44838
|
"string"
|
|
44554
44839
|
],
|
|
44555
44840
|
enumValues: [
|
|
44841
|
+
"solid",
|
|
44556
44842
|
"dashed",
|
|
44557
44843
|
"dotted"
|
|
44558
44844
|
]
|
|
@@ -45767,6 +46053,7 @@ var patterns_registry_default = {
|
|
|
45767
46053
|
"string"
|
|
45768
46054
|
],
|
|
45769
46055
|
enumValues: [
|
|
46056
|
+
"solid",
|
|
45770
46057
|
"dashed",
|
|
45771
46058
|
"dotted"
|
|
45772
46059
|
]
|
|
@@ -50666,6 +50953,7 @@ var patterns_registry_default = {
|
|
|
50666
50953
|
"string"
|
|
50667
50954
|
],
|
|
50668
50955
|
enumValues: [
|
|
50956
|
+
"solid",
|
|
50669
50957
|
"dashed",
|
|
50670
50958
|
"dotted"
|
|
50671
50959
|
]
|
|
@@ -56041,7 +56329,7 @@ var integrators_registry_default = {
|
|
|
56041
56329
|
// src/patterns/component-mapping.json
|
|
56042
56330
|
var component_mapping_default = {
|
|
56043
56331
|
version: "1.0.0",
|
|
56044
|
-
exportedAt: "2026-09-
|
|
56332
|
+
exportedAt: "2026-09-04T03:53:29.561Z",
|
|
56045
56333
|
mappings: {
|
|
56046
56334
|
"page-header": {
|
|
56047
56335
|
component: "PageHeader",
|
|
@@ -57481,7 +57769,7 @@ var component_mapping_default = {
|
|
|
57481
57769
|
// src/patterns/event-contracts.json
|
|
57482
57770
|
var event_contracts_default = {
|
|
57483
57771
|
version: "1.0.0",
|
|
57484
|
-
exportedAt: "2026-09-
|
|
57772
|
+
exportedAt: "2026-09-04T03:53:29.561Z",
|
|
57485
57773
|
contracts: {
|
|
57486
57774
|
form: {
|
|
57487
57775
|
emits: [
|
|
@@ -58391,6 +58679,20 @@ var event_contracts_default = {
|
|
|
58391
58679
|
payload: {
|
|
58392
58680
|
type: "object"
|
|
58393
58681
|
}
|
|
58682
|
+
},
|
|
58683
|
+
{
|
|
58684
|
+
event: "EDITOR_FOCUS",
|
|
58685
|
+
trigger: "action",
|
|
58686
|
+
payload: {
|
|
58687
|
+
type: "object"
|
|
58688
|
+
}
|
|
58689
|
+
},
|
|
58690
|
+
{
|
|
58691
|
+
event: "EDITOR_BLUR",
|
|
58692
|
+
trigger: "action",
|
|
58693
|
+
payload: {
|
|
58694
|
+
type: "object"
|
|
58695
|
+
}
|
|
58394
58696
|
}
|
|
58395
58697
|
],
|
|
58396
58698
|
requires: [],
|