@almadar/std 16.187.0 → 16.188.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 (81) hide show
  1. package/behaviors/lolo/ui/core/.hand-authored.json +4 -0
  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 +141 -3
  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 +329 -0
  9. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +182 -1
  10. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +113 -3
  11. package/behaviors/lolo/ui/game/atoms/std-area-fill.lolo +93 -0
  12. package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +79 -0
  13. package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +93 -0
  14. package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +14 -7
  15. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +21 -4
  16. package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +101 -0
  17. package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
  18. package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  19. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  20. package/behaviors/registry/infra/atoms/std-data-erasure.orb +16 -8
  21. package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  22. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  23. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +2 -1
  24. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +10 -5
  25. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +4 -2
  26. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  27. package/behaviors/registry/ui/core/atoms/std-board.orb +355 -2
  28. package/behaviors/registry/ui/core/atoms/std-browse.orb +304 -31
  29. package/behaviors/registry/ui/core/atoms/std-calendar.orb +344 -0
  30. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  31. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  32. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  33. package/behaviors/registry/ui/core/atoms/std-event-log.orb +773 -0
  34. package/behaviors/registry/ui/core/atoms/std-export.orb +4 -2
  35. package/behaviors/registry/ui/core/atoms/std-gallery.orb +390 -0
  36. package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  37. package/behaviors/registry/ui/core/atoms/std-list.orb +451 -0
  38. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1141 -0
  39. package/behaviors/registry/ui/core/atoms/std-selection.orb +436 -0
  40. package/behaviors/registry/ui/core/atoms/std-tree.orb +292 -1
  41. package/behaviors/registry/ui/game/atoms/std-area-fill.orb +955 -0
  42. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
  43. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
  44. package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
  45. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +785 -0
  46. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +903 -0
  47. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +190 -44
  48. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +868 -637
  49. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1040 -0
  50. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +8 -4
  51. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +6 -3
  52. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +10 -5
  53. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +8 -4
  54. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +8 -4
  55. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +7 -4
  56. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +8 -4
  57. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -6
  58. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +8 -4
  59. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +6 -3
  60. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
  61. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +2 -1
  62. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +2 -1
  63. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +2 -1
  64. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +2 -1
  65. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +2 -1
  66. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +2 -1
  67. package/dist/behaviors/exports-reader.js +7541 -3153
  68. package/dist/behaviors/functions/index.d.ts +598 -18
  69. package/dist/behaviors/functions/index.js +7524 -3154
  70. package/dist/behaviors/index.d.ts +1 -1
  71. package/dist/behaviors/index.js +7542 -3154
  72. package/dist/behaviors/query.js +7541 -3153
  73. package/dist/behaviors-embeddings.hash.json +3 -3
  74. package/dist/behaviors-embeddings.json +485 -461
  75. package/dist/behaviors-registry.json +2612 -934
  76. package/dist/index.d.ts +1 -1
  77. package/dist/index.js +7542 -3154
  78. package/dist/knob-embeddings.hash.json +3 -3
  79. package/dist/knob-embeddings.json +1 -1
  80. package/dist/registry/factory-signatures.json +1 -1
  81. package/package.json +1 -1
@@ -146,7 +146,8 @@
146
146
  "linkedEntity": "ExportPanel",
147
147
  "linkedEntityId": "ent_01KXG04G9QEP94NGAMEV0WVKF8",
148
148
  "name": "Button1",
149
- "ref": "Button.traits.ButtonRender"
149
+ "ref": "Button.traits.ButtonRender",
150
+ "refId": "trt_01KXG04JBQPWD7RW8X33NXPXG9"
150
151
  },
