@almadar/core 10.107.0 → 10.109.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.
Files changed (40) hide show
  1. package/dist/builders.d.ts +5 -5
  2. package/dist/builders.js.map +1 -1
  3. package/dist/{bus-LOS3PhAg.d.ts → bus-De_T27aq.d.ts} +2 -2
  4. package/dist/{effect-CXEHwilA.d.ts → effect-Cv7k1MTO.d.ts} +97 -9
  5. package/dist/{entityAccess-B3DEJe_j.d.ts → entityAccess-CH8vC2OG.d.ts} +3 -3
  6. package/dist/{expression-CfeHdS-f.d.ts → expression-C6Gs_c5b.d.ts} +7 -1
  7. package/dist/factory/index.d.ts +5 -5
  8. package/dist/factory/index.js +1558 -250
  9. package/dist/factory/index.js.map +1 -1
  10. package/dist/factory-runtime/index.d.ts +5 -5
  11. package/dist/factory-runtime/index.js +1 -1
  12. package/dist/factory-runtime/index.js.map +1 -1
  13. package/dist/fixtures.d.ts +3 -3
  14. package/dist/fixtures.js.map +1 -1
  15. package/dist/{index-Dv2PNH42.d.ts → index-BzFToa4c.d.ts} +15 -8
  16. package/dist/index.d.ts +15 -15
  17. package/dist/index.js +1667 -255
  18. package/dist/index.js.map +1 -1
  19. package/dist/lolo-document/index.d.ts +7 -1
  20. package/dist/lolo-document/index.js +39 -1
  21. package/dist/lolo-document/index.js.map +1 -1
  22. package/dist/mock/index.d.ts +6 -6
  23. package/dist/mock/index.js.map +1 -1
  24. package/dist/patterns/component-mapping.json +11 -1
  25. package/dist/patterns/event-contracts.json +1 -1
  26. package/dist/patterns/index.d.ts +3271 -588
  27. package/dist/patterns/index.js +1573 -253
  28. package/dist/patterns/index.js.map +1 -1
  29. package/dist/patterns/patterns-registry.json +1559 -251
  30. package/dist/patterns/registry.json +1559 -251
  31. package/dist/{schema-Bpel0-Do.d.ts → schema-Chi9QIcZ.d.ts} +1022 -1022
  32. package/dist/state-machine/index.d.ts +1 -1
  33. package/dist/themes/index.d.ts +1 -1
  34. package/dist/{trait-C97MPrMf.d.ts → trait-A_OGE8xT.d.ts} +182 -182
  35. package/dist/types/index.d.ts +8 -8
  36. package/dist/types/index.js +96 -2
  37. package/dist/types/index.js.map +1 -1
  38. package/dist/{types-CoFKpB6f.d.ts → types-DQoBssKq.d.ts} +2 -2
  39. package/package.json +1 -1
  40. package/dist/{domain-DnEv7amB.d.ts → domain-DYverojF.d.ts} +28 -28
