@almadar/std 16.149.0 → 16.150.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/atoms/std-app-search.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +3 -3
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +1 -0
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +30 -3
- package/behaviors/registry/ui/core/atoms/std-browse.orb +46 -6
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +5 -0
- package/dist/behaviors/behaviors-embeddings.json +444 -444
- package/dist/behaviors/behaviors-registry.json +25 -7
- package/dist/behaviors/exports-reader.js +33 -3
- package/dist/behaviors/functions/index.d.ts +41 -54
- package/dist/behaviors/functions/index.js +31 -3
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +34 -4
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/query.js +33 -3
- package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +30 -3
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +46 -6
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +5 -0
- package/dist/behaviors-embeddings.json +444 -444
- package/dist/behaviors-registry.json +25 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -4
- package/dist/knob-embeddings.json +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
app std-app-search "1.0.0"
|
|
2
2
|
"std-app-search — reusable global search: wraps a host content view and, on a SEARCH trigger, fetches the linked entity filtered by @config.searchField and renders the matching results, then CLEAR_SEARCH returns to the host view. Rebind to any entity; point @config.idleContent at the normal view and wire a trigger (e.g. AppLayout SEARCH) into SEARCH."
|
|
3
|
-
type AppSearchFieldSpec = {
|
|
4
|
-
type AppSearchActionSpec = { label : string!, event : string!, variant :
|
|
3
|
+
type AppSearchFieldSpec = { name : string!, label : string, variant : h3 | h4 | body | caption | badge | small | progress, icon : string, format : date | currency | number | boolean | percent, event : string, href : string, payload : string, disabled : boolean, confirm : string, hidden : boolean }
|
|
4
|
+
type AppSearchActionSpec = { label : string!, event : string!, variant : primary | secondary | ghost | danger, icon : string, href : string, payload : string, disabled : boolean, confirm : string, hidden : boolean }
|
|
5
5
|
orbital AppSearchOrbital {
|
|
6
6
|
type AppSearchLoaded = Event { data : [AppSearchTarget] } "Filtered search results loaded"
|
|
7
7
|
type AppSearchFailed = Event { error : string } "Search fetch failed"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
app std-browse "2.3.0"
|
|
2
2
|
"std-browse as a Function — single primitive: data-grid. Owns the fetch + REFETCH (query/filter/page) state machine. Consumers configure fields/imageField/itemActions/cols/gap/variant; the atom renders the grid. Each `fields[]` entry accepts `{ name, label, variant }` plus optional `referenceEntity` + `displayField` to render a foreign-key column as the joined entity's display value (data-grid resolves @list[referenceEntity] at render time when both keys are present). `browseLook` (table default / dense / feed / gallery / master-detail / triage) selects one of six render bodies; dense/feed/gallery were folded in from std-browse-dense/-feed/-gallery (Phase 5.B); master-detail (split record view driven by the guarded VIEW/CLOSE self-transitions) and triage (inbox rows) were folded in 2026-07-26. Consumers retarget by setting browseLook."
|
|
3
|
-
type FieldSpec = { name : string!, label : string, variant :
|
|
4
|
-
type ItemAction = { label : string!, event : string, navigatesTo : string, variant :
|
|
5
|
-
type ColumnSpec = { key : string!, field : string, header : string, width : string, align :
|
|
3
|
+
type FieldSpec = { name : string!, label : string, variant : h3 | h4 | body | caption | badge | small | progress, icon : string, format : date | currency | number | boolean | percent, key : string, header : string }
|
|
4
|
+
type ItemAction = { label : string!, event : string, navigatesTo : string, variant : primary | secondary | ghost | danger, icon : string }
|
|
5
|
+
type ColumnSpec = { key : string!, field : string, header : string, width : string, align : left | center | right, className : string, weight : normal | medium | semibold, format : badge | date | currency | number | percent | boolean, icon : string }
|
|
6
6
|
type FilterSpec = { field : string!, label : string, options : [string] }
|
|
7
7
|
orbital BrowseItemOrbital {
|
|
8
8
|
type BrowseItemLoaded = Event { data : [BrowseItem], totalCount : number } "Fired when the BrowseItem collection finishes loading; payload.data holds the (possibly paginated) slice and totalCount holds the unsliced filter total. totalCount is optional so compiled-path emitters that haven't been migrated yet still validate"
|
|
@@ -264,7 +264,13 @@
|
|
|
264
264
|
"variant": {
|
|
265
265
|
"name": "variant",
|
|
266
266
|
"required": false,
|
|
267
|
-
"type": "string"
|
|
267
|
+
"type": "string",
|
|
268
|
+
"values": [
|
|
269
|
+
"primary",
|
|
270
|
+
"secondary",
|
|
271
|
+
"ghost",
|
|
272
|
+
"danger"
|
|
273
|
+
]
|
|
268
274
|
}
|
|
269
275
|
},
|
|
270
276
|
"type": "object"
|
|
@@ -302,7 +308,14 @@
|
|
|
302
308
|
"format": {
|
|
303
309
|
"name": "format",
|
|
304
310
|
"required": false,
|
|
305
|
-
"type": "string"
|
|
311
|
+
"type": "string",
|
|
312
|
+
"values": [
|
|
313
|
+
"date",
|
|
314
|
+
"currency",
|
|
315
|
+
"number",
|
|
316
|
+
"boolean",
|
|
317
|
+
"percent"
|
|
318
|
+
]
|
|
306
319
|
},
|
|
307
320
|
"hidden": {
|
|
308
321
|
"name": "hidden",
|
|
@@ -324,6 +337,11 @@
|
|
|
324
337
|
"required": false,
|
|
325
338
|
"type": "string"
|
|
326
339
|
},
|
|
340
|
+
"name": {
|
|
341
|
+
"name": "name",
|
|
342
|
+
"required": true,
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
327
345
|
"payload": {
|
|
328
346
|
"name": "payload",
|
|
329
347
|
"required": false,
|
|
@@ -332,7 +350,16 @@
|
|
|
332
350
|
"variant": {
|
|
333
351
|
"name": "variant",
|
|
334
352
|
"required": false,
|
|
335
|
-
"type": "string"
|
|
353
|
+
"type": "string",
|
|
354
|
+
"values": [
|
|
355
|
+
"h3",
|
|
356
|
+
"h4",
|
|
357
|
+
"body",
|
|
358
|
+
"caption",
|
|
359
|
+
"badge",
|
|
360
|
+
"small",
|
|
361
|
+
"progress"
|
|
362
|
+
]
|
|
336
363
|
}
|
|
337
364
|
},
|
|
338
365
|
"type": "object"
|
|
@@ -441,7 +441,12 @@
|
|
|
441
441
|
"align": {
|
|
442
442
|
"name": "align",
|
|
443
443
|
"required": false,
|
|
444
|
-
"type": "string"
|
|
444
|
+
"type": "string",
|
|
445
|
+
"values": [
|
|
446
|
+
"left",
|
|
447
|
+
"center",
|
|
448
|
+
"right"
|
|
449
|
+
]
|
|
445
450
|
},
|
|
446
451
|
"className": {
|
|
447
452
|
"name": "className",
|
|
@@ -456,7 +461,15 @@
|
|
|
456
461
|
"format": {
|
|
457
462
|
"name": "format",
|
|
458
463
|
"required": false,
|
|
459
|
-
"type": "string"
|
|
464
|
+
"type": "string",
|
|
465
|
+
"values": [
|
|
466
|
+
"badge",
|
|
467
|
+
"date",
|
|
468
|
+
"currency",
|
|
469
|
+
"number",
|
|
470
|
+
"percent",
|
|
471
|
+
"boolean"
|
|
472
|
+
]
|
|
460
473
|
},
|
|
461
474
|
"header": {
|
|
462
475
|
"name": "header",
|
|
@@ -476,7 +489,12 @@
|
|
|
476
489
|
"weight": {
|
|
477
490
|
"name": "weight",
|
|
478
491
|
"required": false,
|
|
479
|
-
"type": "string"
|
|
492
|
+
"type": "string",
|
|
493
|
+
"values": [
|
|
494
|
+
"normal",
|
|
495
|
+
"medium",
|
|
496
|
+
"semibold"
|
|
497
|
+
]
|
|
480
498
|
},
|
|
481
499
|
"width": {
|
|
482
500
|
"name": "width",
|
|
@@ -724,7 +742,14 @@
|
|
|
724
742
|
"format": {
|
|
725
743
|
"name": "format",
|
|
726
744
|
"required": false,
|
|
727
|
-
"type": "string"
|
|
745
|
+
"type": "string",
|
|
746
|
+
"values": [
|
|
747
|
+
"date",
|
|
748
|
+
"currency",
|
|
749
|
+
"number",
|
|
750
|
+
"boolean",
|
|
751
|
+
"percent"
|
|
752
|
+
]
|
|
728
753
|
},
|
|
729
754
|
"header": {
|
|
730
755
|
"name": "header",
|
|
@@ -754,7 +779,16 @@
|
|
|
754
779
|
"variant": {
|
|
755
780
|
"name": "variant",
|
|
756
781
|
"required": false,
|
|
757
|
-
"type": "string"
|
|
782
|
+
"type": "string",
|
|
783
|
+
"values": [
|
|
784
|
+
"h3",
|
|
785
|
+
"h4",
|
|
786
|
+
"body",
|
|
787
|
+
"caption",
|
|
788
|
+
"badge",
|
|
789
|
+
"small",
|
|
790
|
+
"progress"
|
|
791
|
+
]
|
|
758
792
|
}
|
|
759
793
|
},
|
|
760
794
|
"type": "object"
|
|
@@ -896,7 +930,13 @@
|
|
|
896
930
|
"variant": {
|
|
897
931
|
"name": "variant",
|
|
898
932
|
"required": false,
|
|
899
|
-
"type": "string"
|
|
933
|
+
"type": "string",
|
|
934
|
+
"values": [
|
|
935
|
+
"primary",
|
|
936
|
+
"secondary",
|
|
937
|
+
"ghost",
|
|
938
|
+
"danger"
|
|
939
|
+
]
|
|
900
940
|
}
|
|
901
941
|
},
|
|
902
942
|
"type": "object"
|