151
152
  {
152
153
  "config": {
@@ -169,7 +170,8 @@
169
170
  "linkedEntity": "ExportPanel",
170
171
  "linkedEntityId": "ent_01KXG04G9QEP94NGAMEV0WVKF8",
171
172
  "name": "Menu1",
172
- "ref": "Menu.traits.MenuRender"
173
+ "ref": "Menu.traits.MenuRender",
174
+ "refId": "trt_01KXG04Q03EYTCP5J0MX1ACQH7"
173
175
  },
174
176
  {
175
177
  "category": "interaction",
@@ -55,6 +55,33 @@
55
55
  "parent": "trt_01KXG04GJ9PVVVHGVAHEP7YVDE",
56
56
  "renames": []
57
57
  },
58
+ "evt_01M11GXG2S4ZRV6ED7REMY7MGE": {
59
+ "bakedName": "REFETCH_FILTER",
60
+ "curName": "REFETCH_FILTER",
61
+ "id": "evt_01M11GXG2S4ZRV6ED7REMY7MGE",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01KXG04GJ9PVVVHGVAHEP7YVDE",
65
+ "renames": []
66
+ },
67
+ "evt_01M11GXG2SJ7ECYZZ40S72N47Q": {
68
+ "bakedName": "REFETCH_QUERY",
69
+ "curName": "REFETCH_QUERY",
70
+ "id": "evt_01M11GXG2SJ7ECYZZ40S72N47Q",
71
+ "kind": "event",
72
+ "owner": "workspace",
73
+ "parent": "trt_01KXG04GJ9PVVVHGVAHEP7YVDE",
74
+ "renames": []
75
+ },
76
+ "evt_01M11GXG2STP7HH2WXTZH2V08X": {
77
+ "bakedName": "REFETCH_PAGE",
78
+ "curName": "REFETCH_PAGE",
79
+ "id": "evt_01M11GXG2STP7HH2WXTZH2V08X",
80
+ "kind": "event",
81
+ "owner": "workspace",
82
+ "parent": "trt_01KXG04GJ9PVVVHGVAHEP7YVDE",
83
+ "renames": []
84
+ },
58
85
  "orb_01KXG04GJ9RZBJBWZ2WXXRWP2W": {
59
86
  "bakedName": "GalleryItemOrbital",
60
87
  "curName": "GalleryItemOrbital",
@@ -380,6 +407,60 @@
380
407
  {
381
408
  "category": "interaction",
382
409
  "config": {
410
+ "bodySearch": {
411
+ "default": false,
412
+ "description": "Embeds a search box above the gallery grid. 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.",
413
+ "label": "Show the gallery's own search box?",
414
+ "synonyms": "inline search, list search, built-in search, show search, duplicate search",
415
+ "tier": "presentation",
416
+ "type": "boolean"
417
+ },
418
+ "filterBarLook": {
419
+ "default": "toolbar",
420
+ "description": "Visual treatment for the embedded filter bar, mirroring std-filter's own enum. Only applies when `filters` is non-empty.",
421
+ "label": "Filter bar look",
422
+ "synonyms": "filter bar style, facet style, chips, pills",
423
+ "tier": "presentation",
424
+ "type": "string",
425
+ "values": [
426
+ "toolbar",
427
+ "chips",
428
+ "pills",
429
+ "popover-trigger",
430
+ "inline-column-header"
431
+ ]
432
+ },
433
+ "filters": {
434
+ "default": [],
435
+ "description": "Dropdown filter facets by field, rendered as an embedded filter bar above the grid; each selection fires REFETCH_FILTER on this trait. Empty (the default) = no filter bar, which is the right setting whenever the page already composes std-filter beside this gallery and routes `XFilter.FILTER -> REFETCH_FILTER` — that is the wired owner and remains the primary path. Use this knob only for a standalone gallery with no page-level filter affordance.",
436
+ "items": {
437
+ "properties": {
438
+ "field": {
439
+ "name": "field",
440
+ "required": true,
441
+ "type": "string"
442
+ },
443
+ "label": {
444
+ "name": "label",
445
+ "required": false,
446
+ "type": "string"
447
+ },
448
+ "options": {
449
+ "items": {
450
+ "type": "string"
451
+ },
452
+ "name": "options",
453
+ "required": false,
454
+ "type": "array"
455
+ }
456
+ },
457
+ "type": "object"
458
+ },
459
+ "label": "Which filters should appear above the gallery?",
460
+ "synonyms": "filter bar, faceted filters, field filters, dropdowns",
461
+ "tier": "presentation",
462
+ "type": "[FilterSpec]"
463
+ },
383
464
  "imageField": {
384
465
  "default": "imageUrl",
385
466
  "description": "Entity field holding the image URL shown in the lightbox for the selected item",
@@ -396,6 +477,22 @@
396
477
  "tier": "presentation",
397
478
  "type": "string"
398
479
  },
480
+ "pageSize": {
481
+ "default": 20.0,
482
+ "description": "Records fetched from the server when REFETCH_PAGE fires (a composed std-pagination driving this trait). The initial load and revisit fetches stay unpaged (whole collection), unchanged from before this knob existed.",
483
+ "label": "How many images to fetch per page?",
484
+ "synonyms": "fetch limit, records per page, batch size, page limit",
485
+ "tier": "presentation",
486
+ "type": "number"
487
+ },
488
+ "searchPlaceholder": {
489
+ "default": "Search…",
490
+ "description": "Hint text inside the gallery search box (e.g. 'Search photos…').",
491
+ "label": "Search box placeholder text",
492
+ "synonyms": "search hint, placeholder, search box text, search label",
493
+ "tier": "presentation",
494
+ "type": "string"
495
+ },
399
496
  "title": {
400
497
  "default": "Gallery",
401
498
  "description": "Heading shown above the image gallery",
@@ -535,6 +632,56 @@
535
632
  "synonyms": "error, failure, problem, load error",
536
633
  "tier": "internal"
537
634
  },
635
+ {
636
+ "description": "Triggers a gallery refresh based on the current search query.",
637
+ "id": "evt_01M11GXG2SJ7ECYZZ40S72N47Q",
638
+ "key": "REFETCH_QUERY",
639
+ "name": "Refetch Query",
640
+ "payloadSchema": [
641
+ {
642
+ "name": "searchTerm",
643
+ "required": true,
644
+ "type": "string"
645
+ }
646
+ ],
647
+ "synonyms": "refresh, reload, update, re-query",
648
+ "tier": "domain"
649
+ },
650
+ {
651
+ "description": "Triggers a gallery refresh based on current filter criteria.",
652
+ "id": "evt_01M11GXG2S4ZRV6ED7REMY7MGE",
653
+ "key": "REFETCH_FILTER",
654
+ "name": "Refetch Filter",
655
+ "payloadSchema": [
656
+ {
657
+ "name": "field",
658
+ "required": true,
659
+ "type": "string"
660
+ },
661
+ {
662
+ "name": "value",
663
+ "required": true,
664
+ "type": "string"
665
+ }
666
+ ],
667
+ "synonyms": "refresh, filter, update, reload",
668
+ "tier": "domain"
669
+ },
670
+ {
671
+ "description": "Triggers a gallery page refresh.",
672
+ "id": "evt_01M11GXG2STP7HH2WXTZH2V08X",
673
+ "key": "REFETCH_PAGE",
674
+ "name": "Refetch Page",
675
+ "payloadSchema": [
676
+ {
677
+ "name": "page",
678
+ "required": true,
679
+ "type": "number"
680
+ }
681
+ ],
682
+ "synonyms": "reload, refresh, update, paginate",
683
+ "tier": "domain"
684
+ },
538
685
  {
539
686
  "description": "Signals an item has been selected for viewing.",
540
687
  "id": "evt_01KXG04GJ9J0Q9FCBGZV9ZV50B",
@@ -634,6 +781,59 @@
634
781
  "type": "stack"
635
782
  },
636
783
  "@trait.TitleDivider",
784
+ [
785
+ "if",
786
+ "@config.bodySearch",
787
+ {
788
+ "children": [
789
+ {
790
+ "className": "w-full max-w-md",
791
+ "clearable": true,
792
+ "event": "REFETCH_QUERY",
793
+ "placeholder": "@config.searchPlaceholder",
794
+ "type": "search-input"
795
+ }
796
+ ],
797
+ "direction": "horizontal",
798
+ "gap": "sm",
799
+ "type": "stack"
800
+ },
801
+ {
802
+ "children": [],
803
+ "gap": "none",
804
+ "type": "stack"
805
+ }
806
+ ],
807
+ [
808
+ "if",
809
+ [
810
+ ">",
811
+ [
812
+ "array/len",
813
+ "@config.filters"
814
+ ],
815
+ 0.0
816
+ ],
817
+ {
818
+ "children": [
819
+ {
820
+ "entity": "GalleryItem",
821
+ "event": "REFETCH_FILTER",
822
+ "filters": "@config.filters",
823
+ "look": "@config.filterBarLook",
824
+ "type": "filter-group"
825
+ }
826
+ ],
827
+ "direction": "horizontal",
828
+ "gap": "sm",
829
+ "type": "stack"
830
+ },
831
+ {
832
+ "children": [],
833
+ "gap": "none",
834
+ "type": "stack"
835
+ }
836
+ ],
637
837
  "@trait.MediaGalleryGrid"
638
838
  ],
639
839
  "direction": "vertical",
@@ -683,6 +883,196 @@
683
883
  "from": "browsing",
684
884
  "to": "loading"
685
885
  },
886
+ {
887
+ "effects": [
888
+ [
889
+ "fetch",
890
+ "GalleryItem",
891
+ {
892
+ "emit": {
893
+ "failure": "GalleryItemLoadFailed",
894
+ "success": "GalleryItemLoaded"
895
+ },
896
+ "filter": [
897
+ "or",
898
+ [
899
+ "=",
900
+ "@payload.searchTerm",
901
+ ""
902
+ ],
903
+ [
904
+ "str/includes",
905
+ [
906
+ "object/get",
907
+ "@entity",
908
+ "name"
909
+ ],
910
+ "@payload.searchTerm"
911
+ ]
912
+ ],
913
+ "limit": "@config.pageSize",
914
+ "offset": 0.0
915
+ }
916
+ ]
917
+ ],
918
+ "event": "REFETCH_QUERY",
919
+ "eventId": "evt_01M11GXG2SJ7ECYZZ40S72N47Q",
920
+ "from": "browsing",
921
+ "to": "browsing"
922
+ },
923
+ {
924
+ "effects": [
925
+ [
926
+ "fetch",
927
+ "GalleryItem",
928
+ {
929
+ "emit": {
930
+ "failure": "GalleryItemLoadFailed",
931
+ "success": "GalleryItemLoaded"
932
+ },
933
+ "filter": [
934
+ "or",
935
+ [
936
+ "=",
937
+ "@payload.value",
938
+ ""
939
+ ],
940
+ [
941
+ "=",
942
+ [
943
+ "object/get",
944
+ "@entity",
945
+ "@payload.field"
946
+ ],
947
+ "@payload.value"
948
+ ]
949
+ ],
950
+ "limit": "@config.pageSize",
951
+ "offset": 0.0
952
+ }
953
+ ]
954
+ ],
955
+ "event": "REFETCH_FILTER",
956
+ "eventId": "evt_01M11GXG2S4ZRV6ED7REMY7MGE",
957
+ "from": "browsing",
958
+ "to": "browsing"
959
+ },
960
+ {
961
+ "effects": [
962
+ [
963
+ "fetch",
964
+ "GalleryItem",
965
+ {
966
+ "emit": {
967
+ "failure": "GalleryItemLoadFailed",
968
+ "success": "GalleryItemLoaded"
969
+ },
970
+ "limit": "@config.pageSize",
971
+ "offset": [
972
+ "*",
973
+ [
974
+ "-",
975
+ "@payload.page",
976
+ 1.0
977
+ ],
978
+ "@config.pageSize"
979
+ ]
980
+ }
981
+ ]
982
+ ],
983
+ "event": "REFETCH_PAGE",
984
+ "eventId": "evt_01M11GXG2STP7HH2WXTZH2V08X",
985
+ "from": "browsing",
986
+ "to": "browsing"
987
+ },
988
+ {
989
+ "effects": [
990
+ [
991
+ "render-ui",
992
+ "main",
993
+ {
994
+ "children": [
995
+ {
996
+ "align": "center",
997
+ "children": [
998
+ "@trait.GalleryIcon",
999
+ {
1000
+ "content": "@config.title",
1001
+ "type": "typography",
1002
+ "variant": "h3"
1003
+ }
1004
+ ],
1005
+ "direction": "horizontal",
1006
+ "gap": "sm",
1007
+ "type": "stack"
1008
+ },
1009
+ "@trait.TitleDivider",
1010
+ [
1011
+ "if",
1012
+ "@config.bodySearch",
1013
+ {
1014
+ "children": [
1015
+ {
1016
+ "className": "w-full max-w-md",
1017
+ "clearable": true,
1018
+ "event": "REFETCH_QUERY",
1019
+ "placeholder": "@config.searchPlaceholder",
1020
+ "type": "search-input"
1021
+ }
1022
+ ],
1023
+ "direction": "horizontal",
1024
+ "gap": "sm",
1025
+ "type": "stack"
1026
+ },
1027
+ {
1028
+ "children": [],
1029
+ "gap": "none",
1030
+ "type": "stack"
1031
+ }
1032
+ ],
1033
+ [
1034
+ "if",
1035
+ [
1036
+ ">",
1037
+ [
1038
+ "array/len",
1039
+ "@config.filters"
1040
+ ],
1041
+ 0.0
1042
+ ],
1043
+ {
1044
+ "children": [
1045
+ {
1046
+ "entity": "GalleryItem",
1047
+ "event": "REFETCH_FILTER",
1048
+ "filters": "@config.filters",
1049
+ "look": "@config.filterBarLook",
1050
+ "type": "filter-group"
1051
+ }
1052
+ ],
1053
+ "direction": "horizontal",
1054
+ "gap": "sm",
1055
+ "type": "stack"
1056
+ },
1057
+ {
1058
+ "children": [],
1059
+ "gap": "none",
1060
+ "type": "stack"
1061
+ }
1062
+ ],
1063
+ "@trait.MediaGalleryGrid"
1064
+ ],
1065
+ "direction": "vertical",
1066
+ "gap": "md",
1067
+ "type": "stack"
1068
+ }
1069
+ ]
1070
+ ],
1071
+ "event": "GalleryItemLoaded",
1072
+ "eventId": "evt_01KXG04GJ96GWXWMB99T91CGKE",
1073
+ "from": "browsing",
1074
+ "to": "browsing"
1075
+ },
686
1076
  {
687
1077
  "effects": [
688
1078
  [
@@ -195,7 +195,8 @@
195
195
  "linkedEntity": "ImportPanel",
196
196
  "linkedEntityId": "ent_01KYEH1JJPJH06F07Q6CNTHTR8",
197
197
  "name": "Button1",
198
- "ref": "Button.traits.ButtonRender"
198
+ "ref": "Button.traits.ButtonRender",
199
+ "refId": "trt_01KXG04JBQPWD7RW8X33NXPXG9"
199
200
  },
200
201
  {
201
202
  "config": {
@@ -218,7 +219,8 @@
218
219
  "linkedEntity": "ImportPanel",
219
220
  "linkedEntityId": "ent_01KYEH1JJPJH06F07Q6CNTHTR8",
220
221
  "name": "Menu1",
221
- "ref": "Menu.traits.MenuRender"
222
+ "ref": "Menu.traits.MenuRender",
223
+ "refId": "trt_01KXG04Q03EYTCP5J0MX1ACQH7"
222
224
  },
223
225
  {
224
226
  "category": "interaction",