@almadar/core 10.129.0 → 11.0.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/behavior-package.d.ts +49 -11
- package/dist/behavior-package.js +1 -1
- package/dist/{orbital-CkFdDS9f.d.ts → builders-BhnofAik.d.ts} +5966 -7116
- package/dist/builders.d.ts +6 -6
- package/dist/builders.js +7 -6
- package/dist/{bus-CcbB__oo.d.ts → bus-BrRFWDQK.d.ts} +270 -354
- package/dist/chunk-347APWFM.js +286 -0
- package/dist/chunk-347APWFM.js.map +1 -0
- package/dist/chunk-3URQAGD7.js +98 -0
- package/dist/chunk-3URQAGD7.js.map +1 -0
- package/dist/chunk-7GHJU5WI.js +39 -0
- package/dist/chunk-7GHJU5WI.js.map +1 -0
- package/dist/chunk-B4MNHGBP.js +8 -0
- package/dist/chunk-B4MNHGBP.js.map +1 -0
- package/dist/{chunk-KDMV222Q.js → chunk-F6KHUW7T.js} +304 -373
- package/dist/chunk-F6KHUW7T.js.map +1 -0
- package/dist/chunk-FGT5OS2Y.js +918 -0
- package/dist/chunk-FGT5OS2Y.js.map +1 -0
- package/dist/chunk-FQLEAMAB.js +24 -0
- package/dist/chunk-FQLEAMAB.js.map +1 -0
- package/dist/chunk-HEXOGHQ4.js +3264 -0
- package/dist/chunk-HEXOGHQ4.js.map +1 -0
- package/dist/chunk-JCD6GLBX.js +412 -0
- package/dist/chunk-JCD6GLBX.js.map +1 -0
- package/dist/{chunk-QUOTJULD.js → chunk-MGLG2XLD.js} +20 -219
- package/dist/chunk-MGLG2XLD.js.map +1 -0
- package/dist/chunk-MTBEBSNO.js +1293 -0
- package/dist/chunk-MTBEBSNO.js.map +1 -0
- package/dist/{chunk-X4SC7FGF.js → chunk-RGACZEYC.js} +99 -96
- package/dist/chunk-RGACZEYC.js.map +1 -0
- package/dist/{chunk-RYPVOI6H.js → chunk-UZPYYI37.js} +524 -26
- package/dist/{chunk-RYPVOI6H.js.map → chunk-UZPYYI37.js.map} +1 -1
- package/dist/chunk-VG7BRFUD.js +152 -0
- package/dist/chunk-VG7BRFUD.js.map +1 -0
- package/dist/chunk-Y2DYZPP5.js +2329 -0
- package/dist/chunk-Y2DYZPP5.js.map +1 -0
- package/dist/chunk-ZEI7C32D.js +1566 -0
- package/dist/chunk-ZEI7C32D.js.map +1 -0
- package/dist/{domain-Dz3jP-UM.d.ts → domain-CfKPpXCP.d.ts} +51 -51
- package/dist/{effect-result-Bebwu9yT.d.ts → effect-result-DPERsn_v.d.ts} +641 -851
- package/dist/{effect-CiEVLsZz.d.ts → effect-wP-IdRt2.d.ts} +236 -443
- package/dist/{expression-D0Fs0riG.d.ts → expression-DirYKz-f.d.ts} +5 -13
- package/dist/factory/index.d.ts +7 -144
- package/dist/factory/index.js +8 -8
- package/dist/factory-runtime/index.d.ts +7 -6
- package/dist/factory-runtime/index.js +527 -8
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/fixtures.d.ts +9 -11
- package/dist/fixtures.js +12 -8
- package/dist/fixtures.js.map +1 -1
- package/dist/i18n/index.d.ts +15 -19
- package/dist/i18n/index.js +2 -1
- package/dist/{index-BC-Jycqj.d.ts → index-DomgmRBG.d.ts} +29 -729
- package/dist/index.d.ts +69 -247
- package/dist/index.js +322 -986
- package/dist/index.js.map +1 -1
- package/dist/kernel-wire.d.ts +3 -3
- package/dist/kernel-wire.js +3 -79
- package/dist/kernel-wire.js.map +1 -1
- package/dist/language/constructs.json +22 -2
- package/dist/language/program-types.json +203 -22
- package/dist/language/protocols.json +46 -0
- package/dist/language/ui-vocabulary.json +1697 -0
- package/dist/language/validation-codes.json +1205 -1215
- package/dist/language/vocabulary.json +44 -8
- package/dist/language-data.d.ts +7 -4
- package/dist/language-data.js +20 -14
- package/dist/language-data.js.map +1 -1
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/definitions.d.ts +2 -2
- package/dist/patterns/definitions.js +1 -1
- package/dist/patterns/event-contracts.json +1 -15
- package/dist/patterns/index.d.ts +24 -120
- package/dist/patterns/index.js +3 -3
- package/dist/patterns/patterns-registry.json +522 -24
- package/dist/patterns/registry.json +522 -24
- package/dist/trait-CzG9M89M.d.ts +3519 -0
- package/dist/types/index.d.ts +9 -10
- package/dist/types/index.js +11 -5
- package/dist/{types-DGwrltUF.d.ts → types-BHlTjwWd.d.ts} +3 -3
- package/fixtures/events-wire/client-effects-by-trait/response.json +0 -18
- package/fixtures/events-wire/client-effects-provenance/response.json +0 -18
- package/fixtures/events-wire/effect-results-every-kind/response.json +2 -27
- package/fixtures/events-wire/navigate-1/response.json +8 -5
- package/fixtures/events-wire/navigate-2/response.json +11 -8
- package/fixtures/events-wire/navigate-3/response.json +14 -11
- package/fixtures/events-wire/navigate-back/response.json +7 -4
- package/fixtures/events-wire/render-ui-3/response.json +12 -9
- package/fixtures/events-wire/render-ui-clear/response.json +0 -7
- package/fixtures/events-wire/sse-stream/response.json +0 -20
- package/fixtures/events-wire/sse-stream/stream.json +0 -20
- package/fixtures/events-wire/stateless-traits/response.json +14 -5
- package/fixtures/kernel-wire/golden/basic-entity.json +1687 -0
- package/fixtures/kernel-wire/golden/entity-rerender.json +743 -0
- package/fixtures/kernel-wire/golden/rollback.json +793 -0
- package/fixtures/kernel-wire/golden/tick-counter.json +1538 -0
- package/fixtures/kernel-wire/golden/two-orbital-chore.json +847 -0
- package/fixtures/kernel-wire/golden/two-orbital-task.json +457 -0
- package/fixtures/kernel-wire/played-step.json +136 -0
- package/fixtures/kernel-wire/scripts/basic-entity.json +28 -0
- package/fixtures/kernel-wire/scripts/entity-rerender.json +13 -0
- package/fixtures/kernel-wire/scripts/rollback.json +53 -0
- package/fixtures/kernel-wire/scripts/tick-counter.json +26 -0
- package/fixtures/kernel-wire/scripts/two-orbital-chore.json +9 -0
- package/fixtures/kernel-wire/scripts/two-orbital-task.json +9 -0
- package/package.json +28 -19
- package/dist/builders-DmZE5By0.d.ts +0 -2663
- package/dist/chunk-45I2O4SJ.js +0 -4646
- package/dist/chunk-45I2O4SJ.js.map +0 -1
- package/dist/chunk-6LR43Z5E.js +0 -3061
- package/dist/chunk-6LR43Z5E.js.map +0 -1
- package/dist/chunk-GIUA3NUJ.js +0 -809
- package/dist/chunk-GIUA3NUJ.js.map +0 -1
- package/dist/chunk-GTY53NS5.js +0 -1908
- package/dist/chunk-GTY53NS5.js.map +0 -1
- package/dist/chunk-JOHDVS6J.js +0 -1614
- package/dist/chunk-JOHDVS6J.js.map +0 -1
- package/dist/chunk-KDMV222Q.js.map +0 -1
- package/dist/chunk-QRHJUS3D.js +0 -23
- package/dist/chunk-QRHJUS3D.js.map +0 -1
- package/dist/chunk-QUOTJULD.js.map +0 -1
- package/dist/chunk-V5VNGRVU.js +0 -66
- package/dist/chunk-V5VNGRVU.js.map +0 -1
- package/dist/chunk-X4SC7FGF.js.map +0 -1
- package/dist/entityAccess-BPSz1i2n.d.ts +0 -80
- package/dist/mock/index.d.ts +0 -153
- package/dist/mock/index.js +0 -190
- package/dist/mock/index.js.map +0 -1
- package/dist/schema-T5RT5s6H.d.ts +0 -282
- package/dist/state-machine/index.d.ts +0 -359
- package/dist/state-machine/index.js +0 -3
- package/dist/state-machine/index.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/patterns/patterns-registry.json
|
|
2
2
|
var patterns_registry_default = {
|
|
3
3
|
version: "1.0.0",
|
|
4
|
-
exportedAt: "2026-
|
|
4
|
+
exportedAt: "2026-11-03T10:49:17.209Z",
|
|
5
5
|
patterns: {
|
|
6
6
|
"detail-panel": {
|
|
7
7
|
type: "detail-panel",
|
|
@@ -13788,12 +13788,37 @@ var patterns_registry_default = {
|
|
|
13788
13788
|
types: [
|
|
13789
13789
|
"sexpr"
|
|
13790
13790
|
],
|
|
13791
|
-
description: "
|
|
13791
|
+
description: "The running program: the dispatcher's payloads, and the machines the verify panel draws.",
|
|
13792
13792
|
decoder: {
|
|
13793
13793
|
name: "parseOrbitalSchema",
|
|
13794
13794
|
from: "@almadar/core"
|
|
13795
13795
|
}
|
|
13796
13796
|
},
|
|
13797
|
+
describe: {
|
|
13798
|
+
types: [
|
|
13799
|
+
"function"
|
|
13800
|
+
],
|
|
13801
|
+
description: "Reads a trait's printed `.lolo` for the verify panel's code column.",
|
|
13802
|
+
callbackArgs: [
|
|
13803
|
+
{
|
|
13804
|
+
name: "value",
|
|
13805
|
+
type: "object"
|
|
13806
|
+
}
|
|
13807
|
+
],
|
|
13808
|
+
renderCallback: true
|
|
13809
|
+
},
|
|
13810
|
+
behavior: {
|
|
13811
|
+
types: [
|
|
13812
|
+
"string"
|
|
13813
|
+
],
|
|
13814
|
+
description: "The program's behavior, naming the traits it authors itself."
|
|
13815
|
+
},
|
|
13816
|
+
dependencies: {
|
|
13817
|
+
types: [
|
|
13818
|
+
"object"
|
|
13819
|
+
],
|
|
13820
|
+
description: "The program's imports (`behavior/dependencies`): the layers the verify panel's flow places each unit in."
|
|
13821
|
+
},
|
|
13797
13822
|
enter: {
|
|
13798
13823
|
types: [
|
|
13799
13824
|
"string"
|
|
@@ -33678,7 +33703,7 @@ var patterns_registry_default = {
|
|
|
33678
33703
|
types: [
|
|
33679
33704
|
"function"
|
|
33680
33705
|
],
|
|
33681
|
-
description: "The trait's reaction to Sign out; the
|
|
33706
|
+
description: "The trait's reaction to Sign out; the program ends the session with `(auth/sign-out)` in its arm for the event.",
|
|
33682
33707
|
kind: "callback",
|
|
33683
33708
|
callbackArgs: []
|
|
33684
33709
|
},
|
|
@@ -39958,8 +39983,16 @@ var patterns_registry_default = {
|
|
|
39958
39983
|
types: [
|
|
39959
39984
|
"object"
|
|
39960
39985
|
],
|
|
39961
|
-
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.",
|
|
39962
|
-
|
|
39986
|
+
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. A program authors it as a record of the line number (as text) to severity, read the same way.",
|
|
39987
|
+
mapValue: {
|
|
39988
|
+
types: [
|
|
39989
|
+
"string"
|
|
39990
|
+
],
|
|
39991
|
+
enumValues: [
|
|
39992
|
+
"error",
|
|
39993
|
+
"warning"
|
|
39994
|
+
]
|
|
39995
|
+
}
|
|
39963
39996
|
},
|
|
39964
39997
|
highlightLines: {
|
|
39965
39998
|
types: [
|
|
@@ -40190,7 +40223,7 @@ var patterns_registry_default = {
|
|
|
40190
40223
|
description: "Show the program in these natural languages as tabs, translating on the fly. Only meaningful for `language` 'lolo' / 'orb'; ignored otherwise. Fewer than two entries renders exactly as without the prop. `editable` wins: editing a translation is not a thing, so the English source is shown and this is ignored.",
|
|
40191
40224
|
items: {
|
|
40192
40225
|
types: [
|
|
40193
|
-
"
|
|
40226
|
+
"string"
|
|
40194
40227
|
]
|
|
40195
40228
|
}
|
|
40196
40229
|
},
|
|
@@ -40817,6 +40850,48 @@ var patterns_registry_default = {
|
|
|
40817
40850
|
description: "Editable only: number the lines in a gutter (lines with errors in red). Default on.",
|
|
40818
40851
|
tier: "presentation"
|
|
40819
40852
|
},
|
|
40853
|
+
askEvent: {
|
|
40854
|
+
types: [
|
|
40855
|
+
"string"
|
|
40856
|
+
],
|
|
40857
|
+
description: "Read-only only: event emitted when the reader picks Ask on code they selected (as `UI:<askEvent>`)",
|
|
40858
|
+
kind: "event-ref",
|
|
40859
|
+
emitPayloadSchema: [
|
|
40860
|
+
{
|
|
40861
|
+
name: "selectedText",
|
|
40862
|
+
type: "string",
|
|
40863
|
+
required: true
|
|
40864
|
+
}
|
|
40865
|
+
],
|
|
40866
|
+
tier: "presentation"
|
|
40867
|
+
},
|
|
40868
|
+
noteEvent: {
|
|
40869
|
+
types: [
|
|
40870
|
+
"string"
|
|
40871
|
+
],
|
|
40872
|
+
description: "Read-only only: event emitted when the reader picks Note on code they selected (as `UI:<noteEvent>`)",
|
|
40873
|
+
kind: "event-ref",
|
|
40874
|
+
emitPayloadSchema: [
|
|
40875
|
+
{
|
|
40876
|
+
name: "selectedText",
|
|
40877
|
+
type: "string",
|
|
40878
|
+
required: true
|
|
40879
|
+
}
|
|
40880
|
+
],
|
|
40881
|
+
tier: "presentation"
|
|
40882
|
+
},
|
|
40883
|
+
askLabel: {
|
|
40884
|
+
types: [
|
|
40885
|
+
"string"
|
|
40886
|
+
],
|
|
40887
|
+
description: "Ask action label (default: translated)"
|
|
40888
|
+
},
|
|
40889
|
+
noteLabel: {
|
|
40890
|
+
types: [
|
|
40891
|
+
"string"
|
|
40892
|
+
],
|
|
40893
|
+
description: "Note action label (default: translated)"
|
|
40894
|
+
},
|
|
40820
40895
|
enter: {
|
|
40821
40896
|
types: [
|
|
40822
40897
|
"string"
|
|
@@ -59196,7 +59271,32 @@ var patterns_registry_default = {
|
|
|
59196
59271
|
types: [
|
|
59197
59272
|
"node"
|
|
59198
59273
|
]
|
|
59199
|
-
}
|
|
59274
|
+
},
|
|
59275
|
+
mapKeyEnum: [
|
|
59276
|
+
"main",
|
|
59277
|
+
"sidebar",
|
|
59278
|
+
"dock",
|
|
59279
|
+
"modal",
|
|
59280
|
+
"drawer",
|
|
59281
|
+
"overlay",
|
|
59282
|
+
"center",
|
|
59283
|
+
"toast",
|
|
59284
|
+
"floating",
|
|
59285
|
+
"system",
|
|
59286
|
+
"content",
|
|
59287
|
+
"screen",
|
|
59288
|
+
"hud",
|
|
59289
|
+
"hud-top",
|
|
59290
|
+
"hud-bottom",
|
|
59291
|
+
"hud.health",
|
|
59292
|
+
"hud.score",
|
|
59293
|
+
"hud.inventory",
|
|
59294
|
+
"hud.stamina",
|
|
59295
|
+
"overlay.inventory",
|
|
59296
|
+
"overlay.dialogue",
|
|
59297
|
+
"overlay.menu",
|
|
59298
|
+
"overlay.pause"
|
|
59299
|
+
]
|
|
59200
59300
|
}
|
|
59201
59301
|
},
|
|
59202
59302
|
propertyRequired: [
|
|
@@ -59948,6 +60048,12 @@ var patterns_registry_default = {
|
|
|
59948
60048
|
description: "Disable the remove button (renders without \xD7 control)",
|
|
59949
60049
|
default: true
|
|
59950
60050
|
},
|
|
60051
|
+
selected: {
|
|
60052
|
+
types: [
|
|
60053
|
+
"boolean"
|
|
60054
|
+
],
|
|
60055
|
+
description: "Pressed state of the pill body (filter toggle), exposed as aria-pressed"
|
|
60056
|
+
},
|
|
59951
60057
|
onClick: {
|
|
59952
60058
|
types: [
|
|
59953
60059
|
"function"
|
|
@@ -73969,7 +74075,11 @@ var patterns_registry_default = {
|
|
|
73969
74075
|
},
|
|
73970
74076
|
persistence: {
|
|
73971
74077
|
types: [
|
|
73972
|
-
"
|
|
74078
|
+
"string"
|
|
74079
|
+
],
|
|
74080
|
+
enumValues: [
|
|
74081
|
+
"persistent",
|
|
74082
|
+
"runtime"
|
|
73973
74083
|
]
|
|
73974
74084
|
},
|
|
73975
74085
|
fields: {
|
|
@@ -74716,7 +74826,11 @@ var patterns_registry_default = {
|
|
|
74716
74826
|
},
|
|
74717
74827
|
persistence: {
|
|
74718
74828
|
types: [
|
|
74719
|
-
"
|
|
74829
|
+
"string"
|
|
74830
|
+
],
|
|
74831
|
+
enumValues: [
|
|
74832
|
+
"persistent",
|
|
74833
|
+
"runtime"
|
|
74720
74834
|
]
|
|
74721
74835
|
},
|
|
74722
74836
|
fields: {
|
|
@@ -114917,6 +115031,38 @@ var patterns_registry_default = {
|
|
|
114917
115031
|
}
|
|
114918
115032
|
]
|
|
114919
115033
|
},
|
|
115034
|
+
relationsData: {
|
|
115035
|
+
types: [
|
|
115036
|
+
"object"
|
|
115037
|
+
],
|
|
115038
|
+
description: "The kernel-injected `{ value, label }` options per relation field; a relation chip reads its label from the option for its id (labelled by the relation's declared display field), else shows the record id.",
|
|
115039
|
+
mapValue: {
|
|
115040
|
+
types: [
|
|
115041
|
+
"array"
|
|
115042
|
+
],
|
|
115043
|
+
items: {
|
|
115044
|
+
types: [
|
|
115045
|
+
"object"
|
|
115046
|
+
],
|
|
115047
|
+
properties: {
|
|
115048
|
+
value: {
|
|
115049
|
+
types: [
|
|
115050
|
+
"string"
|
|
115051
|
+
]
|
|
115052
|
+
},
|
|
115053
|
+
label: {
|
|
115054
|
+
types: [
|
|
115055
|
+
"string"
|
|
115056
|
+
]
|
|
115057
|
+
}
|
|
115058
|
+
},
|
|
115059
|
+
required: [
|
|
115060
|
+
"value",
|
|
115061
|
+
"label"
|
|
115062
|
+
]
|
|
115063
|
+
}
|
|
115064
|
+
}
|
|
115065
|
+
},
|
|
114920
115066
|
title: {
|
|
114921
115067
|
types: [
|
|
114922
115068
|
"string"
|
|
@@ -116781,10 +116927,35 @@ var patterns_registry_default = {
|
|
|
116781
116927
|
propsSchema: {
|
|
116782
116928
|
slot: {
|
|
116783
116929
|
types: [
|
|
116784
|
-
"
|
|
116930
|
+
"string"
|
|
116785
116931
|
],
|
|
116786
116932
|
description: "slot prop",
|
|
116787
|
-
required: true
|
|
116933
|
+
required: true,
|
|
116934
|
+
enumValues: [
|
|
116935
|
+
"main",
|
|
116936
|
+
"sidebar",
|
|
116937
|
+
"dock",
|
|
116938
|
+
"modal",
|
|
116939
|
+
"drawer",
|
|
116940
|
+
"overlay",
|
|
116941
|
+
"center",
|
|
116942
|
+
"toast",
|
|
116943
|
+
"floating",
|
|
116944
|
+
"system",
|
|
116945
|
+
"content",
|
|
116946
|
+
"screen",
|
|
116947
|
+
"hud",
|
|
116948
|
+
"hud-top",
|
|
116949
|
+
"hud-bottom",
|
|
116950
|
+
"hud.health",
|
|
116951
|
+
"hud.score",
|
|
116952
|
+
"hud.inventory",
|
|
116953
|
+
"hud.stamina",
|
|
116954
|
+
"overlay.inventory",
|
|
116955
|
+
"overlay.dialogue",
|
|
116956
|
+
"overlay.menu",
|
|
116957
|
+
"overlay.pause"
|
|
116958
|
+
]
|
|
116788
116959
|
},
|
|
116789
116960
|
portal: {
|
|
116790
116961
|
types: [
|
|
@@ -121115,21 +121286,61 @@ var patterns_registry_default = {
|
|
|
121115
121286
|
},
|
|
121116
121287
|
fieldType: {
|
|
121117
121288
|
types: [
|
|
121118
|
-
"
|
|
121289
|
+
"string",
|
|
121290
|
+
"unknown"
|
|
121119
121291
|
],
|
|
121120
121292
|
description: "Field-type symbol variant. @default 'string'",
|
|
121293
|
+
enumValues: [
|
|
121294
|
+
"string",
|
|
121295
|
+
"number",
|
|
121296
|
+
"int",
|
|
121297
|
+
"boolean",
|
|
121298
|
+
"date",
|
|
121299
|
+
"timestamp",
|
|
121300
|
+
"datetime",
|
|
121301
|
+
"instant",
|
|
121302
|
+
"email",
|
|
121303
|
+
"url",
|
|
121304
|
+
"phone",
|
|
121305
|
+
"uuid",
|
|
121306
|
+
"image",
|
|
121307
|
+
"money",
|
|
121308
|
+
"file",
|
|
121309
|
+
"bytes",
|
|
121310
|
+
"array",
|
|
121311
|
+
"object",
|
|
121312
|
+
"enum",
|
|
121313
|
+
"relation",
|
|
121314
|
+
"trait",
|
|
121315
|
+
"orbital",
|
|
121316
|
+
"behavior",
|
|
121317
|
+
"slot",
|
|
121318
|
+
"pattern",
|
|
121319
|
+
"node",
|
|
121320
|
+
"event",
|
|
121321
|
+
"EventAddress",
|
|
121322
|
+
"CallKey",
|
|
121323
|
+
"SExpr",
|
|
121324
|
+
"union",
|
|
121325
|
+
"tuple",
|
|
121326
|
+
"field"
|
|
121327
|
+
],
|
|
121121
121328
|
default: "string"
|
|
121122
121329
|
},
|
|
121123
121330
|
persistence: {
|
|
121124
121331
|
types: [
|
|
121125
|
-
"
|
|
121332
|
+
"string"
|
|
121126
121333
|
],
|
|
121127
121334
|
description: "Persistence symbol variant (also the entity's ring). @default 'persistent'",
|
|
121335
|
+
enumValues: [
|
|
121336
|
+
"persistent",
|
|
121337
|
+
"runtime"
|
|
121338
|
+
],
|
|
121128
121339
|
default: "persistent"
|
|
121129
121340
|
},
|
|
121130
121341
|
namespace: {
|
|
121131
121342
|
types: [
|
|
121132
|
-
"
|
|
121343
|
+
"string"
|
|
121133
121344
|
],
|
|
121134
121345
|
description: "Operator category tint. @default 'arithmetic'",
|
|
121135
121346
|
default: "arithmetic"
|
|
@@ -125491,6 +125702,96 @@ var patterns_registry_default = {
|
|
|
125491
125702
|
}
|
|
125492
125703
|
]
|
|
125493
125704
|
},
|
|
125705
|
+
toolbar: {
|
|
125706
|
+
types: [
|
|
125707
|
+
"boolean"
|
|
125708
|
+
],
|
|
125709
|
+
description: "The top bar (lenses, scope, screen size); an embedding host that drives the canvas itself can leave it out.",
|
|
125710
|
+
default: true
|
|
125711
|
+
},
|
|
125712
|
+
fitOnResize: {
|
|
125713
|
+
types: [
|
|
125714
|
+
"boolean"
|
|
125715
|
+
],
|
|
125716
|
+
description: "Refit whenever the frame resizes (a host column that grows on hover); off, a user's pan and zoom survive.",
|
|
125717
|
+
default: false
|
|
125718
|
+
},
|
|
125719
|
+
flowSelection: {
|
|
125720
|
+
types: [
|
|
125721
|
+
"string"
|
|
125722
|
+
],
|
|
125723
|
+
description: "Flow lens: the unit the host lights (`null`: none); absent, the user's own clicks select."
|
|
125724
|
+
},
|
|
125725
|
+
onFlowSelect: {
|
|
125726
|
+
types: [
|
|
125727
|
+
"function"
|
|
125728
|
+
],
|
|
125729
|
+
description: "Flow lens: the unit the user clicked.",
|
|
125730
|
+
kind: "callback",
|
|
125731
|
+
notification: true,
|
|
125732
|
+
callbackArgs: [
|
|
125733
|
+
{
|
|
125734
|
+
name: "unit",
|
|
125735
|
+
type: "object",
|
|
125736
|
+
schema: {
|
|
125737
|
+
types: [
|
|
125738
|
+
"object"
|
|
125739
|
+
],
|
|
125740
|
+
properties: {
|
|
125741
|
+
id: {
|
|
125742
|
+
types: [
|
|
125743
|
+
"string"
|
|
125744
|
+
]
|
|
125745
|
+
},
|
|
125746
|
+
name: {
|
|
125747
|
+
types: [
|
|
125748
|
+
"string"
|
|
125749
|
+
]
|
|
125750
|
+
},
|
|
125751
|
+
column: {
|
|
125752
|
+
types: [
|
|
125753
|
+
"string"
|
|
125754
|
+
],
|
|
125755
|
+
enumValues: [
|
|
125756
|
+
"own",
|
|
125757
|
+
"io",
|
|
125758
|
+
"std",
|
|
125759
|
+
"primitive",
|
|
125760
|
+
"unknown"
|
|
125761
|
+
]
|
|
125762
|
+
},
|
|
125763
|
+
traits: {
|
|
125764
|
+
types: [
|
|
125765
|
+
"array"
|
|
125766
|
+
],
|
|
125767
|
+
items: {
|
|
125768
|
+
types: [
|
|
125769
|
+
"string"
|
|
125770
|
+
]
|
|
125771
|
+
}
|
|
125772
|
+
},
|
|
125773
|
+
renderPieces: {
|
|
125774
|
+
types: [
|
|
125775
|
+
"array"
|
|
125776
|
+
],
|
|
125777
|
+
items: {
|
|
125778
|
+
types: [
|
|
125779
|
+
"string"
|
|
125780
|
+
]
|
|
125781
|
+
}
|
|
125782
|
+
}
|
|
125783
|
+
},
|
|
125784
|
+
required: [
|
|
125785
|
+
"id",
|
|
125786
|
+
"name",
|
|
125787
|
+
"column",
|
|
125788
|
+
"traits",
|
|
125789
|
+
"renderPieces"
|
|
125790
|
+
]
|
|
125791
|
+
}
|
|
125792
|
+
}
|
|
125793
|
+
]
|
|
125794
|
+
},
|
|
125494
125795
|
openBehaviorEvent: {
|
|
125495
125796
|
types: [
|
|
125496
125797
|
"string"
|
|
@@ -125640,6 +125941,7 @@ var patterns_registry_default = {
|
|
|
125640
125941
|
],
|
|
125641
125942
|
enumValues: [
|
|
125642
125943
|
"create",
|
|
125944
|
+
"upsert",
|
|
125643
125945
|
"update",
|
|
125644
125946
|
"delete",
|
|
125645
125947
|
"batch"
|
|
@@ -125685,6 +125987,16 @@ var patterns_registry_default = {
|
|
|
125685
125987
|
"string"
|
|
125686
125988
|
]
|
|
125687
125989
|
},
|
|
125990
|
+
target: {
|
|
125991
|
+
types: [
|
|
125992
|
+
"string"
|
|
125993
|
+
]
|
|
125994
|
+
},
|
|
125995
|
+
routed: {
|
|
125996
|
+
types: [
|
|
125997
|
+
"string"
|
|
125998
|
+
]
|
|
125999
|
+
},
|
|
125688
126000
|
durationMs: {
|
|
125689
126001
|
types: [
|
|
125690
126002
|
"number"
|
|
@@ -125723,7 +126035,11 @@ var patterns_registry_default = {
|
|
|
125723
126035
|
},
|
|
125724
126036
|
value: {
|
|
125725
126037
|
types: [
|
|
125726
|
-
"
|
|
126038
|
+
"string",
|
|
126039
|
+
"number",
|
|
126040
|
+
"unknown",
|
|
126041
|
+
"boolean",
|
|
126042
|
+
"date"
|
|
125727
126043
|
]
|
|
125728
126044
|
},
|
|
125729
126045
|
error: {
|
|
@@ -125840,7 +126156,11 @@ var patterns_registry_default = {
|
|
|
125840
126156
|
},
|
|
125841
126157
|
value: {
|
|
125842
126158
|
types: [
|
|
125843
|
-
"
|
|
126159
|
+
"string",
|
|
126160
|
+
"number",
|
|
126161
|
+
"unknown",
|
|
126162
|
+
"boolean",
|
|
126163
|
+
"date"
|
|
125844
126164
|
]
|
|
125845
126165
|
},
|
|
125846
126166
|
error: {
|
|
@@ -128476,7 +128796,7 @@ var patterns_registry_default = {
|
|
|
128476
128796
|
types: [
|
|
128477
128797
|
"object"
|
|
128478
128798
|
],
|
|
128479
|
-
description: "A host that verifies from the canvas: cards show verify controls and the trait's verdict, and follow
|
|
128799
|
+
description: "A host that verifies from the canvas: cards show verify controls and the trait's verdict, and follow the states a run reaches (`verify.follow`).",
|
|
128480
128800
|
properties: {
|
|
128481
128801
|
verdictOf: {
|
|
128482
128802
|
types: [
|
|
@@ -128487,11 +128807,17 @@ var patterns_registry_default = {
|
|
|
128487
128807
|
types: [
|
|
128488
128808
|
"function"
|
|
128489
128809
|
]
|
|
128810
|
+
},
|
|
128811
|
+
follow: {
|
|
128812
|
+
types: [
|
|
128813
|
+
"function"
|
|
128814
|
+
]
|
|
128490
128815
|
}
|
|
128491
128816
|
},
|
|
128492
128817
|
propertyRequired: [
|
|
128493
128818
|
"verdictOf",
|
|
128494
|
-
"playing"
|
|
128819
|
+
"playing",
|
|
128820
|
+
"follow"
|
|
128495
128821
|
]
|
|
128496
128822
|
},
|
|
128497
128823
|
enter: {
|
|
@@ -130200,6 +130526,7 @@ var patterns_registry_default = {
|
|
|
130200
130526
|
],
|
|
130201
130527
|
enumValues: [
|
|
130202
130528
|
"create",
|
|
130529
|
+
"upsert",
|
|
130203
130530
|
"update",
|
|
130204
130531
|
"delete",
|
|
130205
130532
|
"batch"
|
|
@@ -130245,6 +130572,16 @@ var patterns_registry_default = {
|
|
|
130245
130572
|
"string"
|
|
130246
130573
|
]
|
|
130247
130574
|
},
|
|
130575
|
+
target: {
|
|
130576
|
+
types: [
|
|
130577
|
+
"string"
|
|
130578
|
+
]
|
|
130579
|
+
},
|
|
130580
|
+
routed: {
|
|
130581
|
+
types: [
|
|
130582
|
+
"string"
|
|
130583
|
+
]
|
|
130584
|
+
},
|
|
130248
130585
|
durationMs: {
|
|
130249
130586
|
types: [
|
|
130250
130587
|
"number"
|
|
@@ -130283,7 +130620,11 @@ var patterns_registry_default = {
|
|
|
130283
130620
|
},
|
|
130284
130621
|
value: {
|
|
130285
130622
|
types: [
|
|
130286
|
-
"
|
|
130623
|
+
"string",
|
|
130624
|
+
"number",
|
|
130625
|
+
"unknown",
|
|
130626
|
+
"boolean",
|
|
130627
|
+
"date"
|
|
130287
130628
|
]
|
|
130288
130629
|
},
|
|
130289
130630
|
error: {
|
|
@@ -130400,7 +130741,11 @@ var patterns_registry_default = {
|
|
|
130400
130741
|
},
|
|
130401
130742
|
value: {
|
|
130402
130743
|
types: [
|
|
130403
|
-
"
|
|
130744
|
+
"string",
|
|
130745
|
+
"number",
|
|
130746
|
+
"unknown",
|
|
130747
|
+
"boolean",
|
|
130748
|
+
"date"
|
|
130404
130749
|
]
|
|
130405
130750
|
},
|
|
130406
130751
|
error: {
|
|
@@ -130671,6 +131016,7 @@ var patterns_registry_default = {
|
|
|
130671
131016
|
],
|
|
130672
131017
|
enumValues: [
|
|
130673
131018
|
"create",
|
|
131019
|
+
"upsert",
|
|
130674
131020
|
"update",
|
|
130675
131021
|
"delete",
|
|
130676
131022
|
"batch"
|
|
@@ -130716,6 +131062,16 @@ var patterns_registry_default = {
|
|
|
130716
131062
|
"string"
|
|
130717
131063
|
]
|
|
130718
131064
|
},
|
|
131065
|
+
target: {
|
|
131066
|
+
types: [
|
|
131067
|
+
"string"
|
|
131068
|
+
]
|
|
131069
|
+
},
|
|
131070
|
+
routed: {
|
|
131071
|
+
types: [
|
|
131072
|
+
"string"
|
|
131073
|
+
]
|
|
131074
|
+
},
|
|
130719
131075
|
durationMs: {
|
|
130720
131076
|
types: [
|
|
130721
131077
|
"number"
|
|
@@ -130754,7 +131110,11 @@ var patterns_registry_default = {
|
|
|
130754
131110
|
},
|
|
130755
131111
|
value: {
|
|
130756
131112
|
types: [
|
|
130757
|
-
"
|
|
131113
|
+
"string",
|
|
131114
|
+
"number",
|
|
131115
|
+
"unknown",
|
|
131116
|
+
"boolean",
|
|
131117
|
+
"date"
|
|
130758
131118
|
]
|
|
130759
131119
|
},
|
|
130760
131120
|
error: {
|
|
@@ -130871,7 +131231,11 @@ var patterns_registry_default = {
|
|
|
130871
131231
|
},
|
|
130872
131232
|
value: {
|
|
130873
131233
|
types: [
|
|
130874
|
-
"
|
|
131234
|
+
"string",
|
|
131235
|
+
"number",
|
|
131236
|
+
"unknown",
|
|
131237
|
+
"boolean",
|
|
131238
|
+
"date"
|
|
130875
131239
|
]
|
|
130876
131240
|
},
|
|
130877
131241
|
error: {
|
|
@@ -130979,7 +131343,11 @@ var patterns_registry_default = {
|
|
|
130979
131343
|
},
|
|
130980
131344
|
value: {
|
|
130981
131345
|
types: [
|
|
130982
|
-
"
|
|
131346
|
+
"string",
|
|
131347
|
+
"number",
|
|
131348
|
+
"unknown",
|
|
131349
|
+
"boolean",
|
|
131350
|
+
"date"
|
|
130983
131351
|
]
|
|
130984
131352
|
},
|
|
130985
131353
|
error: {
|
|
@@ -131032,6 +131400,7 @@ var patterns_registry_default = {
|
|
|
131032
131400
|
],
|
|
131033
131401
|
enumValues: [
|
|
131034
131402
|
"create",
|
|
131403
|
+
"upsert",
|
|
131035
131404
|
"update",
|
|
131036
131405
|
"delete",
|
|
131037
131406
|
"batch"
|
|
@@ -131077,6 +131446,16 @@ var patterns_registry_default = {
|
|
|
131077
131446
|
"string"
|
|
131078
131447
|
]
|
|
131079
131448
|
},
|
|
131449
|
+
target: {
|
|
131450
|
+
types: [
|
|
131451
|
+
"string"
|
|
131452
|
+
]
|
|
131453
|
+
},
|
|
131454
|
+
routed: {
|
|
131455
|
+
types: [
|
|
131456
|
+
"string"
|
|
131457
|
+
]
|
|
131458
|
+
},
|
|
131080
131459
|
durationMs: {
|
|
131081
131460
|
types: [
|
|
131082
131461
|
"number"
|
|
@@ -131115,7 +131494,11 @@ var patterns_registry_default = {
|
|
|
131115
131494
|
},
|
|
131116
131495
|
value: {
|
|
131117
131496
|
types: [
|
|
131118
|
-
"
|
|
131497
|
+
"string",
|
|
131498
|
+
"number",
|
|
131499
|
+
"unknown",
|
|
131500
|
+
"boolean",
|
|
131501
|
+
"date"
|
|
131119
131502
|
]
|
|
131120
131503
|
},
|
|
131121
131504
|
error: {
|
|
@@ -131899,6 +132282,121 @@ var patterns_registry_default = {
|
|
|
131899
132282
|
]
|
|
131900
132283
|
}
|
|
131901
132284
|
}
|
|
132285
|
+
},
|
|
132286
|
+
"machine-panel": {
|
|
132287
|
+
type: "machine-panel",
|
|
132288
|
+
category: "display",
|
|
132289
|
+
sourceFile: "components/core/organisms/debug/MachinePanel.tsx",
|
|
132290
|
+
tier: "organisms",
|
|
132291
|
+
family: "core",
|
|
132292
|
+
description: "MachinePanel component",
|
|
132293
|
+
suggestedFor: [
|
|
132294
|
+
"machine",
|
|
132295
|
+
"panel",
|
|
132296
|
+
"machine panel"
|
|
132297
|
+
],
|
|
132298
|
+
typicalSize: "large",
|
|
132299
|
+
propsSchema: {
|
|
132300
|
+
schema: {
|
|
132301
|
+
types: [
|
|
132302
|
+
"sexpr"
|
|
132303
|
+
],
|
|
132304
|
+
description: "schema prop",
|
|
132305
|
+
required: true,
|
|
132306
|
+
decoder: {
|
|
132307
|
+
name: "parseOrbitalSchema",
|
|
132308
|
+
from: "@almadar/core"
|
|
132309
|
+
}
|
|
132310
|
+
},
|
|
132311
|
+
transitions: {
|
|
132312
|
+
types: [
|
|
132313
|
+
"array"
|
|
132314
|
+
],
|
|
132315
|
+
description: "transitions prop",
|
|
132316
|
+
required: true,
|
|
132317
|
+
items: {
|
|
132318
|
+
types: [
|
|
132319
|
+
"object"
|
|
132320
|
+
]
|
|
132321
|
+
}
|
|
132322
|
+
},
|
|
132323
|
+
describe: {
|
|
132324
|
+
types: [
|
|
132325
|
+
"function"
|
|
132326
|
+
],
|
|
132327
|
+
description: "Without it the panel draws the machine alone.",
|
|
132328
|
+
callbackArgs: [
|
|
132329
|
+
{
|
|
132330
|
+
name: "value",
|
|
132331
|
+
type: "object"
|
|
132332
|
+
}
|
|
132333
|
+
],
|
|
132334
|
+
renderCallback: true
|
|
132335
|
+
},
|
|
132336
|
+
behavior: {
|
|
132337
|
+
types: [
|
|
132338
|
+
"string"
|
|
132339
|
+
],
|
|
132340
|
+
description: "The program's behavior, naming the traits it authors itself; an imported trait carries its own."
|
|
132341
|
+
},
|
|
132342
|
+
replayStepMs: {
|
|
132343
|
+
types: [
|
|
132344
|
+
"number"
|
|
132345
|
+
],
|
|
132346
|
+
description: "How long a replay shows each hop.",
|
|
132347
|
+
default: 800
|
|
132348
|
+
},
|
|
132349
|
+
dependencies: {
|
|
132350
|
+
types: [
|
|
132351
|
+
"object"
|
|
132352
|
+
],
|
|
132353
|
+
description: "The program's imports (`behavior/dependencies`), placing each composed unit in its layer."
|
|
132354
|
+
}
|
|
132355
|
+
}
|
|
132356
|
+
},
|
|
132357
|
+
"guest-view": {
|
|
132358
|
+
type: "guest-view",
|
|
132359
|
+
category: "component",
|
|
132360
|
+
sourceFile: "components/core/molecules/GuestView.tsx",
|
|
132361
|
+
tier: "molecules",
|
|
132362
|
+
family: "core",
|
|
132363
|
+
description: "GuestView \u2014 paints the UI of a guest program session (program/open) inside the opener's view. Paint only: a click on a control inside it is routed by the kernel to the opener as its `deliver` event { guest, address, event, payload }.",
|
|
132364
|
+
suggestedFor: [
|
|
132365
|
+
"guest",
|
|
132366
|
+
"view",
|
|
132367
|
+
"guest view"
|
|
132368
|
+
],
|
|
132369
|
+
typicalSize: "medium",
|
|
132370
|
+
propsSchema: {
|
|
132371
|
+
guest: {
|
|
132372
|
+
types: [
|
|
132373
|
+
"string"
|
|
132374
|
+
],
|
|
132375
|
+
description: 'Guest session handle (`program/open` answers it, e.g. "guest-1"). Data for the kernel; never rendered.',
|
|
132376
|
+
required: true
|
|
132377
|
+
},
|
|
132378
|
+
source: {
|
|
132379
|
+
types: [
|
|
132380
|
+
"string"
|
|
132381
|
+
],
|
|
132382
|
+
description: "Guest trait that painted this content (`rendered[].trait`); the kernel delivers a click as address `<source>.<EVENT>`. Data for the kernel; never rendered.",
|
|
132383
|
+
required: true
|
|
132384
|
+
},
|
|
132385
|
+
deliver: {
|
|
132386
|
+
types: [
|
|
132387
|
+
"string"
|
|
132388
|
+
],
|
|
132389
|
+
description: "The opener trait's declared event a click inside this view is delivered as. The kernel emits it, never the renderer.",
|
|
132390
|
+
required: true,
|
|
132391
|
+
kind: "event"
|
|
132392
|
+
},
|
|
132393
|
+
children: {
|
|
132394
|
+
types: [
|
|
132395
|
+
"node"
|
|
132396
|
+
],
|
|
132397
|
+
description: "The guest's painted content"
|
|
132398
|
+
}
|
|
132399
|
+
}
|
|
131902
132400
|
}
|
|
131903
132401
|
},
|
|
131904
132402
|
categories: [
|
|
@@ -131930,5 +132428,5 @@ function getPatternDefinition(patternType) {
|
|
|
131930
132428
|
}
|
|
131931
132429
|
|
|
131932
132430
|
export { PATTERN_REGISTRY, getPatternDefinition, patternsRegistry, registry };
|
|
131933
|
-
//# sourceMappingURL=chunk-
|
|
131934
|
-
//# sourceMappingURL=chunk-
|
|
132431
|
+
//# sourceMappingURL=chunk-UZPYYI37.js.map
|
|
132432
|
+
//# sourceMappingURL=chunk-UZPYYI37.js.map
|