@almadar/std 16.187.0 → 16.189.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 (102) hide show
  1. package/behaviors/lolo/ui/core/.hand-authored.json +4 -4
  2. package/behaviors/lolo/ui/core/atoms/std-board.lolo +138 -4
  3. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +148 -8
  4. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +161 -11
  5. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +255 -2
  6. package/behaviors/lolo/ui/core/atoms/std-gallery.lolo +148 -1
  7. package/behaviors/lolo/ui/core/atoms/std-list.lolo +193 -1
  8. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +731 -0
  9. package/behaviors/lolo/ui/core/atoms/std-related.lolo +5 -1
  10. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +182 -1
  11. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +113 -3
  12. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  13. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +80 -0
  14. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +213 -0
  15. package/behaviors/lolo/ui/core/molecules/{ui-rich-block-editor.lolo → ui-rich-text-editor.lolo} +25 -25
  16. package/behaviors/lolo/ui/game/atoms/std-area-fill.lolo +93 -0
  17. package/behaviors/lolo/ui/game/atoms/std-choice-gate.lolo +100 -0
  18. package/behaviors/lolo/ui/game/atoms/std-coef-pad.lolo +114 -0
  19. package/behaviors/lolo/ui/game/atoms/std-curve-fog.lolo +50 -0
  20. package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +79 -0
  21. package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +97 -0
  22. package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +14 -7
  23. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +48 -5
  24. package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +101 -0
  25. package/behaviors/lolo/ui/game/atoms/std-zone-card.lolo +95 -0
  26. package/behaviors/lolo/ui/game/organisms/std-platformer-board-2d.lolo +9 -0
  27. package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
  28. package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  29. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  30. package/behaviors/registry/infra/atoms/std-data-erasure.orb +16 -8
  31. package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  32. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  33. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +2 -1
  34. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +10 -5
  35. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +4 -2
  36. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  37. package/behaviors/registry/ui/core/atoms/std-board.orb +355 -2
  38. package/behaviors/registry/ui/core/atoms/std-browse.orb +304 -31
  39. package/behaviors/registry/ui/core/atoms/std-calendar.orb +393 -25
  40. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  41. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  42. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  43. package/behaviors/registry/ui/core/atoms/std-event-log.orb +773 -0
  44. package/behaviors/registry/ui/core/atoms/std-export.orb +4 -2
  45. package/behaviors/registry/ui/core/atoms/std-gallery.orb +390 -0
  46. package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  47. package/behaviors/registry/ui/core/atoms/std-list.orb +451 -0
  48. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +3360 -0
  49. package/behaviors/registry/ui/core/atoms/std-related.orb +23 -1
  50. package/behaviors/registry/ui/core/atoms/std-selection.orb +436 -0
  51. package/behaviors/registry/ui/core/atoms/std-tree.orb +292 -1
  52. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
  53. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +342 -0
  54. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +655 -0
  55. package/behaviors/registry/ui/core/molecules/{ui-rich-block-editor.orb → ui-rich-text-editor.orb} +84 -97
  56. package/behaviors/registry/ui/game/atoms/std-area-fill.orb +955 -0
  57. package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +855 -0
  58. package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +928 -0
  59. package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +337 -0
  60. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
  61. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
  62. package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
  63. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +785 -0
  64. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +933 -0
  65. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +190 -44
  66. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1330 -653
  67. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1040 -0
  68. package/behaviors/registry/ui/game/atoms/std-zone-card.orb +642 -0
  69. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +8 -4
  70. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +6 -3
  71. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +10 -5
  72. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +8 -4
  73. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +8 -4
  74. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +36 -1
  75. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +8 -4
  76. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -6
  77. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +8 -4
  78. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +6 -3
  79. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
  80. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +2 -1
  81. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +2 -1
  82. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +2 -1
  83. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +2 -1
  84. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +2 -1
  85. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +2 -1
  86. package/dist/behaviors/exports-reader.js +10971 -6255
  87. package/dist/behaviors/functions/index.d.ts +1205 -256
  88. package/dist/behaviors/functions/index.js +10932 -6245
  89. package/dist/behaviors/index.d.ts +1 -1
  90. package/dist/behaviors/index.js +10972 -6256
  91. package/dist/behaviors/query.js +10971 -6255
  92. package/dist/behaviors-embeddings.hash.json +3 -3
  93. package/dist/behaviors-embeddings.json +485 -469
  94. package/dist/behaviors-registry.json +6125 -2940
  95. package/dist/index.d.ts +1 -1
  96. package/dist/index.js +10972 -6256
  97. package/dist/knob-embeddings.hash.json +3 -3
  98. package/dist/knob-embeddings.json +1 -1
  99. package/dist/registry/factory-signatures.json +1 -1
  100. package/package.json +4 -4
  101. package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +0 -790
  102. package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +0 -2225
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "std-tree — generic hierarchical node browser. Fetches a flat TreeNode collection and renders it through file-tree's flat `items` mode (parentId-nested at render time by the component, not the .lolo); OPEN_NODE is the external handoff for a selected node's id. Rebindable: pass `fields` at the call site to retarget it at any parent-pointer entity (categories, org units, comment threads).",
2
+ "description": "std-tree — generic hierarchical node browser. Fetches a flat TreeNode collection and renders it through file-tree's flat `items` mode (parentId-nested at render time by the component, not the .lolo); OPEN_NODE is the external handoff for a selected node's id. Rebindable: pass `fields` at the call site to retarget it at any parent-pointer entity (categories, org units, comment threads). Search/filter are wired (REFETCH_QUERY/REFETCH_FILTER re-fetch the flat node set server-side); pagination is deliberately NOT offered — a hierarchy is not a paged list, and paging a flat node set would sever children from parents that fell on another page.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01M0RYHNM1NXR2J5S0HK2WFDS3": {
@@ -55,6 +55,24 @@
55
55
  "parent": "trt_01M0RYHNM11N15TSY0QWVC2GH5",
56
56
  "renames": []
57
57
  },