@@ -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-27T02:12:25.691Z",
6
+ exportedAt: "2026-09-28T12:49:04.761Z",
7
7
  patterns: {
8
8
  "entity-table": {
9
9
  type: "entity-table",
@@ -3906,6 +3906,7 @@ var patterns_registry_default = {
3906
3906
  "search-input": {
3907
3907
  type: "search-input",
3908
3908
  category: "filter",
3909
+ sourceFile: "components/core/molecules/SearchInput.tsx",
3909
3910
  tier: "molecules",
3910
3911
  family: "core",
3911
3912
  description: "Search input with events",
@@ -4003,6 +4004,7 @@ var patterns_registry_default = {
4003
4004
  "filter-group": {
4004
4005
  type: "filter-group",
4005
4006
  category: "filter",
4007
+ sourceFile: "components/core/molecules/FilterGroup.tsx",
4006
4008
  tier: "molecules",
4007
4009
  family: "core",
4008
4010
  description: "FilterGroup \u2014 a panel of filter controls that narrows a collection by field values.",
@@ -4706,7 +4708,16 @@ var patterns_registry_default = {
4706
4708
  required: [
4707
4709
  "label"
4708
4710
  ]
4709
- }
4711
+ },
4712
+ example: [
4713
+ {
4714
+ label: "Home",
4715
+ href: "/"
4716
+ },
4717
+ {
4718
+ label: "Page"
4719
+ }
4720
+ ]
4710
4721
  },
4711
4722
  fromNavStack: {
4712
4723
  types: [
@@ -4764,6 +4775,7 @@ var patterns_registry_default = {
4764
4775
  "wizard-progress": {
4765
4776
  type: "wizard-progress",
4766
4777
  category: "navigation",
4778
+ sourceFile: "components/core/molecules/WizardProgress.tsx",
4767
4779
  tier: "molecules",
4768
4780
  family: "core",
4769
4781
  description: "Wizard step progress indicator",
@@ -4865,6 +4877,7 @@ var patterns_registry_default = {
4865
4877
  "wizard-navigation": {
4866
4878
  type: "wizard-navigation",
4867
4879
  category: "navigation",
4880
+ sourceFile: "components/core/molecules/WizardNavigation.tsx",
4868
4881
  tier: "molecules",
4869
4882
  family: "core",
4870
4883
  description: "Wizard navigation buttons",
@@ -5840,6 +5853,7 @@ var patterns_registry_default = {
5840
5853
  pagination: {
5841
5854
  type: "pagination",
5842
5855
  category: "navigation",
5856
+ sourceFile: "components/core/molecules/Pagination.tsx",
5843
5857
  tier: "molecules",
5844
5858
  family: "core",
5845
5859
  description: "Page navigation controls",
@@ -5985,6 +5999,7 @@ var patterns_registry_default = {
5985
5999
  "empty-state": {
5986
6000
  type: "empty-state",
5987
6001
  category: "state",
6002
+ sourceFile: "components/core/molecules/EmptyState.tsx",
5988
6003
  tier: "molecules",
5989
6004
  family: "core",
5990
6005
  description: "Message when no data exists",
@@ -6084,6 +6099,7 @@ var patterns_registry_default = {
6084
6099
  "loading-state": {
6085
6100
  type: "loading-state",
6086
6101
  category: "state",
6102
+ sourceFile: "components/core/molecules/LoadingState.tsx",
6087
6103
  tier: "molecules",
6088
6104
  family: "core",
6089
6105
  description: "Loading indicator",
@@ -6122,6 +6138,7 @@ var patterns_registry_default = {
6122
6138
  "error-state": {
6123
6139
  type: "error-state",
6124
6140
  category: "state",
6141
+ sourceFile: "components/core/molecules/ErrorState.tsx",
6125
6142
  tier: "molecules",
6126
6143
  family: "core",
6127
6144
  description: "Error message display",
@@ -6176,6 +6193,7 @@ var patterns_registry_default = {
6176
6193
  notification: {
6177
6194
  type: "notification",
6178
6195
  category: "state",
6196
+ sourceFile: "components/core/molecules/Toast.tsx",
6179
6197
  tier: "molecules",
6180
6198
  family: "core",
6181
6199
  description: "Toast notification message",
@@ -6282,6 +6300,7 @@ var patterns_registry_default = {
6282
6300
  modal: {
6283
6301
  type: "modal",
6284
6302
  category: "container",
6303
+ sourceFile: "components/core/molecules/Modal.tsx",
6285
6304
  tier: "molecules",
6286
6305
  family: "core",
6287
6306
  description: "Modal dialog overlay",
@@ -6408,6 +6427,7 @@ var patterns_registry_default = {
6408
6427
  drawer: {
6409
6428
  type: "drawer",
6410
6429
  category: "container",
6430
+ sourceFile: "components/core/molecules/Drawer.tsx",
6411
6431
  tier: "molecules",
6412
6432
  family: "core",
6413
6433
  description: "Side drawer panel",
@@ -6509,6 +6529,7 @@ var patterns_registry_default = {
6509
6529
  "confirm-dialog": {
6510
6530
  type: "confirm-dialog",
6511
6531
  category: "container",
6532
+ sourceFile: "components/core/molecules/ConfirmDialog.tsx",
6512
6533
  tier: "molecules",
6513
6534
  family: "core",
6514
6535
  description: "Confirmation dialog",
@@ -6662,6 +6683,7 @@ var patterns_registry_default = {
6662
6683
  "master-detail": {
6663
6684
  type: "master-detail",
6664
6685
  category: "layout",
6686
+ sourceFile: "components/core/organisms/MasterDetail.tsx",
6665
6687
  tier: "organisms",
6666
6688
  family: "core",
6667
6689
  description: "List on left, selected item detail on right",
@@ -6864,7 +6886,8 @@ var patterns_registry_default = {
6864
6886
  "lg",
6865
6887
  "xl",
6866
6888
  "2xl"
6867
- ]
6889
+ ],
6890
+ example: "md"
6868
6891
  },
6869
6892
  paddingX: {
6870
6893
  types: [
@@ -6965,7 +6988,8 @@ var patterns_registry_default = {
6965
6988
  "boolean"
6966
6989
  ],
6967
6990
  description: "Show border",
6968
- default: false
6991
+ default: false,
6992
+ example: true
6969
6993
  },
6970
6994
  rounded: {
6971
6995
  types: [
@@ -7108,6 +7132,7 @@ var patterns_registry_default = {
7108
7132
  grid: {
7109
7133
  type: "grid",
7110
7134
  category: "layout",
7135
+ sourceFile: "components/core/molecules/Grid.tsx",
7111
7136
  tier: "molecules",
7112
7137
  family: "core",
7113
7138
  description: "CSS Grid layout for multi-column content",
@@ -7302,6 +7327,7 @@ var patterns_registry_default = {
7302
7327
  center: {
7303
7328
  type: "center",
7304
7329
  category: "layout",
7330
+ sourceFile: "components/core/atoms/Center.tsx",
7305
7331
  tier: "atoms",
7306
7332
  family: "core",
7307
7333
  description: "Centers content horizontally and vertically",
@@ -7390,6 +7416,7 @@ var patterns_registry_default = {
7390
7416
  spacer: {
7391
7417
  type: "spacer",
7392
7418
  category: "layout",
7419
+ sourceFile: "components/core/atoms/Spacer.tsx",
7393
7420
  tier: "atoms",
7394
7421
  family: "core",
7395
7422
  description: "Flexible space that expands to fill available room",
@@ -7438,6 +7465,7 @@ var patterns_registry_default = {
7438
7465
  divider: {
7439
7466
  type: "divider",
7440
7467
  category: "layout",
7468
+ sourceFile: "components/core/atoms/Divider.tsx",
7441
7469
  tier: "atoms",
7442
7470
  family: "core",
7443
7471
  description: "Visual separator between content sections",
@@ -7488,6 +7516,7 @@ var patterns_registry_default = {
7488
7516
  "runtime-debugger": {
7489
7517
  type: "runtime-debugger",
7490
7518
  category: "debug",
7519
+ sourceFile: "components/core/organisms/debug/RuntimeDebugger.tsx",
7491
7520
  tier: "organisms",
7492
7521
  family: "core",
7493
7522
  description: "Debug overlay showing FPS, entity states, event logs",
@@ -7752,7 +7781,8 @@ var patterns_registry_default = {
7752
7781
  types: [
7753
7782
  "string"
7754
7783
  ],
7755
- description: "Button label text (alternative to children for schema-driven rendering)"
7784
+ description: "Button label text (alternative to children for schema-driven rendering)",
7785
+ example: "Button"
7756
7786
  },
7757
7787
  disabled: {
7758
7788
  types: [
@@ -7962,6 +7992,7 @@ var patterns_registry_default = {
7962
7992
  avatar: {
7963
7993
  type: "avatar",
7964
7994
  category: "component",
7995
+ sourceFile: "components/core/atoms/Avatar.tsx",
7965
7996
  tier: "atoms",
7966
7997
  family: "core",
7967
7998
  description: "User avatar image or initials",
@@ -8062,13 +8093,15 @@ var patterns_registry_default = {
8062
8093
  "object"
8063
8094
  ],
8064
8095
  description: "Payload to include with the action event",
8065
- payloadFor: "action"
8096
+ payloadFor: "action",
8097
+ eventPayloadBrand: true
8066
8098
  }
8067
8099
  }
8068
8100
  },
8069
8101
  icon: {
8070
8102
  type: "icon",
8071
8103
  category: "component",
8104
+ sourceFile: "components/core/atoms/Icon.tsx",
8072
8105
  tier: "atoms",
8073
8106
  family: "core",
8074
8107
  description: "Icon from Lucide icon set",
@@ -8152,6 +8185,7 @@ var patterns_registry_default = {
8152
8185
  card: {
8153
8186
  type: "card",
8154
8187
  category: "component",
8188
+ sourceFile: "components/core/atoms/Card.tsx",
8155
8189
  tier: "atoms",
8156
8190
  family: "core",
8157
8191
  description: "Card container with optional header and footer",
@@ -8258,6 +8292,7 @@ var patterns_registry_default = {
8258
8292
  "progress-bar": {
8259
8293
  type: "progress-bar",
8260
8294
  category: "component",
8295
+ sourceFile: "components/core/atoms/ProgressBar.tsx",
8261
8296
  tier: "atoms",
8262
8297
  family: "core",
8263
8298
  description: "Progress indicator bar",
@@ -8373,6 +8408,7 @@ var patterns_registry_default = {
8373
8408
  spinner: {
8374
8409
  type: "spinner",
8375
8410
  category: "component",
8411
+ sourceFile: "components/core/atoms/Spinner.tsx",
8376
8412
  tier: "atoms",
8377
8413
  family: "core",
8378
8414
  description: "Loading spinner animation",
@@ -8881,6 +8917,7 @@ var patterns_registry_default = {
8881
8917
  checkbox: {
8882
8918
  type: "checkbox",
8883
8919
  category: "component",
8920
+ sourceFile: "components/core/atoms/Checkbox.tsx",
8884
8921
  tier: "atoms",
8885
8922
  family: "core",
8886
8923
  description: "Checkbox input",
@@ -8935,6 +8972,7 @@ var patterns_registry_default = {
8935
8972
  radio: {
8936
8973
  type: "radio",
8937
8974
  category: "component",
8975
+ sourceFile: "components/core/atoms/Radio.tsx",
8938
8976
  tier: "atoms",
8939
8977
  family: "core",
8940
8978
  description: "Radio button input",
@@ -9016,6 +9054,7 @@ var patterns_registry_default = {
9016
9054
  switch: {
9017
9055
  type: "switch",
9018
9056
  category: "component",
9057
+ sourceFile: "components/core/atoms/Switch.tsx",
9019
9058
  tier: "atoms",
9020
9059
  family: "core",
9021
9060
  description: "Toggle switch input",
@@ -9088,6 +9127,7 @@ var patterns_registry_default = {
9088
9127
  label: {
9089
9128
  type: "label",
9090
9129
  category: "component",
9130
+ sourceFile: "components/core/atoms/Label.tsx",
9091
9131
  tier: "atoms",
9092
9132
  family: "core",
9093
9133
  description: "Form field label",
@@ -9126,6 +9166,7 @@ var patterns_registry_default = {
9126
9166
  alert: {
9127
9167
  type: "alert",
9128
9168
  category: "component",
9169
+ sourceFile: "components/core/molecules/Alert.tsx",
9129
9170
  tier: "molecules",
9130
9171
  family: "core",
9131
9172
  description: "Alert message box",
@@ -9215,6 +9256,7 @@ var patterns_registry_default = {
9215
9256
  tooltip: {
9216
9257
  type: "tooltip",
9217
9258
  category: "component",
9259
+ sourceFile: "components/core/molecules/Tooltip.tsx",
9218
9260
  tier: "molecules",
9219
9261
  family: "core",
9220
9262
  description: "Hover tooltip",
@@ -9284,6 +9326,7 @@ var patterns_registry_default = {
9284
9326
  popover: {
9285
9327
  type: "popover",
9286
9328
  category: "component",
9329
+ sourceFile: "components/core/molecules/Popover.tsx",
9287
9330
  tier: "molecules",
9288
9331
  family: "core",
9289
9332
  description: "Click-triggered popover",
@@ -9520,6 +9563,7 @@ var patterns_registry_default = {
9520
9563
  accordion: {
9521
9564
  type: "accordion",
9522
9565
  category: "component",
9566
+ sourceFile: "components/core/molecules/Accordion.tsx",
9523
9567
  tier: "molecules",
9524
9568
  family: "core",
9525
9569
  description: "Collapsible accordion sections",
@@ -9664,6 +9708,7 @@ var patterns_registry_default = {
9664
9708
  container: {
9665
9709
  type: "container",
9666
9710
  category: "component",
9711
+ sourceFile: "components/core/molecules/Container.tsx",
9667
9712
  tier: "molecules",
9668
9713
  family: "core",
9669
9714
  description: "Centered max-width container",
@@ -9747,6 +9792,7 @@ var patterns_registry_default = {
9747
9792
  "simple-grid": {
9748
9793
  type: "simple-grid",
9749
9794
  category: "component",
9795
+ sourceFile: "components/core/molecules/SimpleGrid.tsx",
9750
9796
  tier: "molecules",
9751
9797
  family: "core",
9752
9798
  description: "Simple responsive grid with auto columns",
@@ -10139,6 +10185,7 @@ var patterns_registry_default = {
10139
10185
  "law-reference-tooltip": {
10140
10186
  type: "law-reference-tooltip",
10141
10187
  category: "component",
10188
+ sourceFile: "components/core/atoms/LawReferenceTooltip.tsx",
10142
10189
  tier: "atoms",
10143
10190
  family: "core",
10144
10191
  description: "LawReferenceTooltip Atom Component A specialized tooltip for displaying law references in inspection forms. Shows law name, article number, and relevant clause text.",
@@ -10219,6 +10266,7 @@ var patterns_registry_default = {
10219
10266
  overlay: {
10220
10267
  type: "overlay",
10221
10268
  category: "container",
10269
+ sourceFile: "components/core/atoms/Overlay.tsx",
10222
10270
  tier: "atoms",
10223
10271
  family: "core",
10224
10272
  description: "Overlay Atom Component A fixed backdrop for modals and drawers.",
@@ -10273,6 +10321,7 @@ var patterns_registry_default = {
10273
10321
  stack: {
10274
10322
  type: "stack",
10275
10323
  category: "component",
10324
+ sourceFile: "components/core/atoms/Stack.tsx",
10276
10325
  tier: "atoms",
10277
10326
  family: "core",
10278
10327
  description: "Stack Component A layout primitive for arranging children in a vertical or horizontal stack with consistent spacing. Includes convenience exports VStack and HStack for common use cases.",
@@ -10439,7 +10488,8 @@ var patterns_registry_default = {
10439
10488
  "object"
10440
10489
  ],
10441
10490
  description: "Payload to include with the action event",
10442
- payloadFor: "action"
10491
+ payloadFor: "action",
10492
+ eventPayloadBrand: true
10443
10493
  },
10444
10494
  responsive: {
10445
10495
  types: [
@@ -10453,6 +10503,7 @@ var patterns_registry_default = {
10453
10503
  "text-highlight": {
10454
10504
  type: "text-highlight",
10455
10505
  category: "component",
10506
+ sourceFile: "components/core/atoms/TextHighlight.tsx",
10456
10507
  tier: "atoms",
10457
10508
  family: "core",
10458
10509
  description: "TextHighlight Atom Component A styled span component for highlighting text with annotations (questions or notes). Uses different colors for different annotation types: - Questions: Blue highlight - Notes: Yellow highlight",
@@ -10562,6 +10613,7 @@ var patterns_registry_default = {
10562
10613
  "theme-toggle": {
10563
10614
  type: "theme-toggle",
10564
10615
  category: "component",
10616
+ sourceFile: "components/core/atoms/ThemeToggle.tsx",
10565
10617
  tier: "atoms",
10566
10618
  family: "core",
10567
10619
  description: "ThemeToggle Atom Component A button that toggles between light and dark themes. Uses Sun and Moon icons to indicate current/target theme.",
@@ -10602,6 +10654,7 @@ var patterns_registry_default = {
10602
10654
  typography: {
10603
10655
  type: "typography",
10604
10656
  category: "component",
10657
+ sourceFile: "components/core/atoms/Typography.tsx",
10605
10658
  tier: "atoms",
10606
10659
  family: "core",
10607
10660
  description: "Typography Atom Component Text elements following the KFlow design system with theme-aware styling.",
@@ -11022,6 +11075,7 @@ var patterns_registry_default = {
11022
11075
  flex: {
11023
11076
  type: "flex",
11024
11077
  category: "component",
11078
+ sourceFile: "components/core/molecules/Flex.tsx",
11025
11079
  tier: "molecules",
11026
11080
  family: "core",
11027
11081
  description: "Flex Component A flexbox wrapper with all common flex properties exposed as props. More explicit than Stack for when you need full flex control.",
@@ -11290,6 +11344,7 @@ var patterns_registry_default = {
11290
11344
  "form-field": {
11291
11345
  type: "form-field",
11292
11346
  category: "form",
11347
+ sourceFile: "components/core/molecules/FormField.tsx",
11293
11348
  tier: "molecules",
11294
11349
  family: "core",
11295
11350
  description: "FormField Molecule Component A form field wrapper with label, hint, and error message support. **Atomic Design**: Composed using Label and Typography atoms.",
@@ -11343,6 +11398,7 @@ var patterns_registry_default = {
11343
11398
  "form-section-header": {
11344
11399
  type: "form-section-header",
11345
11400
  category: "form",
11401
+ sourceFile: "components/core/molecules/FormSectionHeader.tsx",
11346
11402
  tier: "molecules",
11347
11403
  family: "core",
11348
11404
  description: "FormSectionHeader Header component for collapsible form sections. Provides consistent styling and interaction for section headers.",
@@ -11624,6 +11680,7 @@ var patterns_registry_default = {
11624
11680
  "relation-select": {
11625
11681
  type: "relation-select",
11626
11682
  category: "form",
11683
+ sourceFile: "components/core/molecules/RelationSelect.tsx",
11627
11684
  tier: "molecules",
11628
11685
  family: "core",
11629
11686
  description: "RelationSelect Molecule Component A searchable select component for relation fields. Allows users to search and select from related entities. Composed from: Box, HStack, VStack, Input, Button, Spinner, Typography atoms",
@@ -11761,6 +11818,7 @@ var patterns_registry_default = {
11761
11818
  "side-panel": {
11762
11819
  type: "side-panel",
11763
11820
  category: "component",
11821
+ sourceFile: "components/core/molecules/SidePanel.tsx",
11764
11822
  tier: "molecules",
11765
11823
  family: "core",
11766
11824
  description: "SidePanel Molecule Component A side panel that slides in from the right (or left) with header and content. Uses Button, Typography atoms.",
@@ -11845,6 +11903,7 @@ var patterns_registry_default = {
11845
11903
  "violation-alert": {
11846
11904
  type: "violation-alert",
11847
11905
  category: "state",
11906
+ sourceFile: "components/core/molecules/ViolationAlert.tsx",
11848
11907
  tier: "molecules",
11849
11908
  family: "core",
11850
11909
  description: "ViolationAlert Displays inspection violations with law references and action types. Used in inspection forms to show detected compliance violations. Action Types: - measure: Corrective measure required (warning) - admin: Administrative action (error) - penalty: Penalty proceedings (error, severe)",
@@ -11983,6 +12042,7 @@ var patterns_registry_default = {
11983
12042
  "drawer-slot": {
11984
12043
  type: "drawer-slot",
11985
12044
  category: "layout",
12045
+ sourceFile: "components/core/organisms/DrawerSlot.tsx",
11986
12046
  tier: "organisms",
11987
12047
  family: "core",
11988
12048
  description: "DrawerSlot Component Wraps drawer slot content in a proper Drawer component. Used by trait-driven pages to display drawer UI from render_ui effects. Handles: - Auto-open when content is present - Dispatches CLOSE/CANCEL events when closed - Extracts title from Form or DetailPanel components - Configurable position and size",
@@ -12357,6 +12417,7 @@ var patterns_registry_default = {
12357
12417
  "modal-slot": {
12358
12418
  type: "modal-slot",
12359
12419
  category: "layout",
12420
+ sourceFile: "components/core/organisms/ModalSlot.tsx",
12360
12421
  tier: "organisms",
12361
12422
  family: "core",
12362
12423
  description: "ModalSlot Component Wraps modal slot content in a proper Modal component. Used by trait-driven pages to display modal UI from render_ui effects. Handles: - Auto-open when content is present - Dispatches CLOSE/CANCEL events when closed - Extracts title from Form components",
@@ -12736,6 +12797,7 @@ var patterns_registry_default = {
12736
12797
  section: {
12737
12798
  type: "section",
12738
12799
  category: "display",
12800
+ sourceFile: "components/core/molecules/Section.tsx",
12739
12801
  tier: "molecules",
12740
12802
  family: "core",
12741
12803
  description: "Section Component A semantic section wrapper with optional title, description, and action. Perfect for grouping related content with consistent spacing.",
@@ -13239,6 +13301,7 @@ var patterns_registry_default = {
13239
13301
  "toast-slot": {
13240
13302
  type: "toast-slot",
13241
13303
  category: "layout",
13304
+ sourceFile: "components/core/organisms/ToastSlot.tsx",
13242
13305
  tier: "organisms",
13243
13306
  family: "core",
13244
13307
  description: "ToastSlot Component Wraps toast slot content in a proper Toast component with positioning. Used by trait-driven pages to display toast UI from render_ui effects. Handles: - Auto-show when content is present - Dispatches DISMISS event when dismissed - Fixed positioning in corner of screen",
@@ -13388,6 +13451,7 @@ var patterns_registry_default = {
13388
13451
  "counter-template": {
13389
13452
  type: "counter-template",
13390
13453
  category: "template",
13454
+ sourceFile: "components/core/templates/CounterTemplate.tsx",
13391
13455
  tier: "templates",
13392
13456
  family: "core",
13393
13457
  description: "CounterTemplate A presentational template for counter/incrementer features. Supports increment, decrement, and reset operations.",
@@ -13854,6 +13918,7 @@ var patterns_registry_default = {
13854
13918
  "generic-app-template": {
13855
13919
  type: "generic-app-template",
13856
13920
  category: "template",
13921
+ sourceFile: "components/core/templates/GenericAppTemplate.tsx",
13857
13922
  tier: "templates",
13858
13923
  family: "core",
13859
13924
  description: "GenericAppTemplate A simple, generic template for any application. Includes a header with title and actions, and a main content area. **Atomic Design**: Composed using Box, Typography, and Button atoms.",
@@ -15263,6 +15328,7 @@ var patterns_registry_default = {
15263
15328
  "signature-pad": {
15264
15329
  type: "signature-pad",
15265
15330
  category: "form",
15331
+ sourceFile: "components/core/molecules/SignaturePad.tsx",
15266
15332
  tier: "molecules",
15267
15333
  family: "core",
15268
15334
  description: "SignaturePad \u2014 a draw-to-sign canvas that captures a handwritten signature or initials.",
@@ -16367,6 +16433,7 @@ var patterns_registry_default = {
16367
16433
  "error-boundary": {
16368
16434
  type: "error-boundary",
16369
16435
  category: "state",
16436
+ sourceFile: "components/core/molecules/ErrorBoundary.tsx",
16370
16437
  tier: "molecules",
16371
16438
  family: "core",
16372
16439
  description: "ErrorBoundary component",
@@ -16420,6 +16487,7 @@ var patterns_registry_default = {
16420
16487
  skeleton: {
16421
16488
  type: "skeleton",
16422
16489
  category: "component",
16490
+ sourceFile: "components/core/molecules/Skeleton.tsx",
16423
16491
  tier: "molecules",
16424
16492
  family: "core",
16425
16493
  description: "Skeleton component",
@@ -16474,6 +16542,7 @@ var patterns_registry_default = {
16474
16542
  "quiz-block": {
16475
16543
  type: "quiz-block",
16476
16544
  category: "component",
16545
+ sourceFile: "components/core/molecules/QuizBlock.tsx",
16477
16546
  tier: "molecules",
16478
16547
  family: "core",
16479
16548
  description: "QuizBlock \u2014 a single quiz question with answer choices and submit/reveal feedback.",
@@ -17183,12 +17252,191 @@ var patterns_registry_default = {
17183
17252
  "replace"
17184
17253
  ],
17185
17254
  tier: "presentation"
17255
+ },
17256
+ completions: {
17257
+ types: [
17258
+ "function"
17259
+ ],
17260
+ description: "Editable only: answers the caret's valid continuations after a keystroke (and on Ctrl-Space); they show under the editor and Tab or a click inserts one.",
17261
+ callbackArgs: [
17262
+ {
17263
+ name: "code",
17264
+ type: "string"
17265
+ },
17266
+ {
17267
+ name: "offset",
17268
+ type: "number"
17269
+ }
17270
+ ],
17271
+ renderCallback: true,
17272
+ tier: "presentation"
17273
+ },
17274
+ assist: {
17275
+ types: [
17276
+ "function"
17277
+ ],
17278
+ description: "Editable only: model-assisted editing. Asked after a pause (and on Ctrl-Space) for a completion at the caret, shown as ghost text; on \u2318/Ctrl-. for fixes, listed under the editor. Tab accepts the next, \u2318/Ctrl-Enter accepts all, Escape dismisses.",
17279
+ callbackArgs: [
17280
+ {
17281
+ name: "request",
17282
+ type: "object",
17283
+ schema: {
17284
+ types: [
17285
+ "object"
17286
+ ],
17287
+ properties: {
17288
+ code: {
17289
+ types: [
17290
+ "string"
17291
+ ]
17292
+ },
17293
+ offset: {
17294
+ types: [
17295
+ "number"
17296
+ ]
17297
+ },
17298
+ kind: {
17299
+ types: [
17300
+ "string"
17301
+ ],
17302
+ enumValues: [
17303
+ "complete",
17304
+ "fix"
17305
+ ]
17306
+ },
17307
+ trigger: {
17308
+ types: [
17309
+ "string"
17310
+ ],
17311
+ enumValues: [
17312
+ "idle",
17313
+ "explicit"
17314
+ ]
17315
+ }
17316
+ },
17317
+ required: [
17318
+ "code",
17319
+ "offset",
17320
+ "kind",
17321
+ "trigger"
17322
+ ]
17323
+ }
17324
+ }
17325
+ ],
17326
+ renderCallback: true,
17327
+ tier: "presentation"
17328
+ },
17329
+ problems: {
17330
+ types: [
17331
+ "number"
17332
+ ],
17333
+ description: "Editable only: how many problems the host knows the code has (some, like a parse error, have no line to mark). With `assist`, the editor offers to fix them.",
17334
+ tier: "presentation"
17335
+ },
17336
+ diagnostics: {
17337
+ types: [
17338
+ "array"
17339
+ ],
17340
+ description: "Editable only: problems located in the code (1-based line/column in characters, `endColumn` just past the last one), each underlined exactly \u2014 red wavy for an error, amber for a warning, dotted where the position is approximate. The message of the one under the caret shows below the editor.",
17341
+ items: {
17342
+ types: [
17343
+ "object"
17344
+ ],
17345
+ properties: {
17346
+ line: {
17347
+ types: [
17348
+ "number"
17349
+ ]
17350
+ },
17351
+ column: {
17352
+ types: [
17353
+ "number"
17354
+ ]
17355
+ },
17356
+ endLine: {
17357
+ types: [
17358
+ "number"
17359
+ ]
17360
+ },
17361
+ endColumn: {
17362
+ types: [
17363
+ "number"
17364
+ ]
17365
+ },
17366
+ severity: {
17367
+ types: [
17368
+ "string"
17369
+ ],
17370
+ enumValues: [
17371
+ "error",
17372
+ "warning"
17373
+ ]
17374
+ },
17375
+ message: {
17376
+ types: [
17377
+ "string"
17378
+ ]
17379
+ },
17380
+ approximate: {
17381
+ types: [
17382
+ "boolean"
17383
+ ]
17384
+ }
17385
+ },
17386
+ required: [
17387
+ "line",
17388
+ "severity",
17389
+ "message"
17390
+ ]
17391
+ },
17392
+ tier: "presentation"
17393
+ },
17394
+ definitionAt: {
17395
+ types: [
17396
+ "function"
17397
+ ],
17398
+ description: "Editable only: go to definition. Whether the identifier (a dotted path is one) leads somewhere; with Cmd/Ctrl held the one under the pointer is underlined when it does. Comments and strings never qualify.",
17399
+ callbackArgs: [
17400
+ {
17401
+ name: "identifier",
17402
+ type: "string"
17403
+ }
17404
+ ],
17405
+ renderCallback: true
17406
+ },
17407
+ onGoToDefinition: {
17408
+ types: [
17409
+ "function"
17410
+ ],
17411
+ description: "Editable only: Cmd/Ctrl+click, or Cmd/Ctrl+Enter at the caret, on an identifier `definitionAt` accepts.",
17412
+ kind: "callback",
17413
+ callbackArgs: [
17414
+ {
17415
+ name: "identifier",
17416
+ type: "string"
17417
+ }
17418
+ ]
17419
+ },
17420
+ diagnosticsCode: {
17421
+ types: [
17422
+ "string"
17423
+ ],
17424
+ description: "The code `diagnostics` were computed on. When the editor's text has moved on, each range is carried over the edit; a range the edit touches is dropped until the code is checked again. Absent: they describe the current text.",
17425
+ tier: "presentation"
17426
+ },
17427
+ lineNumbers: {
17428
+ types: [
17429
+ "boolean"
17430
+ ],
17431
+ description: "Editable only: number the lines in a gutter (lines with errors in red). Default on.",
17432
+ tier: "presentation"
17186
17433
  }
17187
17434
  }
17188
17435
  },
17189
17436
  "markdown-content": {
17190
17437
  type: "markdown-content",
17191
17438
  category: "component",
17439
+ sourceFile: "components/core/molecules/markdown/MarkdownContent.tsx",
17192
17440
  tier: "molecules",
17193
17441
  family: "core",
17194
17442
  description: "MarkdownContent Molecule Component Renders markdown content with support for GFM (GitHub Flavored Markdown), math equations (KaTeX), and raw HTML. Handles inline code only \u2014 fenced code blocks should be parsed out and rendered with CodeBlock component. Event Contract: - No events emitted (display-only component) - entityAware: false NOTE: react-markdown's `components` override API requires native HTML elements \u2014 this is the same library-boundary exception as `<iframe>` in DocumentViewer and `<svg>` in JazariStateMachine/StateMachineView.",
@@ -17228,6 +17476,7 @@ var patterns_registry_default = {
17228
17476
  "content-renderer": {
17229
17477
  type: "content-renderer",
17230
17478
  category: "display",
17479
+ sourceFile: "components/core/molecules/ContentRenderer.tsx",
17231
17480
  tier: "molecules",
17232
17481
  family: "core",
17233
17482
  description: "ContentRenderer Organism Renders rich content as a sequence of typed segments: markdown, code, orbital diagrams (via JazariStateMachine), and quiz blocks. Accepts either raw content string (auto-parsed) or pre-parsed segments. Event Contract: - Delegates to child components (CodeBlock -> UI:COPY_CODE) - entityAware: false",
@@ -17395,6 +17644,7 @@ var patterns_registry_default = {
17395
17644
  "jazari-state-machine": {
17396
17645
  type: "jazari-state-machine",
17397
17646
  category: "display",
17647
+ sourceFile: "components/core/molecules/JazariStateMachine.tsx",
17398
17648
  tier: "molecules",
17399
17649
  family: "core",
17400
17650
  description: "JazariStateMachine component",
@@ -17511,18 +17761,284 @@ var patterns_registry_default = {
17511
17761
  ],
17512
17762
  typicalSize: "large",
17513
17763
  propsSchema: {
17764
+ activeState: {
17765
+ types: [
17766
+ "string"
17767
+ ],
17768
+ description: "State execution is currently in."
17769
+ },
17770
+ activeTransition: {
17771
+ types: [
17772
+ "number"
17773
+ ],
17774
+ description: "`index` of the transition that just fired."
17775
+ },
17776
+ visitedStates: {
17777
+ types: [
17778
+ "array"
17779
+ ],
17780
+ description: "States already passed through, in order.",
17781
+ items: {
17782
+ types: [
17783
+ "string"
17784
+ ]
17785
+ }
17786
+ },
17787
+ stateClickEvent: {
17788
+ types: [
17789
+ "string"
17790
+ ],
17791
+ description: "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
17792
+ kind: "event-ref",
17793
+ emitPayloadSchema: [
17794
+ {
17795
+ name: "stateId",
17796
+ type: "string",
17797
+ required: true
17798
+ }
17799
+ ]
17800
+ },
17801
+ transitionClickEvent: {
17802
+ types: [
17803
+ "string"
17804
+ ],
17805
+ description: "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
17806
+ kind: "event-ref",
17807
+ emitPayloadSchema: [
17808
+ {
17809
+ name: "index",
17810
+ type: "number",
17811
+ required: true
17812
+ },
17813
+ {
17814
+ name: "event",
17815
+ type: "string",
17816
+ required: true
17817
+ },
17818
+ {
17819
+ name: "from",
17820
+ type: "string",
17821
+ required: true
17822
+ },
17823
+ {
17824
+ name: "to",
17825
+ type: "string",
17826
+ required: true
17827
+ }
17828
+ ]
17829
+ },
17830
+ selectedState: {
17831
+ types: [
17832
+ "string"
17833
+ ],
17834
+ description: "State picked in an editor (first click)."
17835
+ },
17836
+ pendingSourceState: {
17837
+ types: [
17838
+ "string"
17839
+ ],
17840
+ description: "Source of a transition being drawn \u2014 the next state click picks its target."
17841
+ },
17842
+ nodeShape: {
17843
+ types: [
17844
+ "string"
17845
+ ],
17846
+ description: "Node silhouette. @default 'pill'",
17847
+ enumValues: [
17848
+ "pill",
17849
+ "gear"
17850
+ ]
17851
+ },
17852
+ entityFields: {
17853
+ types: [
17854
+ "array"
17855
+ ],
17856
+ description: "Entity field names listed in the header.",
17857
+ items: {
17858
+ types: [
17859
+ "string"
17860
+ ]
17861
+ }
17862
+ },
17863
+ direction: {
17864
+ types: [
17865
+ "string"
17866
+ ],
17867
+ description: "Flow direction. @default 'ltr'",
17868
+ enumValues: [
17869
+ "ltr",
17870
+ "rtl"
17871
+ ]
17872
+ },
17873
+ showHeader: {
17874
+ types: [
17875
+ "boolean"
17876
+ ],
17877
+ description: "Show the trait header (name, entity, listens/emits). @default true"
17878
+ },
17514
17879
  className: {
17515
17880
  types: [
17516
17881
  "string"
17517
17882
  ],
17518
- description: "Additional CSS classes",
17519
- default: ""
17883
+ description: "className prop"
17884
+ },
17885
+ trait: {
17886
+ types: [
17887
+ "object"
17888
+ ],
17889
+ description: "The trait to draw (see `parseTraitLevel` / `traitLevelFromTrait`).",
17890
+ properties: {
17891
+ name: {
17892
+ types: [
17893
+ "string"
17894
+ ]
17895
+ },
17896
+ linkedEntity: {
17897
+ types: [
17898
+ "string"
17899
+ ]
17900
+ },
17901
+ states: {
17902
+ types: [
17903
+ "array"
17904
+ ],
17905
+ items: {
17906
+ types: [
17907
+ "object"
17908
+ ],
17909
+ properties: {
17910
+ name: {
17911
+ types: [
17912
+ "string"
17913
+ ]
17914
+ },
17915
+ isInitial: {
17916
+ types: [
17917
+ "boolean"
17918
+ ]
17919
+ },
17920
+ isTerminal: {
17921
+ types: [
17922
+ "boolean"
17923
+ ]
17924
+ }
17925
+ },
17926
+ required: [
17927
+ "name"
17928
+ ]
17929
+ }
17930
+ },
17931
+ transitions: {
17932
+ types: [
17933
+ "array"
17934
+ ],
17935
+ items: {
17936
+ types: [
17937
+ "object"
17938
+ ],
17939
+ properties: {
17940
+ from: {
17941
+ types: [
17942
+ "string"
17943
+ ]
17944
+ },
17945
+ to: {
17946
+ types: [
17947
+ "string"
17948
+ ]
17949
+ },
17950
+ event: {
17951
+ types: [
17952
+ "string"
17953
+ ]
17954
+ },
17955
+ guard: {
17956
+ types: [
17957
+ "sexpr"
17958
+ ]
17959
+ },
17960
+ effects: {
17961
+ types: [
17962
+ "array"
17963
+ ],
17964
+ items: {
17965
+ types: [
17966
+ "object"
17967
+ ],
17968
+ properties: {
17969
+ type: {
17970
+ types: [
17971
+ "string"
17972
+ ]
17973
+ },
17974
+ args: {
17975
+ types: [
17976
+ "array"
17977
+ ],
17978
+ items: {
17979
+ types: [
17980
+ "sexpr"
17981
+ ]
17982
+ }
17983
+ }
17984
+ },
17985
+ required: [
17986
+ "type",
17987
+ "args"
17988
+ ]
17989
+ }
17990
+ },
17991
+ index: {
17992
+ types: [
17993
+ "number"
17994
+ ]
17995
+ }
17996
+ },
17997
+ required: [
17998
+ "from",
17999
+ "to",
18000
+ "event",
18001
+ "effects",
18002
+ "index"
18003
+ ]
18004
+ }
18005
+ },
18006
+ emittedEvents: {
18007
+ types: [
18008
+ "array"
18009
+ ],
18010
+ items: {
18011
+ types: [
18012
+ "string"
18013
+ ]
18014
+ }
18015
+ },
18016
+ listenedEvents: {
18017
+ types: [
18018
+ "array"
18019
+ ],
18020
+ items: {
18021
+ types: [
18022
+ "string"
18023
+ ]
18024
+ }
18025
+ }
18026
+ },
18027
+ propertyRequired: [
18028
+ "name",
18029
+ "linkedEntity",
18030
+ "states",
18031
+ "transitions",
18032
+ "emittedEvents",
18033
+ "listenedEvents"
18034
+ ]
17520
18035
  },
17521
18036
  isLoading: {
17522
18037
  types: [
17523
18038
  "boolean"
17524
18039
  ],
17525
- description: "Loading state indicator"
18040
+ description: "Loading state indicator",
18041
+ default: false
17526
18042
  },
17527
18043
  error: {
17528
18044
  types: [
@@ -17553,230 +18069,15 @@ var patterns_registry_default = {
17553
18069
  },
17554
18070
  propertyRequired: [
17555
18071
  "message"
17556
- ]
17557
- },
17558
- layoutData: {
17559
- types: [
17560
- "object"
17561
- ],
17562
- description: "Pre-computed visualizer layout. Optional: when absent the view renders nothing (an author wires real layout via config; the generic factory can't synthesize a `DomLayoutData`).",
17563
- nonAuthorable: true
17564
- },
17565
- renderStateNode: {
17566
- types: [
17567
- "function"
17568
- ],
17569
- description: "Custom state node renderer \u2014 when provided, replaces the default circle nodes",
17570
- callbackArgs: [
17571
- {
17572
- name: "state",
17573
- type: "object",
17574
- schema: {
17575
- types: [
17576
- "object"
17577
- ],
17578
- properties: {
17579
- id: {
17580
- types: [
17581
- "string"
17582
- ]
17583
- },
17584
- name: {
17585
- types: [
17586
- "string"
17587
- ]
17588
- },
17589
- x: {
17590
- types: [
17591
- "number"
17592
- ]
17593
- },
17594
- y: {
17595
- types: [
17596
- "number"
17597
- ]
17598
- },
17599
- radius: {
17600
- types: [
17601
- "number"
17602
- ]
17603
- },
17604
- isInitial: {
17605
- types: [
17606
- "boolean"
17607
- ]
17608
- },
17609
- isFinal: {
17610
- types: [
17611
- "boolean"
17612
- ]
17613
- },
17614
- description: {
17615
- types: [
17616
- "string"
17617
- ]
17618
- }
17619
- },
17620
- required: [
17621
- "id",
17622
- "name",
17623
- "x",
17624
- "y",
17625
- "radius",
17626
- "isInitial",
17627
- "isFinal"
17628
- ]
17629
- }
17630
- },
17631
- {
17632
- name: "config",
17633
- type: "object",
17634
- schema: {
17635
- types: [
17636
- "object"
17637
- ],
17638
- properties: {
17639
- nodeRadius: {
17640
- types: [
17641
- "number"
17642
- ]
17643
- },
17644
- nodeSpacing: {
17645
- types: [
17646
- "number"
17647
- ]
17648
- },
17649
- initialIndicatorOffset: {
17650
- types: [
17651
- "number"
17652
- ]
17653
- },
17654
- arrowSize: {
17655
- types: [
17656
- "number"
17657
- ]
17658
- },
17659
- colors: {
17660
- types: [
17661
- "object"
17662
- ],
17663
- properties: {
17664
- background: {
17665
- types: [
17666
- "string"
17667
- ]
17668
- },
17669
- node: {
17670
- types: [
17671
- "string"
17672
- ]
17673
- },
17674
- nodeBorder: {
17675
- types: [
17676
- "string"
17677
- ]
17678
- },
17679
- nodeText: {
17680
- types: [
17681
- "string"
17682
- ]
17683
- },
17684
- initialNode: {
17685
- types: [
17686
- "string"
17687
- ]
17688
- },
17689
- finalNode: {
17690
- types: [
17691
- "string"
17692
- ]
17693
- },
17694
- arrow: {
17695
- types: [
17696
- "string"
17697
- ]
17698
- },
17699
- arrowText: {
17700
- types: [
17701
- "string"
17702
- ]
17703
- },
17704
- effectText: {
17705
- types: [
17706
- "string"
17707
- ]
17708
- },
17709
- guardText: {
17710
- types: [
17711
- "string"
17712
- ]
17713
- },
17714
- initial: {
17715
- types: [
17716
- "string"
17717
- ]
17718
- }
17719
- },
17720
- required: [
17721
- "background",
17722
- "node",
17723
- "nodeBorder",
17724
- "nodeText",
17725
- "initialNode",
17726
- "finalNode",
17727
- "arrow",
17728
- "arrowText",
17729
- "effectText",
17730
- "guardText",
17731
- "initial"
17732
- ]
17733
- },
17734
- fonts: {
17735
- types: [
17736
- "object"
17737
- ],
17738
- properties: {
17739
- node: {
17740
- types: [
17741
- "string"
17742
- ]
17743
- },
17744
- event: {
17745
- types: [
17746
- "string"
17747
- ]
17748
- },
17749
- effect: {
17750
- types: [
17751
- "string"
17752
- ]
17753
- }
17754
- },
17755
- required: [
17756
- "node",
17757
- "event",
17758
- "effect"
17759
- ]
17760
- }
17761
- },
17762
- required: [
17763
- "nodeRadius",
17764
- "nodeSpacing",
17765
- "initialIndicatorOffset",
17766
- "arrowSize",
17767
- "colors",
17768
- "fonts"
17769
- ]
17770
- }
17771
- }
17772
18072
  ],
17773
- renderCallback: true
18073
+ default: null
17774
18074
  }
17775
18075
  }
17776
18076
  },
17777
18077
  "scaled-diagram": {
17778
18078
  type: "scaled-diagram",
17779
18079
  category: "component",
18080
+ sourceFile: "components/core/molecules/ScaledDiagram.tsx",
17780
18081
  tier: "molecules",
17781
18082
  family: "core",
17782
18083
  description: "ScaledDiagram Molecule Wraps a fixed-size diagram (like JazariStateMachine / StateMachineView) and CSS-scales it to fit the parent container width. The diagram renders at its natural (large) size. We observe the content element and once the diagram is measured we apply transform:scale() with a corrected container height so surrounding layout flows correctly. Event Contract: - No events emitted (layout-only wrapper) - entityAware: false",
@@ -17805,6 +18106,7 @@ var patterns_registry_default = {
17805
18106
  "day-cell": {
17806
18107
  type: "day-cell",
17807
18108
  category: "component",
18109
+ sourceFile: "components/core/atoms/DayCell.tsx",
17808
18110
  tier: "atoms",
17809
18111
  family: "core",
17810
18112
  description: "DayCell component",
@@ -17852,6 +18154,7 @@ var patterns_registry_default = {
17852
18154
  "flip-container": {
17853
18155
  type: "flip-container",
17854
18156
  category: "layout",
18157
+ sourceFile: "components/core/atoms/FlipContainer.tsx",
17855
18158
  tier: "atoms",
17856
18159
  family: "core",
17857
18160
  description: "FlipContainer component",
@@ -17895,6 +18198,7 @@ var patterns_registry_default = {
17895
18198
  "time-slot-cell": {
17896
18199
  type: "time-slot-cell",
17897
18200
  category: "layout",
18201
+ sourceFile: "components/core/atoms/TimeSlotCell.tsx",
17898
18202
  tier: "atoms",
17899
18203
  family: "core",
17900
18204
  description: "TimeSlotCell component",
@@ -18185,6 +18489,7 @@ var patterns_registry_default = {
18185
18489
  "chart-legend": {
18186
18490
  type: "chart-legend",
18187
18491
  category: "display",
18492
+ sourceFile: "components/core/molecules/ChartLegend.tsx",
18188
18493
  tier: "molecules",
18189
18494
  family: "core",
18190
18495
  description: "ChartLegend component",
@@ -18245,6 +18550,7 @@ var patterns_registry_default = {
18245
18550
  "date-range-selector": {
18246
18551
  type: "date-range-selector",
18247
18552
  category: "form",
18553
+ sourceFile: "components/core/molecules/DateRangeSelector.tsx",
18248
18554
  tier: "molecules",
18249
18555
  family: "core",
18250
18556
  description: "DateRangeSelector component",
@@ -18314,6 +18620,7 @@ var patterns_registry_default = {
18314
18620
  "flip-card": {
18315
18621
  type: "flip-card",
18316
18622
  category: "display",
18623
+ sourceFile: "components/core/molecules/FlipCard.tsx",
18317
18624
  tier: "molecules",
18318
18625
  family: "core",
18319
18626
  description: "FlipCard \u2014 flip card that reveals a hidden back face on tap or click, toggling between a front and back content slot.",
@@ -18372,6 +18679,7 @@ var patterns_registry_default = {
18372
18679
  "graph-view": {
18373
18680
  type: "graph-view",
18374
18681
  category: "component",
18682
+ sourceFile: "components/core/molecules/GraphView.tsx",
18375
18683
  tier: "molecules",
18376
18684
  family: "core",
18377
18685
  description: "GraphView component",
@@ -19903,6 +20211,7 @@ var patterns_registry_default = {
19903
20211
  "map-view": {
19904
20212
  type: "map-view",
19905
20213
  category: "component",
20214
+ sourceFile: "components/core/molecules/MapView.tsx",
19906
20215
  tier: "molecules",
19907
20216
  family: "core",
19908
20217
  description: "MapView component",
@@ -20344,6 +20653,7 @@ var patterns_registry_default = {
20344
20653
  "status-dot": {
20345
20654
  type: "status-dot",
20346
20655
  category: "display",
20656
+ sourceFile: "components/core/atoms/StatusDot.tsx",
20347
20657
  tier: "atoms",
20348
20658
  family: "core",
20349
20659
  description: "StatusDot component",
@@ -20405,6 +20715,7 @@ var patterns_registry_default = {
20405
20715
  "trend-indicator": {
20406
20716
  type: "trend-indicator",
20407
20717
  category: "component",
20718
+ sourceFile: "components/core/atoms/TrendIndicator.tsx",
20408
20719
  tier: "atoms",
20409
20720
  family: "core",
20410
20721
  description: "TrendIndicator component",
@@ -20475,6 +20786,7 @@ var patterns_registry_default = {
20475
20786
  lightbox: {
20476
20787
  type: "lightbox",
20477
20788
  category: "component",
20789
+ sourceFile: "components/core/molecules/Lightbox.tsx",
20478
20790
  tier: "molecules",
20479
20791
  family: "core",
20480
20792
  description: "Lightbox component",
@@ -20572,6 +20884,7 @@ var patterns_registry_default = {
20572
20884
  "number-stepper": {
20573
20885
  type: "number-stepper",
20574
20886
  category: "component",
20887
+ sourceFile: "components/core/molecules/NumberStepper.tsx",
20575
20888
  tier: "molecules",
20576
20889
  family: "core",
20577
20890
  description: "NumberStepper component",
@@ -20659,7 +20972,8 @@ var patterns_registry_default = {
20659
20972
  "object"
20660
20973
  ],
20661
20974
  description: "Payload to include with the action event",
20662
- payloadFor: "action"
20975
+ payloadFor: "action",
20976
+ eventPayloadBrand: true
20663
20977
  },
20664
20978
  className: {
20665
20979
  types: [
@@ -20678,6 +20992,7 @@ var patterns_registry_default = {
20678
20992
  "star-rating": {
20679
20993
  type: "star-rating",
20680
20994
  category: "component",
20995
+ sourceFile: "components/core/molecules/StarRating.tsx",
20681
20996
  tier: "molecules",
20682
20997
  family: "core",
20683
20998
  description: "StarRating component",
@@ -20751,7 +21066,8 @@ var patterns_registry_default = {
20751
21066
  "object"
20752
21067
  ],
20753
21068
  description: "Payload to include with the action event",
20754
- payloadFor: "action"
21069
+ payloadFor: "action",
21070
+ eventPayloadBrand: true
20755
21071
  },
20756
21072
  onChange: {
20757
21073
  types: [
@@ -20783,6 +21099,7 @@ var patterns_registry_default = {
20783
21099
  "upload-drop-zone": {
20784
21100
  type: "upload-drop-zone",
20785
21101
  category: "component",
21102
+ sourceFile: "components/core/molecules/UploadDropZone.tsx",
20786
21103
  tier: "molecules",
20787
21104
  family: "core",
20788
21105
  description: "UploadDropZone component",
@@ -20896,7 +21213,8 @@ var patterns_registry_default = {
20896
21213
  "object"
20897
21214
  ],
20898
21215
  description: "Payload to include with the action event",
20899
- payloadFor: "action"
21216
+ payloadFor: "action",
21217
+ eventPayloadBrand: true
20900
21218
  },
20901
21219
  onFiles: {
20902
21220
  types: [
@@ -20994,6 +21312,7 @@ var patterns_registry_default = {
20994
21312
  "confetti-effect": {
20995
21313
  type: "confetti-effect",
20996
21314
  category: "component",
21315
+ sourceFile: "components/core/atoms/ConfettiEffect.tsx",
20997
21316
  tier: "atoms",
20998
21317
  family: "core",
20999
21318
  description: "ConfettiEffect component",
@@ -21036,6 +21355,7 @@ var patterns_registry_default = {
21036
21355
  "infinite-scroll-sentinel": {
21037
21356
  type: "infinite-scroll-sentinel",
21038
21357
  category: "component",
21358
+ sourceFile: "components/core/atoms/InfiniteScrollSentinel.tsx",
21039
21359
  tier: "atoms",
21040
21360
  family: "core",
21041
21361
  description: "InfiniteScrollSentinel component",
@@ -21060,7 +21380,8 @@ var patterns_registry_default = {
21060
21380
  "object"
21061
21381
  ],
21062
21382
  description: "Optional payload to include with the load-more event",
21063
- payloadFor: "loadMoreEvent"
21383
+ payloadFor: "loadMoreEvent",
21384
+ eventPayloadBrand: true
21064
21385
  },
21065
21386
  isLoading: {
21066
21387
  types: [
@@ -21094,6 +21415,7 @@ var patterns_registry_default = {
21094
21415
  "typewriter-text": {
21095
21416
  type: "typewriter-text",
21096
21417
  category: "component",
21418
+ sourceFile: "components/core/atoms/TypewriterText.tsx",
21097
21419
  tier: "atoms",
21098
21420
  family: "core",
21099
21421
  description: "TypewriterText component",
@@ -21333,6 +21655,7 @@ var patterns_registry_default = {
21333
21655
  "pull-to-refresh": {
21334
21656
  type: "pull-to-refresh",
21335
21657
  category: "component",
21658
+ sourceFile: "components/core/molecules/PullToRefresh.tsx",
21336
21659
  tier: "molecules",
21337
21660
  family: "core",
21338
21661
  description: "PullToRefresh component",
@@ -21356,7 +21679,8 @@ var patterns_registry_default = {
21356
21679
  "object"
21357
21680
  ],
21358
21681
  description: "Payload to include with the refresh event",
21359
- payloadFor: "refreshEvent"
21682
+ payloadFor: "refreshEvent",
21683
+ eventPayloadBrand: true
21360
21684
  },
21361
21685
  threshold: {
21362
21686
  types: [
@@ -21633,6 +21957,7 @@ var patterns_registry_default = {
21633
21957
  "stat-display": {
21634
21958
  type: "stat-display",
21635
21959
  category: "display",
21960
+ sourceFile: "components/core/molecules/StatDisplay.tsx",
21636
21961
  tier: "molecules",
21637
21962
  family: "core",
21638
21963
  description: "StatDisplay component",
@@ -21852,6 +22177,7 @@ var patterns_registry_default = {
21852
22177
  "section-header": {
21853
22178
  type: "section-header",
21854
22179
  category: "header",
22180
+ sourceFile: "components/core/atoms/SectionHeader.tsx",
21855
22181
  tier: "atoms",
21856
22182
  family: "core",
21857
22183
  description: "SectionHeader component",
@@ -21992,6 +22318,7 @@ var patterns_registry_default = {
21992
22318
  "feature-grid": {
21993
22319
  type: "feature-grid",
21994
22320
  category: "display",
22321
+ sourceFile: "components/core/molecules/FeatureGrid.tsx",
21995
22322
  tier: "molecules",
21996
22323
  family: "core",
21997
22324
  description: "FeatureGrid component",
@@ -22108,6 +22435,7 @@ var patterns_registry_default = {
22108
22435
  "social-proof": {
22109
22436
  type: "social-proof",
22110
22437
  category: "component",
22438
+ sourceFile: "components/core/molecules/SocialProof.tsx",
22111
22439
  tier: "molecules",
22112
22440
  family: "core",
22113
22441
  description: "SocialProof component",
@@ -22446,6 +22774,7 @@ var patterns_registry_default = {
22446
22774
  "edge-decoration": {
22447
22775
  type: "edge-decoration",
22448
22776
  category: "component",
22777
+ sourceFile: "components/core/molecules/EdgeDecoration.tsx",
22449
22778
  tier: "molecules",
22450
22779
  family: "core",
22451
22780
  description: "EdgeDecoration component",
@@ -22519,6 +22848,7 @@ var patterns_registry_default = {
22519
22848
  "ui-slot-renderer": {
22520
22849
  type: "ui-slot-renderer",
22521
22850
  category: "layout",
22851
+ sourceFile: "components/core/organisms/UISlotRenderer.tsx",
22522
22852
  tier: "organisms",
22523
22853
  family: "core",
22524
22854
  description: "UISlotRenderer component",
@@ -22635,6 +22965,7 @@ var patterns_registry_default = {
22635
22965
  "trait-frame": {
22636
22966
  type: "trait-frame",
22637
22967
  category: "component",
22968
+ sourceFile: "components/core/atoms/TraitFrame.tsx",
22638
22969
  tier: "atoms",
22639
22970
  family: "core",
22640
22971
  description: "TraitFrame \u2014 renders the current frame of a referenced trait. Resolves the `@trait.X[.slot]` binding at render time by looking up the referenced trait's last `render-ui` payload from the orbital's `UISlotManager`. Re-renders automatically when that trait transitions via the per-trait subscription channel (`subscribeTrait`). This is the single rendering primitive both runtime paths converge on: - **Interpreted path** \u2014 the trait-binding resolver in `renderer/trait-binding-resolver.ts` walks pattern trees at render time, substituting `\"@trait.X\"` string children with this component. - **Compiled path** \u2014 the TypeScript shell codegen in `orbital-shell-typescript/src/backend.rs::pattern_to_jsx_with_data` emits this component directly into generated JSX wherever a `@trait.*` string appears in a pattern tree. Embedding is passive: the referenced trait's state machine runs unchanged; TraitFrame is only a read-only lens on its current frame. Event propagation happens over the shared event bus, not through this component.",
@@ -22716,6 +23047,16 @@ var patterns_registry_default = {
22716
23047
  cyclicTypeName: "FileTreeNode"
22717
23048
  }
22718
23049
  },
23050
+ note: {
23051
+ types: [
23052
+ "string"
23053
+ ]
23054
+ },
23055
+ expandable: {
23056
+ types: [
23057
+ "boolean"
23058
+ ]
23059
+ },
22719
23060
  size: {
22720
23061
  types: [
22721
23062
  "number"
@@ -22807,6 +23148,30 @@ var patterns_registry_default = {
22807
23148
  }
22808
23149
  ]
22809
23150
  },
23151
+ onNodeExpand: {
23152
+ types: [
23153
+ "function"
23154
+ ],
23155
+ description: "Called the first time a node marked `expandable` is expanded, with its path, so its children can be loaded.",
23156
+ kind: "callback",
23157
+ callbackArgs: [
23158
+ {
23159
+ name: "path",
23160
+ type: "string"
23161
+ }
23162
+ ]
23163
+ },
23164
+ expandedPaths: {
23165
+ types: [
23166
+ "array"
23167
+ ],
23168
+ description: "Paths to show expanded (e.g. to reveal a node): each is expanded when it appears here, loading its children if needed.",
23169
+ items: {
23170
+ types: [
23171
+ "string"
23172
+ ]
23173
+ }
23174
+ },
22810
23175
  onNodeSelect: {
22811
23176
  types: [
22812
23177
  "function"
@@ -22887,6 +23252,7 @@ var patterns_registry_default = {
22887
23252
  "filter-pill": {
22888
23253
  type: "filter-pill",
22889
23254
  category: "filter",
23255
+ sourceFile: "components/core/atoms/FilterPill.tsx",
22890
23256
  tier: "atoms",
22891
23257
  family: "core",
22892
23258
  description: "FilterPill component",
@@ -23004,6 +23370,7 @@ var patterns_registry_default = {
23004
23370
  "likert-scale": {
23005
23371
  type: "likert-scale",
23006
23372
  category: "component",
23373
+ sourceFile: "components/core/molecules/LikertScale.tsx",
23007
23374
  tier: "molecules",
23008
23375
  family: "core",
23009
23376
  description: "LikertScale component",
@@ -23124,6 +23491,7 @@ var patterns_registry_default = {
23124
23491
  "matrix-question": {
23125
23492
  type: "matrix-question",
23126
23493
  category: "component",
23494
+ sourceFile: "components/core/molecules/MatrixQuestion.tsx",
23127
23495
  tier: "molecules",
23128
23496
  family: "core",
23129
23497
  description: "MatrixQuestion component",
@@ -23273,6 +23641,7 @@ var patterns_registry_default = {
23273
23641
  "qr-scanner": {
23274
23642
  type: "qr-scanner",
23275
23643
  category: "component",
23644
+ sourceFile: "components/core/molecules/QrScanner.tsx",
23276
23645
  tier: "molecules",
23277
23646
  family: "core",
23278
23647
  description: "QrScanner component",
@@ -23409,6 +23778,7 @@ var patterns_registry_default = {
23409
23778
  "vote-stack": {
23410
23779
  type: "vote-stack",
23411
23780
  category: "component",
23781
+ sourceFile: "components/core/molecules/VoteStack.tsx",
23412
23782
  tier: "molecules",
23413
23783
  family: "core",
23414
23784
  description: "VoteStack component",
@@ -23517,6 +23887,7 @@ var patterns_registry_default = {
23517
23887
  "branching-logic-builder": {
23518
23888
  type: "branching-logic-builder",
23519
23889
  category: "display",
23890
+ sourceFile: "components/core/molecules/BranchingLogicBuilder.tsx",
23520
23891
  tier: "molecules",
23521
23892
  family: "core",
23522
23893
  description: "BranchingLogicBuilder component",
@@ -24251,6 +24622,7 @@ var patterns_registry_default = {
24251
24622
  "option-constraint-group": {
24252
24623
  type: "option-constraint-group",
24253
24624
  category: "component",
24625
+ sourceFile: "components/core/molecules/OptionConstraintGroup.tsx",
24254
24626
  tier: "molecules",
24255
24627
  family: "core",
24256
24628
  description: 'OptionConstraintGroup Molecule Component Generic constrained option selector (radio for "single", checkbox for "multi") with required/optional/multi constraints. Renders radio inputs for `single` constraint and checkboxes for `multi`. Reports validation errors inline when the current selection violates the constraint. **Atomic Design**: Composed using Typography atom and native form controls.',
@@ -24434,6 +24806,7 @@ var patterns_registry_default = {
24434
24806
  "positioned-canvas": {
24435
24807
  type: "positioned-canvas",
24436
24808
  category: "game",
24809
+ sourceFile: "components/core/molecules/PositionedCanvas.tsx",
24437
24810
  tier: "molecules",
24438
24811
  family: "core",
24439
24812
  description: "PositionedCanvas component",
@@ -25785,6 +26158,7 @@ var patterns_registry_default = {
25785
26158
  "svg-branch": {
25786
26159
  type: "svg-branch",
25787
26160
  category: "component",
26161
+ sourceFile: "components/core/atoms/svg/SvgBranch.tsx",
25788
26162
  tier: "atoms",
25789
26163
  family: "core",
25790
26164
  description: "SvgBranch component",
@@ -25881,6 +26255,7 @@ var patterns_registry_default = {
25881
26255
  "svg-connection": {
25882
26256
  type: "svg-connection",
25883
26257
  category: "component",
26258
+ sourceFile: "components/core/atoms/svg/SvgConnection.tsx",
25884
26259
  tier: "atoms",
25885
26260
  family: "core",
25886
26261
  description: "SvgConnection component",
@@ -25984,6 +26359,7 @@ var patterns_registry_default = {
25984
26359
  "svg-flow": {
25985
26360
  type: "svg-flow",
25986
26361
  category: "component",
26362
+ sourceFile: "components/core/atoms/svg/SvgFlow.tsx",
25987
26363
  tier: "atoms",
25988
26364
  family: "core",
25989
26365
  description: "SvgFlow component",
@@ -26070,6 +26446,7 @@ var patterns_registry_default = {
26070
26446
  "svg-grid": {
26071
26447
  type: "svg-grid",
26072
26448
  category: "display",
26449
+ sourceFile: "components/core/atoms/svg/SvgGrid.tsx",
26073
26450
  tier: "atoms",
26074
26451
  family: "core",
26075
26452
  description: "SvgGrid component",
@@ -26180,6 +26557,7 @@ var patterns_registry_default = {
26180
26557
  "svg-lobe": {
26181
26558
  type: "svg-lobe",
26182
26559
  category: "component",
26560
+ sourceFile: "components/core/atoms/svg/SvgLobe.tsx",
26183
26561
  tier: "atoms",
26184
26562
  family: "core",
26185
26563
  description: "SvgLobe component",
@@ -26278,6 +26656,7 @@ var patterns_registry_default = {
26278
26656
  "svg-mesh": {
26279
26657
  type: "svg-mesh",
26280
26658
  category: "component",
26659
+ sourceFile: "components/core/atoms/svg/SvgMesh.tsx",
26281
26660
  tier: "atoms",
26282
26661
  family: "core",
26283
26662
  description: "SvgMesh component",
@@ -26369,6 +26748,7 @@ var patterns_registry_default = {
26369
26748
  "svg-morph": {
26370
26749
  type: "svg-morph",
26371
26750
  category: "component",
26751
+ sourceFile: "components/core/atoms/svg/SvgMorph.tsx",
26372
26752
  tier: "atoms",
26373
26753
  family: "core",
26374
26754
  description: "SvgMorph component",
@@ -26458,6 +26838,7 @@ var patterns_registry_default = {
26458
26838
  "svg-node": {
26459
26839
  type: "svg-node",
26460
26840
  category: "component",
26841
+ sourceFile: "components/core/atoms/svg/SvgNode.tsx",
26461
26842
  tier: "atoms",
26462
26843
  family: "core",
26463
26844
  description: "SvgNode component",
@@ -26553,6 +26934,7 @@ var patterns_registry_default = {
26553
26934
  "svg-pulse": {
26554
26935
  type: "svg-pulse",
26555
26936
  category: "component",
26937
+ sourceFile: "components/core/atoms/svg/SvgPulse.tsx",
26556
26938
  tier: "atoms",
26557
26939
  family: "core",
26558
26940
  description: "SvgPulse component",
@@ -26644,6 +27026,7 @@ var patterns_registry_default = {
26644
27026
  "svg-ring": {
26645
27027
  type: "svg-ring",
26646
27028
  category: "component",
27029
+ sourceFile: "components/core/atoms/svg/SvgRing.tsx",
26647
27030
  tier: "atoms",
26648
27031
  family: "core",
26649
27032
  description: "SvgRing component",
@@ -26746,6 +27129,7 @@ var patterns_registry_default = {
26746
27129
  "svg-shield": {
26747
27130
  type: "svg-shield",
26748
27131
  category: "component",
27132
+ sourceFile: "components/core/atoms/svg/SvgShield.tsx",
26749
27133
  tier: "atoms",
26750
27134
  family: "core",
26751
27135
  description: "SvgShield component",
@@ -26835,6 +27219,7 @@ var patterns_registry_default = {
26835
27219
  "svg-stack": {
26836
27220
  type: "svg-stack",
26837
27221
  category: "component",
27222
+ sourceFile: "components/core/atoms/svg/SvgStack.tsx",
26838
27223
  tier: "atoms",
26839
27224
  family: "core",
26840
27225
  description: "SvgStack component",
@@ -26936,6 +27321,7 @@ var patterns_registry_default = {
26936
27321
  "doc-breadcrumb": {
26937
27322
  type: "doc-breadcrumb",
26938
27323
  category: "navigation",
27324
+ sourceFile: "components/core/molecules/DocBreadcrumb.tsx",
26939
27325
  tier: "molecules",
26940
27326
  family: "core",
26941
27327
  description: "DocBreadcrumb component",
@@ -26984,6 +27370,7 @@ var patterns_registry_default = {
26984
27370
  "doc-pagination": {
26985
27371
  type: "doc-pagination",
26986
27372
  category: "navigation",
27373
+ sourceFile: "components/core/molecules/DocPagination.tsx",
26987
27374
  tier: "molecules",
26988
27375
  family: "core",
26989
27376
  description: "DocPagination component",
@@ -27166,6 +27553,7 @@ var patterns_registry_default = {
27166
27553
  "doc-toc": {
27167
27554
  type: "doc-toc",
27168
27555
  category: "component",
27556
+ sourceFile: "components/core/molecules/DocTOC.tsx",
27169
27557
  tier: "molecules",
27170
27558
  family: "core",
27171
27559
  description: "DocTOC component",
@@ -27226,6 +27614,7 @@ var patterns_registry_default = {
27226
27614
  "gradient-divider": {
27227
27615
  type: "gradient-divider",
27228
27616
  category: "component",
27617
+ sourceFile: "components/core/molecules/GradientDivider.tsx",
27229
27618
  tier: "molecules",
27230
27619
  family: "core",
27231
27620
  description: "GradientDivider component",
@@ -27253,6 +27642,7 @@ var patterns_registry_default = {
27253
27642
  "behavior-view": {
27254
27643
  type: "behavior-view",
27255
27644
  category: "component",
27645
+ sourceFile: "components/avl/molecules/BehaviorView.tsx",
27256
27646
  tier: "molecules",
27257
27647
  family: "avl",
27258
27648
  description: "BehaviorView component",
@@ -27267,7 +27657,7 @@ var patterns_registry_default = {
27267
27657
  types: [
27268
27658
  "object"
27269
27659
  ],
27270
- description: "data prop",
27660
+ description: "The orbital to summarize.",
27271
27661
  required: true,
27272
27662
  properties: {
27273
27663
  orbitalName: {
@@ -27282,7 +27672,7 @@ var patterns_registry_default = {
27282
27672
  },
27283
27673
  persistence: {
27284
27674
  types: [
27285
- "string"
27675
+ "object"
27286
27676
  ]
27287
27677
  },
27288
27678
  fields: {
@@ -27454,9 +27844,7 @@ var patterns_registry_default = {
27454
27844
  }
27455
27845
  },
27456
27846
  required: [
27457
- "name",
27458
- "isInitial",
27459
- "isTerminal"
27847
+ "name"
27460
27848
  ]
27461
27849
  }
27462
27850
  },
@@ -27530,7 +27918,6 @@ var patterns_registry_default = {
27530
27918
  "from",
27531
27919
  "to",
27532
27920
  "event",
27533
- "guard",
27534
27921
  "effects",
27535
27922
  "index"
27536
27923
  ]
@@ -27615,17 +28002,199 @@ var patterns_registry_default = {
27615
28002
  "pages",
27616
28003
  "traitDetails",
27617
28004
  "externalLinks"
27618
- ]
28005
+ ],
28006
+ example: {
28007
+ orbitalName: "OrderOrbital",
28008
+ entityName: "Order",
28009
+ persistence: "persistent",
28010
+ fields: [
28011
+ {
28012
+ name: "customer",
28013
+ type: "string",
28014
+ required: true,
28015
+ hasDefault: false
28016
+ },
28017
+ {
28018
+ name: "qty",
28019
+ type: "number",
28020
+ required: true,
28021
+ hasDefault: true
28022
+ },
28023
+ {
28024
+ name: "status",
28025
+ type: "string",
28026
+ required: false,
28027
+ hasDefault: true
28028
+ }
28029
+ ],
28030
+ traits: [
28031
+ {
28032
+ name: "OrderFlow",
28033
+ stateCount: 5,
28034
+ eventCount: 7,
28035
+ transitionCount: 7,
28036
+ emits: [
28037
+ "ORDER_SAVED"
28038
+ ],
28039
+ listens: [
28040
+ "PAYMENT_OK"
28041
+ ]
28042
+ }
28043
+ ],
28044
+ pages: [
28045
+ {
28046
+ name: "Orders",
28047
+ route: "/orders"
28048
+ }
28049
+ ],
28050
+ traitDetails: {
28051
+ OrderFlow: {
28052
+ name: "OrderFlow",
28053
+ linkedEntity: "Order",
28054
+ states: [
28055
+ {
28056
+ name: "browsing",
28057
+ isInitial: true,
28058
+ isTerminal: false
28059
+ },
28060
+ {
28061
+ name: "editing",
28062
+ isInitial: false,
28063
+ isTerminal: false
28064
+ },
28065
+ {
28066
+ name: "saving",
28067
+ isInitial: false,
28068
+ isTerminal: false
28069
+ },
28070
+ {
28071
+ name: "confirmed",
28072
+ isInitial: false,
28073
+ isTerminal: true
28074
+ },
28075
+ {
28076
+ name: "failed",
28077
+ isInitial: false,
28078
+ isTerminal: false
28079
+ }
28080
+ ],
28081
+ transitions: [
28082
+ {
28083
+ from: "browsing",
28084
+ to: "editing",
28085
+ event: "EDIT",
28086
+ effects: [
28087
+ {
28088
+ type: "render-ui",
28089
+ args: []
28090
+ }
28091
+ ],
28092
+ index: 0
28093
+ },
28094
+ {
28095
+ from: "editing",
28096
+ to: "saving",
28097
+ event: "SAVE",
28098
+ effects: [
28099
+ {
28100
+ type: "persist",
28101
+ args: []
28102
+ },
28103
+ {
28104
+ type: "notify",
28105
+ args: []
28106
+ }
28107
+ ],
28108
+ index: 1
28109
+ },
28110
+ {
28111
+ from: "saving",
28112
+ to: "confirmed",
28113
+ event: "SAVED",
28114
+ effects: [
28115
+ {
28116
+ type: "emit",
28117
+ args: []
28118
+ },
28119
+ {
28120
+ type: "render-ui",
28121
+ args: []
28122
+ }
28123
+ ],
28124
+ index: 2
28125
+ },
28126
+ {
28127
+ from: "saving",
28128
+ to: "failed",
28129
+ event: "SAVE_FAILED",
28130
+ effects: [
28131
+ {
28132
+ type: "notify",
28133
+ args: []
28134
+ }
28135
+ ],
28136
+ index: 3
28137
+ },
28138
+ {
28139
+ from: "failed",
28140
+ to: "editing",
28141
+ event: "RETRY",
28142
+ effects: [],
28143
+ index: 4
28144
+ },
28145
+ {
28146
+ from: "editing",
28147
+ to: "browsing",
28148
+ event: "CANCEL",
28149
+ effects: [
28150
+ {
28151
+ type: "render-ui",
28152
+ args: []
28153
+ }
28154
+ ],
28155
+ index: 5
28156
+ },
28157
+ {
28158
+ from: "confirmed",
28159
+ to: "browsing",
28160
+ event: "DONE",
28161
+ effects: [
28162
+ {
28163
+ type: "navigate",
28164
+ args: []
28165
+ }
28166
+ ],
28167
+ index: 6
28168
+ }
28169
+ ],
28170
+ emittedEvents: [
28171
+ "ORDER_SAVED"
28172
+ ],
28173
+ listenedEvents: [
28174
+ "PAYMENT_OK"
28175
+ ]
28176
+ }
28177
+ },
28178
+ externalLinks: [
28179
+ {
28180
+ targetOrbital: "PaymentOrbital",
28181
+ eventName: "PAYMENT_OK",
28182
+ direction: "in",
28183
+ traitName: "OrderFlow"
28184
+ }
28185
+ ]
28186
+ }
27619
28187
  }
27620
28188
  }
27621
28189
  },
27622
28190
  "module-card": {
27623
28191
  type: "module-card",
27624
28192
  category: "display",
28193
+ sourceFile: "components/avl/molecules/ModuleCard.tsx",
27625
28194
  tier: "molecules",
27626
28195
  family: "avl",
27627
- description: "ModuleCard \u2014 a card summarizing one course module or lesson with progress and entry point.",
27628
- capabilities: "course module card, lesson card, curriculum unit card, learning-path step card",
28196
+ description: "ModuleCard \u2014 a compact summary card for one orbital module: its entity and fields, a mini state machine per trait, and its pages.",
28197
+ capabilities: "orbital module summary card, entity and trait overview card, app architecture node card",
27629
28198
  suggestedFor: [
27630
28199
  "module",
27631
28200
  "card",
@@ -27637,7 +28206,7 @@ var patterns_registry_default = {
27637
28206
  types: [
27638
28207
  "object"
27639
28208
  ],
27640
- description: "data prop",
28209
+ description: "The orbital to summarize.",
27641
28210
  required: true,
27642
28211
  properties: {
27643
28212
  orbitalName: {
@@ -27652,7 +28221,7 @@ var patterns_registry_default = {
27652
28221
  },
27653
28222
  persistence: {
27654
28223
  types: [
27655
- "string"
28224
+ "object"
27656
28225
  ]
27657
28226
  },
27658
28227
  fields: {
@@ -27824,9 +28393,7 @@ var patterns_registry_default = {
27824
28393
  }
27825
28394
  },
27826
28395
  required: [
27827
- "name",
27828
- "isInitial",
27829
- "isTerminal"
28396
+ "name"
27830
28397
  ]
27831
28398
  }
27832
28399
  },
@@ -27900,7 +28467,6 @@ var patterns_registry_default = {
27900
28467
  "from",
27901
28468
  "to",
27902
28469
  "event",
27903
- "guard",
27904
28470
  "effects",
27905
28471
  "index"
27906
28472
  ]
@@ -27985,7 +28551,188 @@ var patterns_registry_default = {
27985
28551
  "pages",
27986
28552
  "traitDetails",
27987
28553
  "externalLinks"
27988
- ]
28554
+ ],
28555
+ example: {
28556
+ orbitalName: "OrderOrbital",
28557
+ entityName: "Order",
28558
+ persistence: "persistent",
28559
+ fields: [
28560
+ {
28561
+ name: "customer",
28562
+ type: "string",
28563
+ required: true,
28564
+ hasDefault: false
28565
+ },
28566
+ {
28567
+ name: "qty",
28568
+ type: "number",
28569
+ required: true,
28570
+ hasDefault: true
28571
+ },
28572
+ {
28573
+ name: "status",
28574
+ type: "string",
28575
+ required: false,
28576
+ hasDefault: true
28577
+ }
28578
+ ],
28579
+ traits: [
28580
+ {
28581
+ name: "OrderFlow",
28582
+ stateCount: 5,
28583
+ eventCount: 7,
28584
+ transitionCount: 7,
28585
+ emits: [
28586
+ "ORDER_SAVED"
28587
+ ],
28588
+ listens: [
28589
+ "PAYMENT_OK"
28590
+ ]
28591
+ }
28592
+ ],
28593
+ pages: [
28594
+ {
28595
+ name: "Orders",
28596
+ route: "/orders"
28597
+ }
28598
+ ],
28599
+ traitDetails: {
28600
+ OrderFlow: {
28601
+ name: "OrderFlow",
28602
+ linkedEntity: "Order",
28603
+ states: [
28604
+ {
28605
+ name: "browsing",
28606
+ isInitial: true,
28607
+ isTerminal: false
28608
+ },
28609
+ {
28610
+ name: "editing",
28611
+ isInitial: false,
28612
+ isTerminal: false
28613
+ },
28614
+ {
28615
+ name: "saving",
28616
+ isInitial: false,
28617
+ isTerminal: false
28618
+ },
28619
+ {
28620
+ name: "confirmed",
28621
+ isInitial: false,
28622
+ isTerminal: true
28623
+ },
28624
+ {
28625
+ name: "failed",
28626
+ isInitial: false,
28627
+ isTerminal: false
28628
+ }
28629
+ ],
28630
+ transitions: [
28631
+ {
28632
+ from: "browsing",
28633
+ to: "editing",
28634
+ event: "EDIT",
28635
+ effects: [
28636
+ {
28637
+ type: "render-ui",
28638
+ args: []
28639
+ }
28640
+ ],
28641
+ index: 0
28642
+ },
28643
+ {
28644
+ from: "editing",
28645
+ to: "saving",
28646
+ event: "SAVE",
28647
+ effects: [
28648
+ {
28649
+ type: "persist",
28650
+ args: []
28651
+ },
28652
+ {
28653
+ type: "notify",
28654
+ args: []
28655
+ }
28656
+ ],
28657
+ index: 1
28658
+ },
28659
+ {
28660
+ from: "saving",
28661
+ to: "confirmed",
28662
+ event: "SAVED",
28663
+ effects: [
28664
+ {
28665
+ type: "emit",
28666
+ args: []
28667
+ },
28668
+ {
28669
+ type: "render-ui",
28670
+ args: []
28671
+ }
28672
+ ],
28673
+ index: 2
28674
+ },
28675
+ {
28676
+ from: "saving",
28677
+ to: "failed",
28678
+ event: "SAVE_FAILED",
28679
+ effects: [
28680
+ {
28681
+ type: "notify",
28682
+ args: []
28683
+ }
28684
+ ],
28685
+ index: 3
28686
+ },
28687
+ {
28688
+ from: "failed",
28689
+ to: "editing",
28690
+ event: "RETRY",
28691
+ effects: [],
28692
+ index: 4
28693
+ },
28694
+ {
28695
+ from: "editing",
28696
+ to: "browsing",
28697
+ event: "CANCEL",
28698
+ effects: [
28699
+ {
28700
+ type: "render-ui",
28701
+ args: []
28702
+ }
28703
+ ],
28704
+ index: 5
28705
+ },
28706
+ {
28707
+ from: "confirmed",
28708
+ to: "browsing",
28709
+ event: "DONE",
28710
+ effects: [
28711
+ {
28712
+ type: "navigate",
28713
+ args: []
28714
+ }
28715
+ ],
28716
+ index: 6
28717
+ }
28718
+ ],
28719
+ emittedEvents: [
28720
+ "ORDER_SAVED"
28721
+ ],
28722
+ listenedEvents: [
28723
+ "PAYMENT_OK"
28724
+ ]
28725
+ }
28726
+ },
28727
+ externalLinks: [
28728
+ {
28729
+ targetOrbital: "PaymentOrbital",
28730
+ eventName: "PAYMENT_OK",
28731
+ direction: "in",
28732
+ traitName: "OrderFlow"
28733
+ }
28734
+ ]
28735
+ }
27989
28736
  }
27990
28737
  }
27991
28738
  },
@@ -31815,6 +32562,7 @@ var patterns_registry_default = {
31815
32562
  "dashboard-grid": {
31816
32563
  type: "dashboard-grid",
31817
32564
  category: "game",
32565
+ sourceFile: "components/core/organisms/layout/DashboardGrid.tsx",
31818
32566
  tier: "organisms",
31819
32567
  family: "core",
31820
32568
  description: "DashboardGrid Component Multi-column grid for widgets and stats cards. Supports cell spanning for flexible dashboard layouts. Uses wireframe theme styling (high contrast, sharp edges).",
@@ -32004,6 +32752,7 @@ var patterns_registry_default = {
32004
32752
  "split-pane": {
32005
32753
  type: "split-pane",
32006
32754
  category: "layout",
32755
+ sourceFile: "components/core/organisms/layout/SplitPane.tsx",
32007
32756
  tier: "organisms",
32008
32757
  family: "core",
32009
32758
  description: "SplitPane component",
@@ -32095,6 +32844,7 @@ var patterns_registry_default = {
32095
32844
  "tabbed-container": {
32096
32845
  type: "tabbed-container",
32097
32846
  category: "navigation",
32847
+ sourceFile: "components/core/organisms/layout/TabbedContainer.tsx",
32098
32848
  tier: "organisms",
32099
32849
  family: "core",
32100
32850
  description: "TabbedContainer component",
@@ -32201,6 +32951,7 @@ var patterns_registry_default = {
32201
32951
  "master-detail-layout": {
32202
32952
  type: "master-detail-layout",
32203
32953
  category: "display",
32954
+ sourceFile: "components/core/organisms/layout/MasterDetailLayout.tsx",
32204
32955
  tier: "organisms",
32205
32956
  family: "core",
32206
32957
  description: "MasterDetail Component Classic master-detail pattern with a list on the left and selected item detail on the right. Uses wireframe theme styling (high contrast, sharp edges).",
@@ -32269,6 +33020,7 @@ var patterns_registry_default = {
32269
33020
  sparkline: {
32270
33021
  type: "sparkline",
32271
33022
  category: "component",
33023
+ sourceFile: "components/core/atoms/Sparkline.tsx",
32272
33024
  tier: "atoms",
32273
33025
  family: "core",
32274
33026
  description: "Sparkline Atom Component Minimal inline trend chart. Pure SVG polyline over a numeric series. Extracted from StatCard's sparkline path so any KPI or list row can include a trend visualization without compositing the whole card.",
@@ -32344,6 +33096,7 @@ var patterns_registry_default = {
32344
33096
  "date-range-picker": {
32345
33097
  type: "date-range-picker",
32346
33098
  category: "component",
33099
+ sourceFile: "components/core/molecules/DateRangePicker.tsx",
32347
33100
  tier: "molecules",
32348
33101
  family: "core",
32349
33102
  description: "DateRangePicker component",
@@ -32494,6 +33247,7 @@ var patterns_registry_default = {
32494
33247
  aside: {
32495
33248
  type: "aside",
32496
33249
  category: "component",
33250
+ sourceFile: "components/core/atoms/Aside.tsx",
32497
33251
  tier: "atoms",
32498
33252
  family: "core",
32499
33253
  description: "Aside \u2014 a secondary side panel that hosts navigation links or supplementary content alongside a main content area.",
@@ -32520,6 +33274,7 @@ var patterns_registry_default = {
32520
33274
  dialog: {
32521
33275
  type: "dialog",
32522
33276
  category: "container",
33277
+ sourceFile: "components/core/atoms/Dialog.tsx",
32523
33278
  tier: "atoms",
32524
33279
  family: "core",
32525
33280
  description: 'Dialog Atom Component Semantic wrapper for the native `<dialog>` element. Owns the raw HTML rendering so molecules (Modal, ConfirmDialog, etc.) can compose the dialog primitive without dropping back to raw HTML. Defaults `role="dialog"` and `aria-modal="true"`; both overridable for non-modal use cases.',
@@ -32545,6 +33300,7 @@ var patterns_registry_default = {
32545
33300
  "tag-input": {
32546
33301
  type: "tag-input",
32547
33302
  category: "form",
33303
+ sourceFile: "components/core/molecules/TagInput.tsx",
32548
33304
  tier: "molecules",
32549
33305
  family: "core",
32550
33306
  description: "TagInput component",
@@ -33260,6 +34016,7 @@ var patterns_registry_default = {
33260
34016
  "stat-card": {
33261
34017
  type: "stat-card",
33262
34018
  category: "display",
34019
+ sourceFile: "components/core/organisms/StatCard.tsx",
33263
34020
  tier: "organisms",
33264
34021
  family: "core",
33265
34022
  description: "StatCard component",
@@ -33570,6 +34327,7 @@ var patterns_registry_default = {
33570
34327
  "activation-block": {
33571
34328
  type: "activation-block",
33572
34329
  category: "component",
34330
+ sourceFile: "components/core/molecules/ActivationBlock.tsx",
33573
34331
  tier: "molecules",
33574
34332
  family: "core",
33575
34333
  description: "ActivationBlock component",
@@ -33611,6 +34369,7 @@ var patterns_registry_default = {
33611
34369
  "bloom-quiz-block": {
33612
34370
  type: "bloom-quiz-block",
33613
34371
  category: "component",
34372
+ sourceFile: "components/core/molecules/BloomQuizBlock.tsx",
33614
34373
  tier: "molecules",
33615
34374
  family: "core",
33616
34375
  description: "BloomQuizBlock component",
@@ -33681,6 +34440,7 @@ var patterns_registry_default = {
33681
34440
  "connection-block": {
33682
34441
  type: "connection-block",
33683
34442
  category: "component",
34443
+ sourceFile: "components/core/molecules/ConnectionBlock.tsx",
33684
34444
  tier: "molecules",
33685
34445
  family: "core",
33686
34446
  description: "ConnectionBlock component",
@@ -33709,6 +34469,7 @@ var patterns_registry_default = {
33709
34469
  "reflection-block": {
33710
34470
  type: "reflection-block",
33711
34471
  category: "component",
34472
+ sourceFile: "components/core/molecules/ReflectionBlock.tsx",
33712
34473
  tier: "molecules",
33713
34474
  family: "core",
33714
34475
  description: "ReflectionBlock component",
@@ -35525,6 +36286,7 @@ var patterns_registry_default = {
35525
36286
  vstack: {
35526
36287
  type: "vstack",
35527
36288
  category: "component",
36289
+ sourceFile: "components/core/atoms/Stack.tsx",
35528
36290
  tier: "atoms",
35529
36291
  family: "core",
35530
36292
  description: "VStack - Vertical stack shorthand",
@@ -35681,7 +36443,8 @@ var patterns_registry_default = {
35681
36443
  "object"
35682
36444
  ],
35683
36445
  description: "Payload to include with the action event",
35684
- payloadFor: "action"
36446
+ payloadFor: "action",
36447
+ eventPayloadBrand: true
35685
36448
  },
35686
36449
  responsive: {
35687
36450
  types: [
@@ -35695,6 +36458,7 @@ var patterns_registry_default = {
35695
36458
  hstack: {
35696
36459
  type: "hstack",
35697
36460
  category: "component",
36461
+ sourceFile: "components/core/atoms/Stack.tsx",
35698
36462
  tier: "atoms",
35699
36463
  family: "core",
35700
36464
  description: "HStack - Horizontal stack shorthand",
@@ -35851,7 +36615,8 @@ var patterns_registry_default = {
35851
36615
  "object"
35852
36616
  ],
35853
36617
  description: "Payload to include with the action event",
35854
- payloadFor: "action"
36618
+ payloadFor: "action",
36619
+ eventPayloadBrand: true
35855
36620
  },
35856
36621
  responsive: {
35857
36622
  types: [
@@ -35865,6 +36630,7 @@ var patterns_registry_default = {
35865
36630
  "form-layout": {
35866
36631
  type: "form-layout",
35867
36632
  category: "form",
36633
+ sourceFile: "components/core/molecules/FormSection.tsx",
35868
36634
  tier: "molecules",
35869
36635
  family: "core",
35870
36636
  description: "Form layout with multiple sections",
@@ -36000,6 +36766,7 @@ var patterns_registry_default = {
36000
36766
  "learning-canvas": {
36001
36767
  type: "learning-canvas",
36002
36768
  category: "learning",
36769
+ sourceFile: "components/learning/atoms/LearningCanvas.tsx",
36003
36770
  tier: "atoms",
36004
36771
  family: "learning",
36005
36772
  description: "LearningCanvas component",
@@ -36604,6 +37371,7 @@ var patterns_registry_default = {
36604
37371
  "biology-canvas": {
36605
37372
  type: "biology-canvas",
36606
37373
  category: "learning",
37374
+ sourceFile: "components/learning/molecules/BiologyCanvas.tsx",
36607
37375
  tier: "molecules",
36608
37376
  family: "learning",
36609
37377
  description: "BiologyCanvas component",
@@ -37900,6 +38668,7 @@ var patterns_registry_default = {
37900
38668
  "chemistry-canvas": {
37901
38669
  type: "chemistry-canvas",
37902
38670
  category: "learning",
38671
+ sourceFile: "components/learning/molecules/ChemistryCanvas.tsx",
37903
38672
  tier: "molecules",
37904
38673
  family: "learning",
37905
38674
  description: "ChemistryCanvas component",
@@ -40277,6 +41046,7 @@ var patterns_registry_default = {
40277
41046
  "physics-canvas": {
40278
41047
  type: "physics-canvas",
40279
41048
  category: "learning",
41049
+ sourceFile: "components/learning/molecules/PhysicsCanvas.tsx",
40280
41050
  tier: "molecules",
40281
41051
  family: "learning",
40282
41052
  description: "PhysicsCanvas component",
@@ -41794,6 +42564,7 @@ var patterns_registry_default = {
41794
42564
  "state-graph": {
41795
42565
  type: "state-graph",
41796
42566
  category: "game",
42567
+ sourceFile: "components/game/molecules/StateGraph.tsx",
41797
42568
  tier: "molecules",
41798
42569
  family: "game",
41799
42570
  description: `StateGraph (molecule) Dumb visual renderer for a state-machine graph: lays states out on a circle, draws the player's transitions as SVG arrows, and emits a node-click event. All state (which transitions exist, the pending "from" selection, test results) lives in the .lolo FSM \u2014 this molecule only renders and reports clicks.`,
@@ -41918,6 +42689,7 @@ var patterns_registry_default = {
41918
42689
  "state-json-view": {
41919
42690
  type: "state-json-view",
41920
42691
  category: "game",
42692
+ sourceFile: "components/game/molecules/StateJsonView.tsx",
41921
42693
  tier: "molecules",
41922
42694
  family: "game",
41923
42695
  description: "StateJsonView Component Shows a state machine's definition as an expandable code block, so the learner sees the declarative schema behind the visual graph. Dumb molecule: takes the machine as plain typed fields (name/states/initialState/transitions) \u2014 the .lolo organism owns the entity and the molecule renders + stringifies it.",
@@ -42013,6 +42785,7 @@ var patterns_registry_default = {
42013
42785
  "algorithm-canvas": {
42014
42786
  type: "algorithm-canvas",
42015
42787
  category: "learning",
42788
+ sourceFile: "components/learning/molecules/AlgorithmCanvas.tsx",
42016
42789
  tier: "molecules",
42017
42790
  family: "learning",
42018
42791
  description: "AlgorithmCanvas component",
@@ -42804,6 +43577,7 @@ var patterns_registry_default = {
42804
43577
  "atlas-image": {
42805
43578
  type: "atlas-image",
42806
43579
  category: "component",
43580
+ sourceFile: "components/core/atoms/AtlasImage.tsx",
42807
43581
  tier: "atoms",
42808
43582
  family: "core",
42809
43583
  description: "AtlasImage component",
@@ -42918,6 +43692,7 @@ var patterns_registry_default = {
42918
43692
  "atlas-panel": {
42919
43693
  type: "atlas-panel",
42920
43694
  category: "component",
43695
+ sourceFile: "components/core/atoms/AtlasImage.tsx",
42921
43696
  tier: "atoms",
42922
43697
  family: "core",
42923
43698
  description: "AtlasPanel component",
@@ -43020,6 +43795,7 @@ var patterns_registry_default = {
43020
43795
  "draw-shape": {
43021
43796
  type: "draw-shape",
43022
43797
  category: "game",
43798
+ sourceFile: "components/game/atoms/DrawShape.tsx",
43023
43799
  tier: "atoms",
43024
43800
  family: "game",
43025
43801
  description: "DrawShape component",
@@ -43987,6 +44763,7 @@ var patterns_registry_default = {
43987
44763
  "draw-text": {
43988
44764
  type: "draw-text",
43989
44765
  category: "game",
44766
+ sourceFile: "components/game/atoms/DrawText.tsx",
43990
44767
  tier: "atoms",
43991
44768
  family: "game",
43992
44769
  description: "DrawText component",
@@ -44124,6 +44901,7 @@ var patterns_registry_default = {
44124
44901
  "draw-shape-layer": {
44125
44902
  type: "draw-shape-layer",
44126
44903
  category: "game",
44904
+ sourceFile: "components/game/molecules/DrawShapeLayer.tsx",
44127
44905
  tier: "molecules",
44128
44906
  family: "game",
44129
44907
  description: "DrawShapeLayer component",
@@ -45114,6 +45892,7 @@ var patterns_registry_default = {
45114
45892
  "draw-text-layer": {
45115
45893
  type: "draw-text-layer",
45116
45894
  category: "game",
45895
+ sourceFile: "components/game/molecules/DrawTextLayer.tsx",
45117
45896
  tier: "molecules",
45118
45897
  family: "game",
45119
45898
  description: "DrawTextLayer component",
@@ -46049,6 +46828,7 @@ var patterns_registry_default = {
46049
46828
  presence: {
46050
46829
  type: "presence",
46051
46830
  category: "component",
46831
+ sourceFile: "components/core/atoms/Presence.tsx",
46052
46832
  tier: "atoms",
46053
46833
  family: "core",
46054
46834
  description: "Presence component",
@@ -46082,6 +46862,7 @@ var patterns_registry_default = {
46082
46862
  "page-transition": {
46083
46863
  type: "page-transition",
46084
46864
  category: "component",
46865
+ sourceFile: "components/core/molecules/PageTransition.tsx",
46085
46866
  tier: "molecules",
46086
46867
  family: "core",
46087
46868
  description: "PageTransition component",
@@ -46278,6 +47059,7 @@ var patterns_registry_default = {
46278
47059
  "import-progress": {
46279
47060
  type: "import-progress",
46280
47061
  category: "component",
47062
+ sourceFile: "components/core/molecules/import/ImportProgress.tsx",
46281
47063
  tier: "molecules",
46282
47064
  family: "core",
46283
47065
  description: "ImportProgress component",
@@ -46348,6 +47130,7 @@ var patterns_registry_default = {
46348
47130
  "import-source-picker": {
46349
47131
  type: "import-source-picker",
46350
47132
  category: "component",
47133
+ sourceFile: "components/core/molecules/import/ImportSourcePicker.tsx",
46351
47134
  tier: "molecules",
46352
47135
  family: "core",
46353
47136
  description: "ImportSourcePicker component",
@@ -46482,6 +47265,7 @@ var patterns_registry_default = {
46482
47265
  "draw-group": {
46483
47266
  type: "draw-group",
46484
47267
  category: "game",
47268
+ sourceFile: "components/game/atoms/DrawGroup.tsx",
46485
47269
  tier: "atoms",
46486
47270
  family: "game",
46487
47271
  description: "DrawGroup component",
@@ -46701,6 +47485,7 @@ var patterns_registry_default = {
46701
47485
  "emoji-picker": {
46702
47486
  type: "emoji-picker",
46703
47487
  category: "component",
47488
+ sourceFile: "components/core/molecules/EmojiPicker.tsx",
46704
47489
  tier: "molecules",
46705
47490
  family: "core",
46706
47491
  description: "EmojiPicker component",
@@ -46762,6 +47547,7 @@ var patterns_registry_default = {
46762
47547
  "draw-mesh": {
46763
47548
  type: "draw-mesh",
46764
47549
  category: "game",
47550
+ sourceFile: "components/game/atoms/DrawMesh.tsx",
46765
47551
  tier: "atoms",
46766
47552
  family: "game",
46767
47553
  description: "DrawMesh component",
@@ -47239,6 +48025,7 @@ var patterns_registry_default = {
47239
48025
  "algo-graph-canvas": {
47240
48026
  type: "algo-graph-canvas",
47241
48027
  category: "learning",
48028
+ sourceFile: "components/learning/molecules/AlgoGraphCanvas.tsx",
47242
48029
  tier: "molecules",
47243
48030
  family: "learning",
47244
48031
  description: "AlgoGraphCanvas component",
@@ -47804,6 +48591,7 @@ var patterns_registry_default = {
47804
48591
  "fx-overlay": {
47805
48592
  type: "fx-overlay",
47806
48593
  category: "container",
48594
+ sourceFile: "components/core/molecules/FxOverlay.tsx",
47807
48595
  tier: "molecules",
47808
48596
  family: "core",
47809
48597
  description: "FxOverlay component",
@@ -48381,6 +49169,7 @@ var patterns_registry_default = {
48381
49169
  "rich-text-editor": {
48382
49170
  type: "rich-text-editor",
48383
49171
  category: "component",
49172
+ sourceFile: "components/core/molecules/RichTextEditor.tsx",
48384
49173
  tier: "molecules",
48385
49174
  family: "core",
48386
49175
  description: "RichTextEditor component",
@@ -49418,6 +50207,7 @@ var patterns_registry_default = {
49418
50207
  "game-audio-cue": {
49419
50208
  type: "game-audio-cue",
49420
50209
  category: "game",
50210
+ sourceFile: "components/game/atoms/GameAudioCue.tsx",
49421
50211
  tier: "atoms",
49422
50212
  family: "game",
49423
50213
  description: "GameAudioCue component",
@@ -49528,6 +50318,7 @@ var patterns_registry_default = {
49528
50318
  "ui-slot-component": {
49529
50319
  type: "ui-slot-component",
49530
50320
  category: "layout",
50321
+ sourceFile: "components/core/organisms/UISlotRenderer.tsx",
49531
50322
  tier: "organisms",
49532
50323
  family: "core",
49533
50324
  description: "UISlotComponent component",
@@ -49959,7 +50750,6 @@ var patterns_registry_default = {
49959
50750
  },
49960
50751
  required: [
49961
50752
  "name",
49962
- "parent",
49963
50753
  "pivot",
49964
50754
  "tip"
49965
50755
  ]
@@ -50947,6 +51737,524 @@ var patterns_registry_default = {
50947
51737
  description: "className prop"
50948
51738
  }
50949
51739
  }
51740
+ },
51741
+ "avl-state-machine": {
51742
+ type: "avl-state-machine",
51743
+ category: "display",
51744
+ sourceFile: "components/avl/molecules/AvlStateMachine.tsx",
51745
+ tier: "molecules",
51746
+ family: "avl",
51747
+ description: "AvlStateMachine component",
51748
+ suggestedFor: [
51749
+ "avl",
51750
+ "state",
51751
+ "machine",
51752
+ "avl state machine"
51753
+ ],
51754
+ typicalSize: "medium",
51755
+ propsSchema: {
51756
+ trait: {
51757
+ types: [
51758
+ "object"
51759
+ ],
51760
+ description: "The trait to draw (see `parseTraitLevel`).",
51761
+ required: true,
51762
+ properties: {
51763
+ name: {
51764
+ types: [
51765
+ "string"
51766
+ ]
51767
+ },
51768
+ linkedEntity: {
51769
+ types: [
51770
+ "string"
51771
+ ]
51772
+ },
51773
+ states: {
51774
+ types: [
51775
+ "array"
51776
+ ],
51777
+ items: {
51778
+ types: [
51779
+ "object"
51780
+ ],
51781
+ properties: {
51782
+ name: {
51783
+ types: [
51784
+ "string"
51785
+ ]
51786
+ },
51787
+ isInitial: {
51788
+ types: [
51789
+ "boolean"
51790
+ ]
51791
+ },
51792
+ isTerminal: {
51793
+ types: [
51794
+ "boolean"
51795
+ ]
51796
+ }
51797
+ },
51798
+ required: [
51799
+ "name"
51800
+ ]
51801
+ }
51802
+ },
51803
+ transitions: {
51804
+ types: [
51805
+ "array"
51806
+ ],
51807
+ items: {
51808
+ types: [
51809
+ "object"
51810
+ ],
51811
+ properties: {
51812
+ from: {
51813
+ types: [
51814
+ "string"
51815
+ ]
51816
+ },
51817
+ to: {
51818
+ types: [
51819
+ "string"
51820
+ ]
51821
+ },
51822
+ event: {
51823
+ types: [
51824
+ "string"
51825
+ ]
51826
+ },
51827
+ guard: {
51828
+ types: [
51829
+ "sexpr"
51830
+ ]
51831
+ },
51832
+ effects: {
51833
+ types: [
51834
+ "array"
51835
+ ],
51836
+ items: {
51837
+ types: [
51838
+ "object"
51839
+ ],
51840
+ properties: {
51841
+ type: {
51842
+ types: [
51843
+ "string"
51844
+ ]
51845
+ },
51846
+ args: {
51847
+ types: [
51848
+ "array"
51849
+ ],
51850
+ items: {
51851
+ types: [
51852
+ "sexpr"
51853
+ ]
51854
+ }
51855
+ }
51856
+ },
51857
+ required: [
51858
+ "type",
51859
+ "args"
51860
+ ]
51861
+ }
51862
+ },
51863
+ index: {
51864
+ types: [
51865
+ "number"
51866
+ ]
51867
+ }
51868
+ },
51869
+ required: [
51870
+ "from",
51871
+ "to",
51872
+ "event",
51873
+ "effects",
51874
+ "index"
51875
+ ]
51876
+ }
51877
+ },
51878
+ emittedEvents: {
51879
+ types: [
51880
+ "array"
51881
+ ],
51882
+ items: {
51883
+ types: [
51884
+ "string"
51885
+ ]
51886
+ }
51887
+ },
51888
+ listenedEvents: {
51889
+ types: [
51890
+ "array"
51891
+ ],
51892
+ items: {
51893
+ types: [
51894
+ "string"
51895
+ ]
51896
+ }
51897
+ }
51898
+ },
51899
+ propertyRequired: [
51900
+ "name",
51901
+ "linkedEntity",
51902
+ "states",
51903
+ "transitions",
51904
+ "emittedEvents",
51905
+ "listenedEvents"
51906
+ ],
51907
+ example: {
51908
+ name: "OrderFlow",
51909
+ linkedEntity: "Order",
51910
+ states: [
51911
+ {
51912
+ name: "browsing",
51913
+ isInitial: true,
51914
+ isTerminal: false
51915
+ },
51916
+ {
51917
+ name: "editing",
51918
+ isInitial: false,
51919
+ isTerminal: false
51920
+ },
51921
+ {
51922
+ name: "saving",
51923
+ isInitial: false,
51924
+ isTerminal: false
51925
+ },
51926
+ {
51927
+ name: "confirmed",
51928
+ isInitial: false,
51929
+ isTerminal: true
51930
+ },
51931
+ {
51932
+ name: "failed",
51933
+ isInitial: false,
51934
+ isTerminal: false
51935
+ }
51936
+ ],
51937
+ transitions: [
51938
+ {
51939
+ from: "browsing",
51940
+ to: "editing",
51941
+ event: "EDIT",
51942
+ effects: [
51943
+ {
51944
+ type: "render-ui",
51945
+ args: []
51946
+ }
51947
+ ],
51948
+ index: 0
51949
+ },
51950
+ {
51951
+ from: "editing",
51952
+ to: "saving",
51953
+ event: "SAVE",
51954
+ effects: [
51955
+ {
51956
+ type: "persist",
51957
+ args: []
51958
+ },
51959
+ {
51960
+ type: "notify",
51961
+ args: []
51962
+ }
51963
+ ],
51964
+ index: 1
51965
+ },
51966
+ {
51967
+ from: "saving",
51968
+ to: "confirmed",
51969
+ event: "SAVED",
51970
+ effects: [
51971
+ {
51972
+ type: "emit",
51973
+ args: []
51974
+ },
51975
+ {
51976
+ type: "render-ui",
51977
+ args: []
51978
+ }
51979
+ ],
51980
+ index: 2
51981
+ },
51982
+ {
51983
+ from: "saving",
51984
+ to: "failed",
51985
+ event: "SAVE_FAILED",
51986
+ effects: [
51987
+ {
51988
+ type: "notify",
51989
+ args: []
51990
+ }
51991
+ ],
51992
+ index: 3
51993
+ },
51994
+ {
51995
+ from: "failed",
51996
+ to: "editing",
51997
+ event: "RETRY",
51998
+ effects: [],
51999
+ index: 4
52000
+ },
52001
+ {
52002
+ from: "editing",
52003
+ to: "browsing",
52004
+ event: "CANCEL",
52005
+ effects: [
52006
+ {
52007
+ type: "render-ui",
52008
+ args: []
52009
+ }
52010
+ ],
52011
+ index: 5
52012
+ },
52013
+ {
52014
+ from: "confirmed",
52015
+ to: "browsing",
52016
+ event: "DONE",
52017
+ effects: [
52018
+ {
52019
+ type: "navigate",
52020
+ args: []
52021
+ }
52022
+ ],
52023
+ index: 6
52024
+ }
52025
+ ],
52026
+ emittedEvents: [
52027
+ "ORDER_SAVED"
52028
+ ],
52029
+ listenedEvents: [
52030
+ "PAYMENT_OK"
52031
+ ]
52032
+ }
52033
+ },
52034
+ activeState: {
52035
+ types: [
52036
+ "string"
52037
+ ],
52038
+ description: "State execution is currently in."
52039
+ },
52040
+ activeTransition: {
52041
+ types: [
52042
+ "number"
52043
+ ],
52044
+ description: "`index` of the transition that just fired."
52045
+ },
52046
+ visitedStates: {
52047
+ types: [
52048
+ "array"
52049
+ ],
52050
+ description: "States already passed through, in order.",
52051
+ items: {
52052
+ types: [
52053
+ "string"
52054
+ ]
52055
+ }
52056
+ },
52057
+ stateClickEvent: {
52058
+ types: [
52059
+ "string"
52060
+ ],
52061
+ description: "Emits UI:{stateClickEvent} with { stateId } when a state is clicked.",
52062
+ kind: "event-ref",
52063
+ emitPayloadSchema: [
52064
+ {
52065
+ name: "stateId",
52066
+ type: "string",
52067
+ required: true
52068
+ }
52069
+ ]
52070
+ },
52071
+ transitionClickEvent: {
52072
+ types: [
52073
+ "string"
52074
+ ],
52075
+ description: "Emits UI:{transitionClickEvent} with { index, event, from, to } when a transition label is clicked.",
52076
+ kind: "event-ref",
52077
+ emitPayloadSchema: [
52078
+ {
52079
+ name: "index",
52080
+ type: "number",
52081
+ required: true
52082
+ },
52083
+ {
52084
+ name: "event",
52085
+ type: "string",
52086
+ required: true
52087
+ },
52088
+ {
52089
+ name: "from",
52090
+ type: "string",
52091
+ required: true
52092
+ },
52093
+ {
52094
+ name: "to",
52095
+ type: "string",
52096
+ required: true
52097
+ }
52098
+ ]
52099
+ },
52100
+ selectedState: {
52101
+ types: [
52102
+ "string"
52103
+ ],
52104
+ description: "State picked in an editor (first click)."
52105
+ },
52106
+ pendingSourceState: {
52107
+ types: [
52108
+ "string"
52109
+ ],
52110
+ description: "Source of a transition being drawn \u2014 the next state click picks its target."
52111
+ },
52112
+ nodeShape: {
52113
+ types: [
52114
+ "string"
52115
+ ],
52116
+ description: "Node silhouette. @default 'pill'",
52117
+ enumValues: [
52118
+ "pill",
52119
+ "gear"
52120
+ ],
52121
+ default: "pill"
52122
+ },
52123
+ entityFields: {
52124
+ types: [
52125
+ "array"
52126
+ ],
52127
+ description: "Entity field names listed in the header.",
52128
+ items: {
52129
+ types: [
52130
+ "string"
52131
+ ]
52132
+ }
52133
+ },
52134
+ direction: {
52135
+ types: [
52136
+ "string"
52137
+ ],
52138
+ description: "Flow direction. @default 'ltr'",
52139
+ enumValues: [
52140
+ "ltr",
52141
+ "rtl"
52142
+ ],
52143
+ default: "ltr"
52144
+ },
52145
+ showHeader: {
52146
+ types: [
52147
+ "boolean"
52148
+ ],
52149
+ description: "Show the trait header (name, entity, listens/emits). @default true",
52150
+ default: true
52151
+ },
52152
+ className: {
52153
+ types: [
52154
+ "string"
52155
+ ],
52156
+ description: "className prop"
52157
+ }
52158
+ }
52159
+ },
52160
+ "avl-glyph": {
52161
+ type: "avl-glyph",
52162
+ category: "component",
52163
+ sourceFile: "components/avl/molecules/AvlGlyph.tsx",
52164
+ tier: "molecules",
52165
+ family: "avl",
52166
+ description: "AvlGlyph component",
52167
+ suggestedFor: [
52168
+ "avl",
52169
+ "glyph",
52170
+ "avl glyph"
52171
+ ],
52172
+ typicalSize: "medium",
52173
+ propsSchema: {
52174
+ kind: {
52175
+ types: [
52176
+ "string"
52177
+ ],
52178
+ description: "Which notation symbol to draw.",
52179
+ required: true,
52180
+ enumValues: [
52181
+ "application",
52182
+ "orbital",
52183
+ "entity",
52184
+ "trait",
52185
+ "page",
52186
+ "state",
52187
+ "transition",
52188
+ "event",
52189
+ "guard",
52190
+ "effect",
52191
+ "field",
52192
+ "fieldType",
52193
+ "binding",
52194
+ "bindingRef",
52195
+ "persistence",
52196
+ "operator",
52197
+ "sexpr",
52198
+ "literal"
52199
+ ],
52200
+ example: "state"
52201
+ },
52202
+ label: {
52203
+ types: [
52204
+ "string"
52205
+ ],
52206
+ description: "Caption, and the drawn text for operator / literal / bindingRef symbols."
52207
+ },
52208
+ effectType: {
52209
+ types: [
52210
+ "string"
52211
+ ],
52212
+ description: "Effect symbol variant. @default 'set'"
52213
+ },
52214
+ fieldType: {
52215
+ types: [
52216
+ "object"
52217
+ ],
52218
+ description: "Field-type symbol variant. @default 'string'"
52219
+ },
52220
+ persistence: {
52221
+ types: [
52222
+ "object"
52223
+ ],
52224
+ description: "Persistence symbol variant (also the entity's ring). @default 'persistent'"
52225
+ },
52226
+ namespace: {
52227
+ types: [
52228
+ "object"
52229
+ ],
52230
+ description: "Operator category tint. @default 'arithmetic'"
52231
+ },
52232
+ size: {
52233
+ types: [
52234
+ "string"
52235
+ ],
52236
+ description: "Symbol height. @default 'md'",
52237
+ enumValues: [
52238
+ "sm",
52239
+ "md",
52240
+ "lg"
52241
+ ],
52242
+ default: "md"
52243
+ },
52244
+ showCaption: {
52245
+ types: [
52246
+ "boolean"
52247
+ ],
52248
+ description: "Show the caption under the symbol. @default true",
52249
+ default: true
52250
+ },
52251
+ className: {
52252
+ types: [
52253
+ "string"
52254
+ ],
52255
+ description: "className prop"
52256
+ }
52257
+ }
50950
52258
  }
50951
52259
  },
50952
52260
  categories: [
@@ -54986,7 +56294,7 @@ var integrators_registry_default = {
54986
56294
  // src/patterns/component-mapping.json
54987
56295
  var component_mapping_default = {
54988
56296
  version: "1.0.0",
54989
- exportedAt: "2026-09-27T02:12:25.691Z",
56297
+ exportedAt: "2026-09-28T12:49:04.761Z",
54990
56298
  mappings: {
54991
56299
  "page-header": {
54992
56300
  component: "PageHeader",
@@ -56279,6 +57587,16 @@ var component_mapping_default = {
56279
57587
  component: "CommitRow",
56280
57588
  importPath: "@/components/core/molecules/CommitRow",
56281
57589
  category: "component"
57590
+ },
57591
+ "avl-state-machine": {
57592
+ component: "AvlStateMachine",
57593
+ importPath: "@/components/avl/molecules/AvlStateMachine",
57594
+ category: "display"
57595
+ },
57596
+ "avl-glyph": {
57597
+ component: "AvlGlyph",
57598
+ importPath: "@/components/avl/molecules/AvlGlyph",
57599
+ category: "component"
56282
57600
  }
56283
57601
  }
56284
57602
  };
@@ -56286,7 +57604,7 @@ var component_mapping_default = {
56286
57604
  // src/patterns/event-contracts.json
56287
57605
  var event_contracts_default = {
56288
57606
  version: "1.0.0",
56289
- exportedAt: "2026-09-27T02:12:25.691Z",
57607
+ exportedAt: "2026-09-28T12:49:04.761Z",
56290
57608
  contracts: {
56291
57609
  form: {
56292
57610
  emits: [
@@ -57399,6 +58717,8 @@ var PATTERN_TYPES = [
57399
58717
  "atlas-panel",
57400
58718
  "auth-layout",
57401
58719
  "avatar",
58720
+ "avl-glyph",
58721
+ "avl-state-machine",
57402
58722
  "badge",
57403
58723
  "behavior-view",
57404
58724
  "biology-canvas",