@almadar/std 16.195.0 → 16.197.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/infra/atoms/std-mod-queue.lolo +1 -0
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/std-dashboard-grid-embedded.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-qr-scanner.lolo +3 -1
- package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +2 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +1 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +0 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +3 -4
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +2 -5
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +44 -0
- package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +3 -3
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-chart.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-meter.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +26 -4
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +2 -2
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +0 -5
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +3 -8
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +2 -20
- package/canonical-operators.json +6927 -431
- package/dist/behaviors/exports-reader.js +53 -20
- package/dist/behaviors/functions/index.d.ts +3 -1
- package/dist/behaviors/functions/index.js +53 -20
- package/dist/behaviors/index.js +53 -20
- package/dist/behaviors/query.js +53 -20
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/behaviors-registry.json +6 -1
- package/dist/index.js +53 -20
- 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 +4 -4
|
@@ -26,6 +26,7 @@ orbital ModQueueItemOrbital {
|
|
|
26
26
|
reviewedBy : string @description "The user who performed the review action." @synonyms "reviewer, reviewerId, assignedTo"
|
|
27
27
|
reviewedAt : datetime @description "Timestamp indicating when the item was last reviewed." @synonyms "review date, review time, last reviewed"
|
|
28
28
|
notes : string @description "Free-text comments or observations related to the item." @synonyms "comment, remark, observation, details"
|
|
29
|
+
seedRow : ModQueueItem @intrinsic @description "The row an edit-mode modal pre-fills from when its payload carries no row (a scalar-only action event still opens a fully seeded form)." = {}
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
trait LoadingSpinner = Spinner.traits.SpinnerRender -> ModQueueItem {
|
|
@@ -138,9 +138,9 @@ orbital DashboardGridEmbeddedOrbital {
|
|
|
138
138
|
@label "Tile slot 12"
|
|
139
139
|
@description "Trait reference for grid cell 12. Format '@trait.<TraitName>' picks any trait declared on the orbital; '@trait.EmptyTile' leaves the cell blank. Override THIS config to swap a chart, remove a tile, or reorder — never edit any other trait to move tile content."
|
|
140
140
|
@tier "presentation"
|
|
141
|
-
minTileWidth :
|
|
141
|
+
minTileWidth : string = "320px"
|
|
142
142
|
@label "Tile min width"
|
|
143
|
-
@description "Minimum
|
|
143
|
+
@description "Minimum CSS width per tile before the grid re-flows (a CSS length, e.g. \"320px\" or \"20rem\")"
|
|
144
144
|
@tier "presentation"
|
|
145
145
|
theme : string = ""
|
|
146
146
|
@label "Theme"
|
|
@@ -2,7 +2,7 @@ app std-record-detail "1.0.0"
|
|
|
2
2
|
"std-record-detail — single primitive: detail-panel. Owns the fetch-one-record state machine (loading → viewing → error, with RETRY), the record counterpart to std-browse's collection machine. Consumers configure fields/sections/actions and the title/subtitle/status bindings; the atom fetches by the id (or, for slug-routed records, the slug) carried on INIT and renders the panel. `detailLook` (panel default / slide-over / page / document) selects the render body, exactly as std-browse's browseLook selects a collection shape. The `document` look is for records whose shape IS a document (wiki page, note, article): the pure writing surface — a big inline-editable title with the rich-text body DIRECTLY beneath it, Edit/Done and the actions menu tucked into the header corner — where clicking the body drops a cursor in, every typing pause autosaves (CONTENT_SAVED, which the host persists QUIETLY — no refetch, or the editor unmounts mid-keystroke), and Done emits CONTENT_COMMITTED (the host refetches and snapshots version history on this one). Metadata never sits between the title and the words: compose the sibling RecordItemDetails trait beside the doc for a Gutenberg-style settings rail. A row minted blank by a document-first create arrives with draft=1 on INIT and opens straight in the editor. Pair with std-detail-layout for the back + breadcrumb chrome — that atom owns navigation, this one owns the record — exactly as a list page pairs std-browse with std-app-layout."
|
|
3
3
|
;; @capabilities "record detail, single record view, entity detail panel, drill-down record, show one record, record profile, detail page, view details, document editor, wiki page, note taking, article body, rich text editing, write and edit content"
|
|
4
4
|
orbital RecordItemOrbital {
|
|
5
|
-
type RecordAction = { label : string!, event :
|
|
5
|
+
type RecordAction = { label : string!, event : event!, icon : string, variant : primary | secondary | ghost | danger }
|
|
6
6
|
type RecordFieldSpec = { key : string!, header : string, format : date | currency | number | boolean | percent }
|
|
7
7
|
type MetaFieldSpec = { key : string!, label : string, kind : text | boolean | select | readonly, options : [string], icon : string, format : date | currency | number | boolean | percent }
|
|
8
8
|
type RecordSection = { title : string!, fields : [string] }
|
|
@@ -10,7 +10,7 @@ orbital TabsOrbital {
|
|
|
10
10
|
iconAsset : TabsItemsItemIconAsset
|
|
11
11
|
badge : string
|
|
12
12
|
disabled : boolean
|
|
13
|
-
event :
|
|
13
|
+
event : event
|
|
14
14
|
active : boolean
|
|
15
15
|
}
|
|
16
16
|
type TabsItemsItemIconAsset = {
|
|
@@ -36,7 +36,7 @@ orbital TabsOrbital {
|
|
|
36
36
|
iconAsset : TabsTabsItemIconAsset
|
|
37
37
|
badge : string
|
|
38
38
|
disabled : boolean
|
|
39
|
-
event :
|
|
39
|
+
event : event
|
|
40
40
|
active : boolean
|
|
41
41
|
}
|
|
42
42
|
type TabsTabsItemIconAsset = {
|
|
@@ -26,9 +26,8 @@ orbital EntityTableOrbital {
|
|
|
26
26
|
}
|
|
27
27
|
type EntityTableItemActionsItem = {
|
|
28
28
|
label : string!
|
|
29
|
-
event :
|
|
29
|
+
event : event
|
|
30
30
|
navigatesTo : string
|
|
31
|
-
action : string
|
|
32
31
|
placement : "row" | "bulk"
|
|
33
32
|
icon : icon
|
|
34
33
|
variant : "default" | "primary" | "secondary" | "ghost" | "danger"
|
|
@@ -41,13 +40,13 @@ orbital EntityTableOrbital {
|
|
|
41
40
|
label : string!
|
|
42
41
|
icon : icon
|
|
43
42
|
variant : "default" | "danger"
|
|
44
|
-
event :
|
|
43
|
+
event : event
|
|
45
44
|
}
|
|
46
45
|
type EntityTableBulkActionsItem = {
|
|
47
46
|
label : string!
|
|
48
47
|
icon : icon
|
|
49
48
|
variant : "default" | "danger"
|
|
50
|
-
event :
|
|
49
|
+
event : event
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
entity EntityTableItem [runtime] {
|
|
@@ -4,22 +4,20 @@ orbital GameMenuOrbital {
|
|
|
4
4
|
type GameMenuOptionsItem = {
|
|
5
5
|
id : string
|
|
6
6
|
label : string!
|
|
7
|
-
event :
|
|
7
|
+
event : event
|
|
8
8
|
navigatesTo : string
|
|
9
9
|
variant : "primary" | "secondary" | "ghost"
|
|
10
10
|
disabled : boolean
|
|
11
11
|
subLabel : string
|
|
12
|
-
action : string
|
|
13
12
|
}
|
|
14
13
|
type GameMenuMenuItemsItem = {
|
|
15
14
|
id : string
|
|
16
15
|
label : string!
|
|
17
|
-
event :
|
|
16
|
+
event : event
|
|
18
17
|
navigatesTo : string
|
|
19
18
|
variant : "primary" | "secondary" | "ghost"
|
|
20
19
|
disabled : boolean
|
|
21
20
|
subLabel : string
|
|
22
|
-
action : string
|
|
23
21
|
}
|
|
24
22
|
type GameMenuLogo = {
|
|
25
23
|
url : asset!
|
|
@@ -43,7 +41,6 @@ orbital GameMenuOrbital {
|
|
|
43
41
|
variant : "primary" | "secondary" | "ghost"
|
|
44
42
|
disabled : boolean
|
|
45
43
|
subLabel : string
|
|
46
|
-
action : string
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
entity GameMenuItem [runtime] {
|
|
@@ -266,6 +266,18 @@
|
|
|
266
266
|
"name": "notes",
|
|
267
267
|
"synonyms": "comment, remark, observation, details",
|
|
268
268
|
"type": "string"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"default": {},
|
|
272
|
+
"description": "The row an edit-mode modal pre-fills from when its payload carries no row (a scalar-only action event still opens a fully seeded form).",
|
|
273
|
+
"intrinsic": true,
|
|
274
|
+
"name": "seedRow",
|
|
275
|
+
"relation": {
|
|
276
|
+
"cardinality": "one",
|
|
277
|
+
"entity": "ModQueueItem",
|
|
278
|
+
"entityId": "ent_01KXG04FDN3D78Z39RX2F9T16W"
|
|
279
|
+
},
|
|
280
|
+
"type": "relation"
|
|
269
281
|
}
|
|
270
282
|
],
|
|
271
283
|
"id": "ent_01KXG04FDN3D78Z39RX2F9T16W",
|
|
@@ -510,6 +522,10 @@
|
|
|
510
522
|
{
|
|
511
523
|
"name": "notes",
|
|
512
524
|
"type": "string"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "seedRow",
|
|
528
|
+
"type": "ModQueueItem"
|
|
513
529
|
}
|
|
514
530
|
],
|
|
515
531
|
"type": "object"
|
|
@@ -569,6 +585,10 @@
|
|
|
569
585
|
{
|
|
570
586
|
"name": "notes",
|
|
571
587
|
"type": "string"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "seedRow",
|
|
591
|
+
"type": "ModQueueItem"
|
|
572
592
|
}
|
|
573
593
|
],
|
|
574
594
|
"type": "object"
|
|
@@ -628,6 +648,10 @@
|
|
|
628
648
|
{
|
|
629
649
|
"name": "notes",
|
|
630
650
|
"type": "string"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "seedRow",
|
|
654
|
+
"type": "ModQueueItem"
|
|
631
655
|
}
|
|
632
656
|
],
|
|
633
657
|
"type": "object"
|
|
@@ -716,6 +740,10 @@
|
|
|
716
740
|
{
|
|
717
741
|
"name": "notes",
|
|
718
742
|
"type": "string"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "seedRow",
|
|
746
|
+
"type": "ModQueueItem"
|
|
719
747
|
}
|
|
720
748
|
],
|
|
721
749
|
"scope": "internal",
|
|
@@ -868,6 +896,10 @@
|
|
|
868
896
|
{
|
|
869
897
|
"name": "notes",
|
|
870
898
|
"type": "string"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "seedRow",
|
|
902
|
+
"type": "ModQueueItem"
|
|
871
903
|
}
|
|
872
904
|
],
|
|
873
905
|
"type": "object"
|
|
@@ -928,6 +960,10 @@
|
|
|
928
960
|
{
|
|
929
961
|
"name": "notes",
|
|
930
962
|
"type": "string"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"name": "seedRow",
|
|
966
|
+
"type": "ModQueueItem"
|
|
931
967
|
}
|
|
932
968
|
],
|
|
933
969
|
"type": "object"
|
|
@@ -988,6 +1024,10 @@
|
|
|
988
1024
|
{
|
|
989
1025
|
"name": "notes",
|
|
990
1026
|
"type": "string"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "seedRow",
|
|
1030
|
+
"type": "ModQueueItem"
|
|
991
1031
|
}
|
|
992
1032
|
],
|
|
993
1033
|
"type": "object"
|
|
@@ -1040,6 +1080,10 @@
|
|
|
1040
1080
|
{
|
|
1041
1081
|
"name": "notes",
|
|
1042
1082
|
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "seedRow",
|
|
1086
|
+
"type": "ModQueueItem"
|
|
1043
1087
|
}
|
|
1044
1088
|
],
|
|
1045
1089
|
"synonyms": "reviewed, processed, judged, completed",
|
|
@@ -209,11 +209,11 @@
|
|
|
209
209
|
"type": "trait"
|
|
210
210
|
},
|
|
211
211
|
"minTileWidth": {
|
|
212
|
-
"default":
|
|
213
|
-
"description": "Minimum
|
|
212
|
+
"default": "320px",
|
|
213
|
+
"description": "Minimum CSS width per tile before the grid re-flows (a CSS length, e.g. \"320px\" or \"20rem\")",
|
|
214
214
|
"label": "Tile min width",
|
|
215
215
|
"tier": "presentation",
|
|
216
|
-
"type": "
|
|
216
|
+
"type": "string"
|
|
217
217
|
},
|
|
218
218
|
"theme": {
|
|
219
219
|
"default": "",
|
|
@@ -176,8 +176,19 @@
|
|
|
176
176
|
"type": "object"
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
"name": "
|
|
180
|
-
"
|
|
179
|
+
"name": "text",
|
|
180
|
+
"required": true,
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "format",
|
|
185
|
+
"required": true,
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "timestamp",
|
|
190
|
+
"required": true,
|
|
191
|
+
"type": "number"
|
|
181
192
|
}
|
|
182
193
|
],
|
|
183
194
|
"scope": "external",
|
|
@@ -232,8 +243,19 @@
|
|
|
232
243
|
"type": "object"
|
|
233
244
|
},
|
|
234
245
|
{
|
|
235
|
-
"name": "
|
|
236
|
-
"
|
|
246
|
+
"name": "text",
|
|
247
|
+
"required": true,
|
|
248
|
+
"type": "string"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "format",
|
|
252
|
+
"required": true,
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "timestamp",
|
|
257
|
+
"required": true,
|
|
258
|
+
"type": "number"
|
|
237
259
|
}
|
|
238
260
|
],
|
|
239
261
|
"tier": "essential"
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"event": {
|
|
136
136
|
"name": "event",
|
|
137
137
|
"required": false,
|
|
138
|
-
"type": "
|
|
138
|
+
"type": "event"
|
|
139
139
|
},
|
|
140
140
|
"icon": {
|
|
141
141
|
"name": "icon",
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"event": {
|
|
305
305
|
"name": "event",
|
|
306
306
|
"required": false,
|
|
307
|
-
"type": "
|
|
307
|
+
"type": "event"
|
|
308
308
|
},
|
|
309
309
|
"icon": {
|
|
310
310
|
"name": "icon",
|
|
@@ -286,11 +286,6 @@
|
|
|
286
286
|
"description": "Actions for each card item (schema-driven)",
|
|
287
287
|
"items": {
|
|
288
288
|
"properties": {
|
|
289
|
-
"action": {
|
|
290
|
-
"name": "action",
|
|
291
|
-
"required": false,
|
|
292
|
-
"type": "string"
|
|
293
|
-
},
|
|
294
289
|
"event": {
|
|
295
290
|
"name": "event",
|
|
296
291
|
"required": false,
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"event": {
|
|
117
117
|
"name": "event",
|
|
118
118
|
"required": false,
|
|
119
|
-
"type": "
|
|
119
|
+
"type": "event"
|
|
120
120
|
},
|
|
121
121
|
"icon": {
|
|
122
122
|
"name": "icon",
|
|
@@ -339,15 +339,10 @@
|
|
|
339
339
|
"description": "Item actions from generated code - maps to rowActions",
|
|
340
340
|
"items": {
|
|
341
341
|
"properties": {
|
|
342
|
-
"action": {
|
|
343
|
-
"name": "action",
|
|
344
|
-
"required": false,
|
|
345
|
-
"type": "string"
|
|
346
|
-
},
|
|
347
342
|
"event": {
|
|
348
343
|
"name": "event",
|
|
349
344
|
"required": false,
|
|
350
|
-
"type": "
|
|
345
|
+
"type": "event"
|
|
351
346
|
},
|
|
352
347
|
"icon": {
|
|
353
348
|
"name": "icon",
|
|
@@ -427,7 +422,7 @@
|
|
|
427
422
|
"event": {
|
|
428
423
|
"name": "event",
|
|
429
424
|
"required": false,
|
|
430
|
-
"type": "
|
|
425
|
+
"type": "event"
|
|
431
426
|
},
|
|
432
427
|
"icon": {
|
|
433
428
|
"name": "icon",
|