58
+ "evt_01M11H00X42VFQ0VXEXV7ES6F9": {
59
+ "bakedName": "REFETCH_QUERY",
60
+ "curName": "REFETCH_QUERY",
61
+ "id": "evt_01M11H00X42VFQ0VXEXV7ES6F9",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01M0RYHNM11N15TSY0QWVC2GH5",
65
+ "renames": []
66
+ },
67
+ "evt_01M11H00X4BMW519Q3CSP735Z8": {
68
+ "bakedName": "REFETCH_FILTER",
69
+ "curName": "REFETCH_FILTER",
70
+ "id": "evt_01M11H00X4BMW519Q3CSP735Z8",
71
+ "kind": "event",
72
+ "owner": "workspace",
73
+ "parent": "trt_01M0RYHNM11N15TSY0QWVC2GH5",
74
+ "renames": []
75
+ },
58
76
  "orb_01M0RYHNM15ZXYERAB9GSZFAZE": {
59
77
  "bakedName": "TreeNodeOrbital",
60
78
  "curName": "TreeNodeOrbital",
@@ -142,6 +160,68 @@
142
160
  {
143
161
  "category": "interaction",
144
162
  "config": {
163
+ "bodySearch": {
164
+ "default": false,
165
+ "description": "Embeds a search box above the tree that re-fetches the flat node set server-side. Set false (the default) when the page already provides a search affordance (a toolbar Search molecule), so the surface shows one search box instead of two.",
166
+ "label": "Show the tree's own search box?",
167
+ "synonyms": "inline search, list search, built-in search, show search, duplicate search",
168
+ "tier": "presentation",
169
+ "type": "boolean"
170
+ },
171
+ "filterBarLook": {
172
+ "default": "toolbar",
173
+ "description": "Visual treatment for the embedded filter bar, mirroring std-filter's own enum. Only applies when `filters` is non-empty.",
174
+ "label": "Filter bar look",
175
+ "synonyms": "filter bar style, facet style, chips, pills",
176
+ "tier": "presentation",
177
+ "type": "string",
178
+ "values": [
179
+ "toolbar",
180
+ "chips",
181
+ "pills",
182
+ "popover-trigger",
183
+ "inline-column-header"
184
+ ]
185
+ },
186
+ "filters": {
187
+ "default": [],
188
+ "description": "Dropdown filter facets by field, rendered as an embedded filter bar above the tree; each selection fires REFETCH_FILTER on this trait, re-fetching the flat node set. Empty (the default) = no filter bar, which is the right setting whenever the page already composes std-filter beside this tree and routes `XFilter.FILTER -> REFETCH_FILTER` — that is the wired owner and remains the primary path.",
189
+ "items": {
190
+ "properties": {
191
+ "field": {
192
+ "name": "field",
193
+ "required": true,
194
+ "type": "string"
195
+ },
196
+ "label": {
197
+ "name": "label",
198
+ "required": false,
199
+ "type": "string"
200
+ },
201
+ "options": {
202
+ "items": {
203
+ "type": "string"
204
+ },
205
+ "name": "options",
206
+ "required": false,
207
+ "type": "array"
208
+ }
209
+ },
210
+ "type": "object"
211
+ },
212
+ "label": "Which filters should appear above the tree?",
213
+ "synonyms": "filter bar, faceted filters, field filters, dropdowns",
214
+ "tier": "presentation",
215
+ "type": "[FilterSpec]"
216
+ },
217
+ "searchPlaceholder": {
218
+ "default": "Search…",
219
+ "description": "Hint text inside the tree search box (e.g. 'Search nodes…').",
220
+ "label": "Search box placeholder text",
221
+ "synonyms": "search hint, placeholder, search box text, search label",
222
+ "tier": "presentation",
223
+ "type": "string"
224
+ },
145
225
  "title": {
146
226
  "default": "Tree",
147
227
  "description": "Heading shown above the tree",
@@ -248,6 +328,41 @@
248
328
  "synonyms": "error, failed, problem, unsuccessful",
249
329
  "tier": "internal"
250
330
  },
331
+ {
332
+ "description": "Triggers a tree refresh based on the current search query.",
333
+ "id": "evt_01M11H00X42VFQ0VXEXV7ES6F9",
334
+ "key": "REFETCH_QUERY",
335
+ "name": "Refetch Query",
336
+ "payloadSchema": [
337
+ {
338
+ "name": "searchTerm",
339
+ "required": true,
340
+ "type": "string"
341
+ }
342
+ ],
343
+ "synonyms": "refresh, reload, update, re-query",
344
+ "tier": "domain"
345
+ },
346
+ {
347
+ "description": "Triggers a tree refresh based on current filter criteria.",
348
+ "id": "evt_01M11H00X4BMW519Q3CSP735Z8",
349
+ "key": "REFETCH_FILTER",
350
+ "name": "Refetch Filter",
351
+ "payloadSchema": [
352
+ {
353
+ "name": "field",
354
+ "required": true,
355
+ "type": "string"
356
+ },
357
+ {
358
+ "name": "value",
359
+ "required": true,
360
+ "type": "string"
361
+ }
362
+ ],
363
+ "synonyms": "refresh, filter, update, reload",
364
+ "tier": "domain"
365
+ },
251
366
  {
252
367
  "description": "Signals a tree node has been selected for external handoff.",
253
368
  "id": "evt_01M0RYHNM50RK3ZYBW4S0JVZ2N",
@@ -358,6 +473,59 @@
358
473
  {
359
474
  "type": "divider"
360
475
  },
476
+ [
477
+ "if",
478
+ "@config.bodySearch",
479
+ {
480
+ "children": [
481
+ {
482
+ "className": "w-full max-w-md",
483
+ "clearable": true,
484
+ "event": "REFETCH_QUERY",
485
+ "placeholder": "@config.searchPlaceholder",
486
+ "type": "search-input"
487
+ }
488
+ ],
489
+ "direction": "horizontal",
490
+ "gap": "sm",
491
+ "type": "stack"
492
+ },
493
+ {
494
+ "children": [],
495
+ "gap": "none",
496
+ "type": "stack"
497
+ }
498
+ ],
499
+ [
500
+ "if",
501
+ [
502
+ ">",
503
+ [
504
+ "array/len",
505
+ "@config.filters"
506
+ ],
507
+ 0.0
508
+ ],
509
+ {
510
+ "children": [
511
+ {
512
+ "entity": "TreeNode",
513
+ "event": "REFETCH_FILTER",
514
+ "filters": "@config.filters",
515
+ "look": "@config.filterBarLook",
516
+ "type": "filter-group"
517
+ }
518
+ ],
519
+ "direction": "horizontal",
520
+ "gap": "sm",
521
+ "type": "stack"
522
+ },
523
+ {
524
+ "children": [],
525
+ "gap": "none",
526
+ "type": "stack"
527
+ }
528
+ ],
361
529
  {
362
530
  "items": [
363
531
  "array/map",
@@ -472,6 +640,76 @@
472
640
  "from": "browsing",
473
641
  "to": "loading"
474
642
  },
643
+ {
644
+ "effects": [
645
+ [
646
+ "fetch",
647
+ "TreeNode",
648
+ {
649
+ "emit": {
650
+ "failure": "TreeNodeLoadFailed",
651
+ "success": "TreeNodeLoaded"
652
+ },
653
+ "filter": [
654
+ "or",
655
+ [
656
+ "=",
657
+ "@payload.searchTerm",
658
+ ""
659
+ ],
660
+ [
661
+ "str/includes",
662
+ [
663
+ "object/get",
664
+ "@entity",
665
+ "name"
666
+ ],
667
+ "@payload.searchTerm"
668
+ ]
669
+ ]
670
+ }
671
+ ]
672
+ ],
673
+ "event": "REFETCH_QUERY",
674
+ "eventId": "evt_01M11H00X42VFQ0VXEXV7ES6F9",
675
+ "from": "browsing",
676
+ "to": "browsing"
677
+ },
678
+ {
679
+ "effects": [
680
+ [
681
+ "fetch",
682
+ "TreeNode",
683
+ {
684
+ "emit": {
685
+ "failure": "TreeNodeLoadFailed",
686
+ "success": "TreeNodeLoaded"
687
+ },
688
+ "filter": [
689
+ "or",
690
+ [
691
+ "=",
692
+ "@payload.value",
693
+ ""
694
+ ],
695
+ [
696
+ "=",
697
+ [
698
+ "object/get",
699
+ "@entity",
700
+ "@payload.field"
701
+ ],
702
+ "@payload.value"
703
+ ]
704
+ ]
705
+ }
706
+ ]
707
+ ],
708
+ "event": "REFETCH_FILTER",
709
+ "eventId": "evt_01M11H00X4BMW519Q3CSP735Z8",
710
+ "from": "browsing",
711
+ "to": "browsing"
712
+ },
475
713
  {
476
714
  "effects": [
477
715
  [
@@ -521,6 +759,59 @@
521
759
  {
522
760
  "type": "divider"
523
761
  },
762
+ [
763
+ "if",
764
+ "@config.bodySearch",
765
+ {
766
+ "children": [
767
+ {
768
+ "className": "w-full max-w-md",
769
+ "clearable": true,
770
+ "event": "REFETCH_QUERY",
771
+ "placeholder": "@config.searchPlaceholder",
772
+ "type": "search-input"
773
+ }
774
+ ],
775
+ "direction": "horizontal",
776
+ "gap": "sm",
777
+ "type": "stack"
778
+ },
779
+ {
780
+ "children": [],
781
+ "gap": "none",
782
+ "type": "stack"
783
+ }
784
+ ],
785
+ [
786
+ "if",
787
+ [
788
+ ">",
789
+ [
790
+ "array/len",
791
+ "@config.filters"
792
+ ],
793
+ 0.0
794
+ ],
795
+ {
796
+ "children": [
797
+ {
798
+ "entity": "TreeNode",
799
+ "event": "REFETCH_FILTER",
800
+ "filters": "@config.filters",
801
+ "look": "@config.filterBarLook",
802
+ "type": "filter-group"
803
+ }
804
+ ],
805
+ "direction": "horizontal",
806
+ "gap": "sm",
807
+ "type": "stack"
808
+ },
809
+ {
810
+ "children": [],
811
+ "gap": "none",
812
+ "type": "stack"
813
+ }
814
+ ],
524
815
  {
525
816
  "items": [
526
817
  "array/map",
@@ -172,7 +172,7 @@
172
172
  "type": "string"
173
173
  },
174
174
  {
175
- "description": "The textual data of the revision.",
175
+ "description": "The snapshotted body of the revision — plain text or the rich-text HTML a document-look record carries. Rollback hands the whole row back to the host, which restores content onto the source document.",
176
176
  "name": "content",
177
177
  "synonyms": "text, body, data, value",
178
178
  "type": "string"
@@ -0,0 +1,342 @@
1
+ {
2
+ "description": "DocumentDetails — the document's metadata as a compact settings card for the rail beside a DocumentPanel, each property committing in place. — UI factory (1:1 with the @almadar/ui document-details pattern).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M13ZXC5915PAZWDBTP787F3C": {
6
+ "bakedName": "DocumentDetailsItem",
7
+ "curName": "DocumentDetailsItem",
8
+ "id": "ent_01M13ZXC5915PAZWDBTP787F3C",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M13ZXC59HB41Z83ZYJR50JQP": {
14
+ "bakedName": "DocumentDetailsLoaded",
15
+ "curName": "DocumentDetailsLoaded",
16
+ "id": "evt_01M13ZXC59HB41Z83ZYJR50JQP",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M13ZXC5906BVQKXF5JMWBD0E",
20
+ "renames": []
21
+ },
22
+ "evt_01M13ZXC59R4VP1T1DHD262B08": {
23
+ "bakedName": "@config.metaCommitEvent",
24
+ "curName": "@config.metaCommitEvent",
25
+ "id": "evt_01M13ZXC59R4VP1T1DHD262B08",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M13ZXC5906BVQKXF5JMWBD0E",
29
+ "renames": []
30
+ },
31
+ "evt_01M13ZXC59XKCDATMN4TVFVMZ7": {
32
+ "bakedName": "INIT",
33
+ "curName": "INIT",
34
+ "id": "evt_01M13ZXC59XKCDATMN4TVFVMZ7",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M13ZXC5906BVQKXF5JMWBD0E",
38
+ "renames": []
39
+ },
40
+ "orb_01M13ZXC59HR3466AAAMSKD8MY": {
41
+ "bakedName": "DocumentDetailsOrbital",
42
+ "curName": "DocumentDetailsOrbital",
43
+ "id": "orb_01M13ZXC59HR3466AAAMSKD8MY",
44
+ "kind": "orbital",
45
+ "owner": "workspace",
46
+ "renames": []
47
+ },
48
+ "pag_01M13ZXC59XXQ26RB47SYE4W95": {
49
+ "bakedName": "DocumentDetailsPage",
50
+ "curName": "DocumentDetailsPage",
51
+ "id": "pag_01M13ZXC59XXQ26RB47SYE4W95",
52
+ "kind": "page",
53
+ "owner": "workspace",
54
+ "renames": []
55
+ },
56
+ "trt_01M13ZXC5906BVQKXF5JMWBD0E": {
57
+ "bakedName": "DocumentDetailsRender",
58
+ "curName": "DocumentDetailsRender",
59
+ "id": "trt_01M13ZXC5906BVQKXF5JMWBD0E",
60
+ "kind": "trait",
61
+ "owner": "workspace",
62
+ "renames": []
63
+ }
64
+ },
65
+ "schemaVersion": 1
66
+ },
67
+ "name": "ui-document-details",
68
+ "orbitals": [
69
+ {
70
+ "entity": {
71
+ "fields": [
72
+ {
73
+ "name": "id",
74
+ "required": true,
75
+ "type": "string"
76
+ }
77
+ ],
78
+ "id": "ent_01M13ZXC5915PAZWDBTP787F3C",
79
+ "name": "DocumentDetailsItem",
80
+ "persistence": "runtime"
81
+ },
82
+ "id": "orb_01M13ZXC59HR3466AAAMSKD8MY",
83
+ "name": "DocumentDetailsOrbital",
84
+ "pages": [
85
+ {
86
+ "id": "pag_01M13ZXC59XXQ26RB47SYE4W95",
87
+ "name": "DocumentDetailsPage",
88
+ "path": "/document-details",
89
+ "traits": [
90
+ {
91
+ "ref": "DocumentDetailsRender",
92
+ "refId": "trt_01M13ZXC5906BVQKXF5JMWBD0E"
93
+ }
94
+ ]
95
+ }
96
+ ],
97
+ "traits": [
98
+ {
99
+ "category": "interaction",
100
+ "config": {
101
+ "className": {
102
+ "description": "className prop",
103
+ "label": "Class Name",
104
+ "tier": "presentation",
105
+ "type": "string"
106
+ },
107
+ "fields": {
108
+ "default": [],
109
+ "description": "The properties shown; empty renders nothing.",
110
+ "items": {
111
+ "properties": {
112
+ "format": {
113
+ "name": "format",
114
+ "required": false,
115
+ "type": "string",
116
+ "values": [
117
+ "date",
118
+ "currency",
119
+ "number",
120
+ "boolean",
121
+ "percent"
122
+ ]
123
+ },
124
+ "header": {
125
+ "name": "header",
126
+ "required": false,
127
+ "type": "string"
128
+ },
129
+ "icon": {
130
+ "name": "icon",
131
+ "required": false,
132
+ "type": "string"
133
+ },
134
+ "key": {
135
+ "name": "key",
136
+ "required": false,
137
+ "type": "string"
138
+ },
139
+ "kind": {
140
+ "name": "kind",
141
+ "required": false,
142
+ "type": "string",
143
+ "values": [
144
+ "text",
145
+ "boolean",
146
+ "select",
147
+ "readonly"
148
+ ]
149
+ },
150
+ "label": {
151
+ "name": "label",
152
+ "required": false,
153
+ "type": "string"
154
+ },
155
+ "name": {
156
+ "name": "name",
157
+ "required": false,
158
+ "type": "string"
159
+ },
160
+ "options": {
161
+ "items": {
162
+ "type": "string"
163
+ },
164
+ "name": "options",
165
+ "required": false,
166
+ "type": "array"
167
+ }
168
+ },
169
+ "type": "object"
170
+ },
171
+ "label": "Fields",
172
+ "tier": "presentation",
173
+ "type": "[DocumentDetailsFieldsItem]"
174
+ },
175
+ "metaCommitEvent": {
176
+ "default": "META_COMMIT",
177
+ "description": "Emitted when a property commits: { id, patch } — patch carries the id plus the one changed field, ready for a partial persist update.",
178
+ "label": "Meta Commit Event",
179
+ "tier": "presentation",
180
+ "type": "string"
181
+ },
182
+ "title": {
183
+ "description": "Card heading (defaults to the localized 'Details')",
184
+ "label": "Title",
185
+ "tier": "presentation",
186
+ "type": "string"
187
+ }
188
+ },
189
+ "emits": [
190
+ {
191
+ "description": "Emitted when a property commits: { id, patch } — patch carries the id plus the one changed field, ready for a partial persist update.",
192
+ "event": "@config.metaCommitEvent",
193
+ "eventId": "evt_01M13ZXC59R4VP1T1DHD262B08",
194
+ "payloadSchema": [
195
+ {
196
+ "name": "id",
197
+ "required": true,
198
+ "type": "string"
199
+ },
200
+ {
201
+ "name": "patch",
202
+ "required": true,
203
+ "type": "object"
204
+ }
205
+ ],
206
+ "scope": "external",
207
+ "tier": "essential"
208
+ },
209
+ {
210
+ "description": "DocumentDetails rows finished loading; payload.data holds the collection.",
211
+ "event": "DocumentDetailsLoaded",
212
+ "eventId": "evt_01M13ZXC59HB41Z83ZYJR50JQP",
213
+ "payloadSchema": [
214
+ {
215
+ "name": "data",
216
+ "type": "[DocumentDetailsItem]"
217
+ }
218
+ ],
219
+ "scope": "internal",
220
+ "synonyms": "loaded, fetched, retrieved",
221
+ "tier": "essential"
222
+ }
223
+ ],
224
+ "entityContract": {
225
+ "provides": [],
226
+ "requires": []
227
+ },
228
+ "entityRebindable": true,
229
+ "entityRefIds": {
230
+ "DocumentDetailsItem": "ent_01M13ZXC5915PAZWDBTP787F3C"
231
+ },
232
+ "id": "trt_01M13ZXC5906BVQKXF5JMWBD0E",
233
+ "linkedEntity": "DocumentDetailsItem",
234
+ "linkedEntityId": "ent_01M13ZXC5915PAZWDBTP787F3C",
235
+ "name": "DocumentDetailsRender",
236
+ "scope": "instance",
237
+ "stateMachine": {
238
+ "events": [
239
+ {
240
+ "id": "evt_01M13ZXC59XKCDATMN4TVFVMZ7",
241
+ "key": "INIT",
242
+ "name": "Initialize"
243
+ },
244
+ {
245
+ "description": "DocumentDetails rows finished loading; payload.data holds the collection.",
246
+ "id": "evt_01M13ZXC59HB41Z83ZYJR50JQP",
247
+ "key": "DocumentDetailsLoaded",
248
+ "name": "Document details loaded",
249
+ "payloadSchema": [
250
+ {
251
+ "name": "data",
252
+ "type": "[DocumentDetailsItem]"
253
+ }
254
+ ],
255
+ "synonyms": "loaded, fetched, retrieved",
256
+ "tier": "essential"
257
+ },
258
+ {
259
+ "description": "Emitted when a property commits: { id, patch } — patch carries the id plus the one changed field, ready for a partial persist update.",
260
+ "id": "evt_01M13ZXC59R4VP1T1DHD262B08",
261
+ "key": "@config.metaCommitEvent",
262
+ "name": "@config.meta commit event",
263
+ "payloadSchema": [
264
+ {
265
+ "name": "id",
266
+ "required": true,
267
+ "type": "string"
268
+ },
269
+ {
270
+ "name": "patch",
271
+ "required": true,
272
+ "type": "object"
273
+ }
274
+ ],
275
+ "tier": "essential"
276
+ }
277
+ ],
278
+ "states": [
279
+ {
280
+ "isInitial": true,
281
+ "name": "idle"
282
+ }
283
+ ],
284
+ "transitions": [
285
+ {
286
+ "effects": [
287
+ [
288
+ "fetch",
289
+ "DocumentDetailsItem",
290
+ {
291
+ "emit": {
292
+ "success": "DocumentDetailsLoaded"
293
+ }
294
+ }
295
+ ],
296
+ [
297
+ "render-ui",
298
+ "main",
299
+ {
300
+ "className": "@config.className",
301
+ "entity": "@entity",
302
+ "fields": "@config.fields",
303
+ "metaCommitEvent": "@config.metaCommitEvent",
304
+ "title": "@config.title",
305
+ "type": "document-details"
306
+ }
307
+ ]
308
+ ],
309
+ "event": "INIT",
310
+ "eventId": "evt_01M13ZXC59XKCDATMN4TVFVMZ7",
311
+ "from": "idle",
312
+ "to": "idle"
313
+ },
314
+ {
315
+ "effects": [
316
+ [
317
+ "render-ui",
318
+ "main",
319
+ {
320
+ "className": "@config.className",
321
+ "entity": "@payload.data",
322
+ "fields": "@config.fields",
323
+ "metaCommitEvent": "@config.metaCommitEvent",
324
+ "title": "@config.title",
325
+ "type": "document-details"
326
+ }
327
+ ]
328
+ ],
329
+ "event": "DocumentDetailsLoaded",
330
+ "eventId": "evt_01M13ZXC59HB41Z83ZYJR50JQP",
331
+ "from": "idle",
332
+ "to": "idle"
333
+ }
334
+ ]
335
+ }
336
+ }
337
+ ]
338
+ }
339
+ ],
340
+ "schemaVersion": 1,
341
+ "version": "1.0.0"
342
+ }