@almadar/std 16.186.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.
- package/behaviors/lolo/ui/core/.hand-authored.json +4 -0
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +138 -4
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +148 -8
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +141 -3
- package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +255 -2
- package/behaviors/lolo/ui/core/atoms/std-gallery.lolo +148 -1
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +193 -1
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +329 -0
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +182 -1
- package/behaviors/lolo/ui/core/atoms/std-tree.lolo +113 -3
- package/behaviors/lolo/ui/game/atoms/std-area-fill.lolo +93 -0
- package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +79 -0
- package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +93 -0
- package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +14 -7
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +21 -4
- package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +101 -0
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +16 -8
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
- package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +2 -1
- package/behaviors/registry/ml/organisms/std-escalating-decision.orb +10 -5
- package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
- package/behaviors/registry/ui/core/atoms/std-board.orb +355 -2
- package/behaviors/registry/ui/core/atoms/std-browse.orb +304 -31
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +344 -0
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +773 -0
- package/behaviors/registry/ui/core/atoms/std-export.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-gallery.orb +390 -0
- package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
- package/behaviors/registry/ui/core/atoms/std-list.orb +451 -0
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1141 -0
- package/behaviors/registry/ui/core/atoms/std-selection.orb +436 -0
- package/behaviors/registry/ui/core/atoms/std-tree.orb +292 -1
- package/behaviors/registry/ui/game/atoms/std-area-fill.orb +955 -0
- package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
- package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +785 -0
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +903 -0
- package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +190 -44
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +868 -637
- package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1040 -0
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +8 -4
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +6 -3
- package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +10 -5
- package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +8 -4
- package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +8 -4
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +7 -4
- package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +8 -4
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -6
- package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +8 -4
- package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +6 -3
- package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +2 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +2 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +2 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +2 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +2 -1
- package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +2 -1
- package/dist/behaviors/exports-reader.js +7822 -3996
- package/dist/behaviors/functions/index.d.ts +598 -270
- package/dist/behaviors/functions/index.js +7805 -3989
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +7823 -3997
- package/dist/behaviors/query.js +7822 -3996
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +535 -519
- package/dist/behaviors-registry.json +2877 -2268
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7823 -3997
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +1 -1
- package/behaviors/lolo/ui/core/organisms/ui-ui-slot-renderer.lolo +0 -71
- package/behaviors/registry/ui/core/organisms/ui-ui-slot-renderer.orb +0 -234
|
@@ -136,6 +136,33 @@
|
|
|
136
136
|
"parent": "trt_01KXG04GRMJ7J1JZZS36V7QP45",
|
|
137
137
|
"renames": []
|
|
138
138
|
},
|
|
139
|
+
"evt_01M11H5NGB5118T8DNXTX8AQAS": {
|
|
140
|
+
"bakedName": "REFETCH_PAGE",
|
|
141
|
+
"curName": "REFETCH_PAGE",
|
|
142
|
+
"id": "evt_01M11H5NGB5118T8DNXTX8AQAS",
|
|
143
|
+
"kind": "event",
|
|
144
|
+
"owner": "workspace",
|
|
145
|
+
"parent": "trt_01KXG04GRMJ7J1JZZS36V7QP45",
|
|
146
|
+
"renames": []
|
|
147
|
+
},
|
|
148
|
+
"evt_01M11H5NGBD1AW48VWAQRK1CXS": {
|
|
149
|
+
"bakedName": "REFETCH_QUERY",
|
|
150
|
+
"curName": "REFETCH_QUERY",
|
|
151
|
+
"id": "evt_01M11H5NGBD1AW48VWAQRK1CXS",
|
|
152
|
+
"kind": "event",
|
|
153
|
+
"owner": "workspace",
|
|
154
|
+
"parent": "trt_01KXG04GRMJ7J1JZZS36V7QP45",
|
|
155
|
+
"renames": []
|
|
156
|
+
},
|
|
157
|
+
"evt_01M11H5NGBW953ZPSZR6G9G59R": {
|
|
158
|
+
"bakedName": "REFETCH_FILTER",
|
|
159
|
+
"curName": "REFETCH_FILTER",
|
|
160
|
+
"id": "evt_01M11H5NGBW953ZPSZR6G9G59R",
|
|
161
|
+
"kind": "event",
|
|
162
|
+
"owner": "workspace",
|
|
163
|
+
"parent": "trt_01KXG04GRMJ7J1JZZS36V7QP45",
|
|
164
|
+
"renames": []
|
|
165
|
+
},
|
|
139
166
|
"orb_01KXG04GRMFV2N5D00GQN2CRT6": {
|
|
140
167
|
"bakedName": "ListItemOrbital",
|
|
141
168
|
"curName": "ListItemOrbital",
|
|
@@ -281,6 +308,86 @@
|
|
|
281
308
|
"traits": [
|
|
282
309
|
{
|
|
283
310
|
"category": "interaction",
|
|
311
|
+
"config": {
|
|
312
|
+
"bodySearch": {
|
|
313
|
+
"default": false,
|
|
314
|
+
"description": "Embeds a search box above the grid. Set true only when the page has no other search affordance (e.g. no page-level std-search), so the surface shows one search box instead of two. False is the default — this atom has never had a search box (0 consumers today).",
|
|
315
|
+
"label": "Show the list's own search box?",
|
|
316
|
+
"synonyms": "inline search, list search, built-in search, show search",
|
|
317
|
+
"tier": "presentation",
|
|
318
|
+
"type": "boolean"
|
|
319
|
+
},
|
|
320
|
+
"displayPageSize": {
|
|
321
|
+
"default": 20.0,
|
|
322
|
+
"description": "Rows visible per page before the data-grid's own pagination control appears — 20 matches the CRUD-list density sweet spot (Miller's law, 10-25 rows).",
|
|
323
|
+
"label": "How many rows to show at once?",
|
|
324
|
+
"synonyms": "visible rows, items per page, display limit, show per page",
|
|
325
|
+
"tier": "presentation",
|
|
326
|
+
"type": "number"
|
|
327
|
+
},
|
|
328
|
+
"filterBarLook": {
|
|
329
|
+
"default": "toolbar",
|
|
330
|
+
"description": "Visual treatment for the embedded filter bar, mirroring std-filter's own enum. Only applies when `filters` is non-empty.",
|
|
331
|
+
"label": "Filter bar look",
|
|
332
|
+
"synonyms": "filter bar style, facet style, chips, pills",
|
|
333
|
+
"tier": "presentation",
|
|
334
|
+
"type": "string",
|
|
335
|
+
"values": [
|
|
336
|
+
"toolbar",
|
|
337
|
+
"chips",
|
|
338
|
+
"pills",
|
|
339
|
+
"popover-trigger",
|
|
340
|
+
"inline-column-header"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"filters": {
|
|
344
|
+
"default": [],
|
|
345
|
+
"description": "Dropdown filter facets by field, rendered as an embedded filter bar above the rows; each selection fires REFETCH_FILTER on this trait. Empty (the default) = no filter bar, the right setting whenever the page already composes std-filter beside this list and routes XFilter.FILTER -> REFETCH_FILTER — that is the wired owner and remains the primary path. Use this knob only for a standalone list with no page-level filter affordance.",
|
|
346
|
+
"items": {
|
|
347
|
+
"properties": {
|
|
348
|
+
"field": {
|
|
349
|
+
"name": "field",
|
|
350
|
+
"required": true,
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"label": {
|
|
354
|
+
"name": "label",
|
|
355
|
+
"required": false,
|
|
356
|
+
"type": "string"
|
|
357
|
+
},
|
|
358
|
+
"options": {
|
|
359
|
+
"items": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
},
|
|
362
|
+
"name": "options",
|
|
363
|
+
"required": false,
|
|
364
|
+
"type": "array"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"type": "object"
|
|
368
|
+
},
|
|
369
|
+
"label": "Which filters should appear above the grid?",
|
|
370
|
+
"synonyms": "filter bar, faceted filters, field filters, dropdowns",
|
|
371
|
+
"tier": "presentation",
|
|
372
|
+
"type": "[FilterSpec]"
|
|
373
|
+
},
|
|
374
|
+
"pageSize": {
|
|
375
|
+
"default": 20.0,
|
|
376
|
+
"description": "Records fetched from the server per REFETCH_PAGE request. The initial load and search/filter refetches remain unpaginated (load everything that matches) unless a consumer wires REFETCH_PAGE, so the default list surface is unchanged.",
|
|
377
|
+
"label": "How many rows per page when paging?",
|
|
378
|
+
"synonyms": "fetch limit, records per page, page limit",
|
|
379
|
+
"tier": "presentation",
|
|
380
|
+
"type": "number"
|
|
381
|
+
},
|
|
382
|
+
"searchPlaceholder": {
|
|
383
|
+
"default": "Search…",
|
|
384
|
+
"description": "Hint text inside the list search box.",
|
|
385
|
+
"label": "Search box placeholder text",
|
|
386
|
+
"synonyms": "search hint, placeholder, search box text",
|
|
387
|
+
"tier": "presentation",
|
|
388
|
+
"type": "string"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
284
391
|
"emits": [
|
|
285
392
|
{
|
|
286
393
|
"description": "Signals a new item has been successfully created.",
|
|
@@ -489,6 +596,56 @@
|
|
|
489
596
|
"synonyms": "error, failure, problem, unsuccessful",
|
|
490
597
|
"tier": "internal"
|
|
491
598
|
},
|
|
599
|
+
{
|
|
600
|
+
"description": "Triggers a list refresh based on the current search term.",
|
|
601
|
+
"id": "evt_01M11H5NGBD1AW48VWAQRK1CXS",
|
|
602
|
+
"key": "REFETCH_QUERY",
|
|
603
|
+
"name": "Refetch Query",
|
|
604
|
+
"payloadSchema": [
|
|
605
|
+
{
|
|
606
|
+
"name": "searchTerm",
|
|
607
|
+
"required": true,
|
|
608
|
+
"type": "string"
|
|
609
|
+
}
|
|
610
|
+
],
|
|
611
|
+
"synonyms": "refresh, reload, update, re-query, search",
|
|
612
|
+
"tier": "domain"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"description": "Triggers a list refresh based on current filter criteria.",
|
|
616
|
+
"id": "evt_01M11H5NGBW953ZPSZR6G9G59R",
|
|
617
|
+
"key": "REFETCH_FILTER",
|
|
618
|
+
"name": "Refetch Filter",
|
|
619
|
+
"payloadSchema": [
|
|
620
|
+
{
|
|
621
|
+
"name": "field",
|
|
622
|
+
"required": true,
|
|
623
|
+
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "value",
|
|
627
|
+
"required": true,
|
|
628
|
+
"type": "string"
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"synonyms": "refresh, filter, update, reload",
|
|
632
|
+
"tier": "domain"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"description": "Triggers a list page refresh.",
|
|
636
|
+
"id": "evt_01M11H5NGB5118T8DNXTX8AQAS",
|
|
637
|
+
"key": "REFETCH_PAGE",
|
|
638
|
+
"name": "Refetch Page",
|
|
639
|
+
"payloadSchema": [
|
|
640
|
+
{
|
|
641
|
+
"name": "page",
|
|
642
|
+
"required": true,
|
|
643
|
+
"type": "number"
|
|
644
|
+
}
|
|
645
|
+
],
|
|
646
|
+
"synonyms": "reload, refresh, update, paginate",
|
|
647
|
+
"tier": "domain"
|
|
648
|
+
},
|
|
492
649
|
{
|
|
493
650
|
"id": "evt_01KYXKHAR210J771VGPVXZVQF9",
|
|
494
651
|
"key": "RETRY",
|
|
@@ -677,6 +834,59 @@
|
|
|
677
834
|
{
|
|
678
835
|
"type": "divider"
|
|
679
836
|
},
|
|
837
|
+
[
|
|
838
|
+
"if",
|
|
839
|
+
"@config.bodySearch",
|
|
840
|
+
{
|
|
841
|
+
"children": [
|
|
842
|
+
{
|
|
843
|
+
"className": "w-full max-w-md",
|
|
844
|
+
"clearable": true,
|
|
845
|
+
"event": "REFETCH_QUERY",
|
|
846
|
+
"placeholder": "@config.searchPlaceholder",
|
|
847
|
+
"type": "search-input"
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
"direction": "horizontal",
|
|
851
|
+
"gap": "sm",
|
|
852
|
+
"type": "stack"
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"children": [],
|
|
856
|
+
"gap": "none",
|
|
857
|
+
"type": "stack"
|
|
858
|
+
}
|
|
859
|
+
],
|
|
860
|
+
[
|
|
861
|
+
"if",
|
|
862
|
+
[
|
|
863
|
+
">",
|
|
864
|
+
[
|
|
865
|
+
"array/len",
|
|
866
|
+
"@config.filters"
|
|
867
|
+
],
|
|
868
|
+
0.0
|
|
869
|
+
],
|
|
870
|
+
{
|
|
871
|
+
"children": [
|
|
872
|
+
{
|
|
873
|
+
"entity": "ListItem",
|
|
874
|
+
"event": "REFETCH_FILTER",
|
|
875
|
+
"filters": "@config.filters",
|
|
876
|
+
"look": "@config.filterBarLook",
|
|
877
|
+
"type": "filter-group"
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"direction": "horizontal",
|
|
881
|
+
"gap": "sm",
|
|
882
|
+
"type": "stack"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"children": [],
|
|
886
|
+
"gap": "none",
|
|
887
|
+
"type": "stack"
|
|
888
|
+
}
|
|
889
|
+
],
|
|
680
890
|
{
|
|
681
891
|
"entity": "@payload.data",
|
|
682
892
|
"fields": [
|
|
@@ -709,6 +919,7 @@
|
|
|
709
919
|
"variant": "danger"
|
|
710
920
|
}
|
|
711
921
|
],
|
|
922
|
+
"pageSize": "@config.displayPageSize",
|
|
712
923
|
"type": "data-grid"
|
|
713
924
|
}
|
|
714
925
|
],
|
|
@@ -793,6 +1004,246 @@
|
|
|
793
1004
|
"from": "browsing",
|
|
794
1005
|
"to": "loading"
|
|
795
1006
|
},
|
|
1007
|
+
{
|
|
1008
|
+
"effects": [
|
|
1009
|
+
[
|
|
1010
|
+
"fetch",
|
|
1011
|
+
"ListItem",
|
|
1012
|
+
{
|
|
1013
|
+
"emit": {
|
|
1014
|
+
"failure": "ListItemLoadFailed",
|
|
1015
|
+
"success": "ListItemLoaded"
|
|
1016
|
+
},
|
|
1017
|
+
"filter": [
|
|
1018
|
+
"or",
|
|
1019
|
+
[
|
|
1020
|
+
"=",
|
|
1021
|
+
"@payload.searchTerm",
|
|
1022
|
+
""
|
|
1023
|
+
],
|
|
1024
|
+
[
|
|
1025
|
+
"str/includes",
|
|
1026
|
+
[
|
|
1027
|
+
"object/get",
|
|
1028
|
+
"@entity",
|
|
1029
|
+
"name"
|
|
1030
|
+
],
|
|
1031
|
+
"@payload.searchTerm"
|
|
1032
|
+
]
|
|
1033
|
+
]
|
|
1034
|
+
}
|
|
1035
|
+
]
|
|
1036
|
+
],
|
|
1037
|
+
"event": "REFETCH_QUERY",
|
|
1038
|
+
"eventId": "evt_01M11H5NGBD1AW48VWAQRK1CXS",
|
|
1039
|
+
"from": "browsing",
|
|
1040
|
+
"to": "browsing"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"effects": [
|
|
1044
|
+
[
|
|
1045
|
+
"fetch",
|
|
1046
|
+
"ListItem",
|
|
1047
|
+
{
|
|
1048
|
+
"emit": {
|
|
1049
|
+
"failure": "ListItemLoadFailed",
|
|
1050
|
+
"success": "ListItemLoaded"
|
|
1051
|
+
},
|
|
1052
|
+
"filter": [
|
|
1053
|
+
"or",
|
|
1054
|
+
[
|
|
1055
|
+
"=",
|
|
1056
|
+
"@payload.value",
|
|
1057
|
+
""
|
|
1058
|
+
],
|
|
1059
|
+
[
|
|
1060
|
+
"=",
|
|
1061
|
+
[
|
|
1062
|
+
"object/get",
|
|
1063
|
+
"@entity",
|
|
1064
|
+
"@payload.field"
|
|
1065
|
+
],
|
|
1066
|
+
"@payload.value"
|
|
1067
|
+
]
|
|
1068
|
+
]
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
],
|
|
1072
|
+
"event": "REFETCH_FILTER",
|
|
1073
|
+
"eventId": "evt_01M11H5NGBW953ZPSZR6G9G59R",
|
|
1074
|
+
"from": "browsing",
|
|
1075
|
+
"to": "browsing"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"effects": [
|
|
1079
|
+
[
|
|
1080
|
+
"fetch",
|
|
1081
|
+
"ListItem",
|
|
1082
|
+
{
|
|
1083
|
+
"emit": {
|
|
1084
|
+
"failure": "ListItemLoadFailed",
|
|
1085
|
+
"success": "ListItemLoaded"
|
|
1086
|
+
},
|
|
1087
|
+
"limit": "@config.pageSize",
|
|
1088
|
+
"offset": [
|
|
1089
|
+
"*",
|
|
1090
|
+
[
|
|
1091
|
+
"-",
|
|
1092
|
+
"@payload.page",
|
|
1093
|
+
1.0
|
|
1094
|
+
],
|
|
1095
|
+
"@config.pageSize"
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
1098
|
+
]
|
|
1099
|
+
],
|
|
1100
|
+
"event": "REFETCH_PAGE",
|
|
1101
|
+
"eventId": "evt_01M11H5NGB5118T8DNXTX8AQAS",
|
|
1102
|
+
"from": "browsing",
|
|
1103
|
+
"to": "browsing"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"effects": [
|
|
1107
|
+
[
|
|
1108
|
+
"render-ui",
|
|
1109
|
+
"main",
|
|
1110
|
+
{
|
|
1111
|
+
"children": [
|
|
1112
|
+
{
|
|
1113
|
+
"children": [
|
|
1114
|
+
{
|
|
1115
|
+
"children": [
|
|
1116
|
+
{
|
|
1117
|
+
"name": "list",
|
|
1118
|
+
"type": "icon"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"content": "ListItems",
|
|
1122
|
+
"type": "typography",
|
|
1123
|
+
"variant": "h2"
|
|
1124
|
+
}
|
|
1125
|
+
],
|
|
1126
|
+
"direction": "horizontal",
|
|
1127
|
+
"gap": "md",
|
|
1128
|
+
"type": "stack"
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"action": "CREATE",
|
|
1132
|
+
"icon": "plus",
|
|
1133
|
+
"label": "Create",
|
|
1134
|
+
"type": "button",
|
|
1135
|
+
"variant": "primary"
|
|
1136
|
+
}
|
|
1137
|
+
],
|
|
1138
|
+
"direction": "horizontal",
|
|
1139
|
+
"gap": "md",
|
|
1140
|
+
"justify": "between",
|
|
1141
|
+
"type": "stack"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"type": "divider"
|
|
1145
|
+
},
|
|
1146
|
+
[
|
|
1147
|
+
"if",
|
|
1148
|
+
"@config.bodySearch",
|
|
1149
|
+
{
|
|
1150
|
+
"children": [
|
|
1151
|
+
{
|
|
1152
|
+
"className": "w-full max-w-md",
|
|
1153
|
+
"clearable": true,
|
|
1154
|
+
"event": "REFETCH_QUERY",
|
|
1155
|
+
"placeholder": "@config.searchPlaceholder",
|
|
1156
|
+
"type": "search-input"
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"direction": "horizontal",
|
|
1160
|
+
"gap": "sm",
|
|
1161
|
+
"type": "stack"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"children": [],
|
|
1165
|
+
"gap": "none",
|
|
1166
|
+
"type": "stack"
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
[
|
|
1170
|
+
"if",
|
|
1171
|
+
[
|
|
1172
|
+
">",
|
|
1173
|
+
[
|
|
1174
|
+
"array/len",
|
|
1175
|
+
"@config.filters"
|
|
1176
|
+
],
|
|
1177
|
+
0.0
|
|
1178
|
+
],
|
|
1179
|
+
{
|
|
1180
|
+
"children": [
|
|
1181
|
+
{
|
|
1182
|
+
"entity": "ListItem",
|
|
1183
|
+
"event": "REFETCH_FILTER",
|
|
1184
|
+
"filters": "@config.filters",
|
|
1185
|
+
"look": "@config.filterBarLook",
|
|
1186
|
+
"type": "filter-group"
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"direction": "horizontal",
|
|
1190
|
+
"gap": "sm",
|
|
1191
|
+
"type": "stack"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"children": [],
|
|
1195
|
+
"gap": "none",
|
|
1196
|
+
"type": "stack"
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1199
|
+
{
|
|
1200
|
+
"entity": "@payload.data",
|
|
1201
|
+
"fields": [
|
|
1202
|
+
{
|
|
1203
|
+
"icon": "list",
|
|
1204
|
+
"label": "Name",
|
|
1205
|
+
"name": "name",
|
|
1206
|
+
"variant": "h4"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"label": "Description",
|
|
1210
|
+
"name": "description",
|
|
1211
|
+
"variant": "caption"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"label": "Status",
|
|
1215
|
+
"name": "status",
|
|
1216
|
+
"variant": "badge"
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
1219
|
+
"itemActions": [
|
|
1220
|
+
{
|
|
1221
|
+
"event": "EDIT",
|
|
1222
|
+
"label": "Edit",
|
|
1223
|
+
"variant": "ghost"
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"event": "DELETE",
|
|
1227
|
+
"label": "Delete",
|
|
1228
|
+
"variant": "danger"
|
|
1229
|
+
}
|
|
1230
|
+
],
|
|
1231
|
+
"pageSize": "@config.displayPageSize",
|
|
1232
|
+
"type": "data-grid"
|
|
1233
|
+
}
|
|
1234
|
+
],
|
|
1235
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
1236
|
+
"direction": "vertical",
|
|
1237
|
+
"gap": "lg",
|
|
1238
|
+
"type": "stack"
|
|
1239
|
+
}
|
|
1240
|
+
]
|
|
1241
|
+
],
|
|
1242
|
+
"event": "ListItemLoaded",
|
|
1243
|
+
"eventId": "evt_01KXG04GRMNWNQDDEX1S5EDA2F",
|
|
1244
|
+
"from": "browsing",
|
|
1245
|
+
"to": "browsing"
|
|
1246
|
+
},
|
|
796
1247
|
{
|
|
797
1248
|
"effects": [
|
|
798
1249
|
[
|