@almadar/std 16.150.0 → 16.151.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 +18 -0
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +29 -10
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +13 -1
- package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +8 -10
- package/behaviors/lolo/ui/core/atoms/std-stats.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +4 -2
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +15 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +57 -0
- package/behaviors/lolo/ui/core/molecules/ui-simple-grid.lolo +2 -2
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +3 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +4 -2
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +3 -1
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +3 -1
- package/behaviors/lolo/ui/learning/atoms/std-branching-logic.lolo +0 -28
- package/behaviors/registry/factory-signatures.json +2435 -782
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +60 -0
- package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
- package/behaviors/registry/ui/core/atoms/std-browse.orb +166 -35
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +25 -1
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +8 -10
- package/behaviors/registry/ui/core/atoms/std-stats.orb +27 -0
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +17 -1
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +39 -2
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +50 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +296 -0
- package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +0 -2
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +34 -1
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +49 -2
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +2 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -1
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +33 -1
- package/behaviors/registry/ui/learning/atoms/std-branching-logic.orb +0 -34
- package/dist/behaviors/behaviors-embeddings.json +185 -185
- package/dist/behaviors/behaviors-registry.json +3 -2
- package/dist/behaviors/exports-reader.js +143 -4
- package/dist/behaviors/functions/index.d.ts +19 -18
- package/dist/behaviors/functions/index.js +143 -4
- package/dist/behaviors/index.js +143 -4
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/query.js +143 -4
- package/dist/behaviors/registry/factory-signatures.json +2435 -782
- package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +60 -0
- package/dist/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +166 -35
- package/dist/behaviors/registry/ui/core/atoms/std-calendar.orb +25 -1
- package/dist/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +8 -10
- package/dist/behaviors/registry/ui/core/atoms/std-stats.orb +27 -0
- package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +17 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +39 -2
- package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +50 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +296 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +0 -2
- package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +34 -1
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +49 -2
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-list.orb +2 -0
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -1
- package/dist/behaviors/registry/ui/core/organisms/ui-timeline.orb +33 -1
- package/dist/behaviors/registry/ui/learning/atoms/std-branching-logic.orb +0 -34
- package/dist/behaviors-embeddings.json +185 -185
- package/dist/behaviors-registry.json +3 -2
- package/dist/index.js +143 -4
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +2435 -782
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$generated": "2026-07-
|
|
2
|
+
"$generated": "2026-07-28T14:16:33.348Z",
|
|
3
3
|
"$source": "tools/almadar-pattern-sync/behaviors",
|
|
4
4
|
"$package": "@almadar/std",
|
|
5
5
|
"totalBehaviors": 510,
|
|
@@ -47379,7 +47379,7 @@
|
|
|
47379
47379
|
"statePattern": "idle",
|
|
47380
47380
|
"complexity": {
|
|
47381
47381
|
"states": 1,
|
|
47382
|
-
"events":
|
|
47382
|
+
"events": 5,
|
|
47383
47383
|
"transitions": 1
|
|
47384
47384
|
},
|
|
47385
47385
|
"defaultEntity": {
|
|
@@ -47649,6 +47649,7 @@
|
|
|
47649
47649
|
],
|
|
47650
47650
|
"connectableEvents": [
|
|
47651
47651
|
"@config.onNodeClick",
|
|
47652
|
+
"@config.onMarkClick",
|
|
47652
47653
|
"@config.onNodeDoubleClick",
|
|
47653
47654
|
"@config.onBadgeClick"
|
|
47654
47655
|
],
|
|
@@ -92814,11 +92814,58 @@ function stdUiEntityCardsEntityCardsOrbital(params = {}) {
|
|
|
92814
92814
|
"variant": "ghost"
|
|
92815
92815
|
}
|
|
92816
92816
|
],
|
|
92817
|
+
"description": "Actions for each card item (schema-driven)",
|
|
92818
|
+
"items": {
|
|
92819
|
+
"properties": {
|
|
92820
|
+
"action": {
|
|
92821
|
+
"name": "action",
|
|
92822
|
+
"required": false,
|
|
92823
|
+
"type": "string"
|
|
92824
|
+
},
|
|
92825
|
+
"event": {
|
|
92826
|
+
"name": "event",
|
|
92827
|
+
"required": false,
|
|
92828
|
+
"type": "string"
|
|
92829
|
+
},
|
|
92830
|
+
"label": {
|
|
92831
|
+
"name": "label",
|
|
92832
|
+
"required": true,
|
|
92833
|
+
"type": "string"
|
|
92834
|
+
},
|
|
92835
|
+
"navigatesTo": {
|
|
92836
|
+
"name": "navigatesTo",
|
|
92837
|
+
"required": false,
|
|
92838
|
+
"type": "string"
|
|
92839
|
+
},
|
|
92840
|
+
"placement": {
|
|
92841
|
+
"name": "placement",
|
|
92842
|
+
"required": false,
|
|
92843
|
+
"type": "string",
|
|
92844
|
+
"values": [
|
|
92845
|
+
"card",
|
|
92846
|
+
"footer",
|
|
92847
|
+
"row"
|
|
92848
|
+
]
|
|
92849
|
+
},
|
|
92850
|
+
"variant": {
|
|
92851
|
+
"name": "variant",
|
|
92852
|
+
"required": false,
|
|
92853
|
+
"type": "string",
|
|
92854
|
+
"values": [
|
|
92855
|
+
"primary",
|
|
92856
|
+
"secondary",
|
|
92857
|
+
"ghost",
|
|
92858
|
+
"danger"
|
|
92859
|
+
]
|
|
92860
|
+
}
|
|
92861
|
+
},
|
|
92862
|
+
"type": "object"
|
|
92863
|
+
},
|
|
92864
|
+
"label": "Item Actions",
|
|
92817
92865
|
"tier": "presentation",
|
|
92818
|
-
"type": "
|
|
92866
|
+
"type": "[EntityCardsItemActionsItem]"
|
|
92819
92867
|
},
|
|
92820
92868
|
"maxCols": {
|
|
92821
|
-
"default": 1,
|
|
92822
92869
|
"description": "Maximum number of columns",
|
|
92823
92870
|
"label": "Max Cols",
|
|
92824
92871
|
"tier": "presentation",
|
|
@@ -93297,6 +93344,8 @@ function stdUiEntityListEntityListOrbital(params = {}) {
|
|
|
93297
93344
|
"variant": "ghost"
|
|
93298
93345
|
}
|
|
93299
93346
|
],
|
|
93347
|
+
"description": "Item actions - schema-driven or function-based",
|
|
93348
|
+
"label": "Item Actions",
|
|
93300
93349
|
"tier": "presentation",
|
|
93301
93350
|
"type": "json"
|
|
93302
93351
|
},
|
|
@@ -93670,6 +93719,11 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
93670
93719
|
"description": "Bulk actions",
|
|
93671
93720
|
"items": {
|
|
93672
93721
|
"properties": {
|
|
93722
|
+
"event": {
|
|
93723
|
+
"name": "event",
|
|
93724
|
+
"required": false,
|
|
93725
|
+
"type": "string"
|
|
93726
|
+
},
|
|
93673
93727
|
"icon": {
|
|
93674
93728
|
"name": "icon",
|
|
93675
93729
|
"required": false,
|
|
@@ -93888,8 +93942,61 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
93888
93942
|
"variant": "ghost"
|
|
93889
93943
|
}
|
|
93890
93944
|
],
|
|
93945
|
+
"description": "Item actions from generated code - maps to rowActions",
|
|
93946
|
+
"items": {
|
|
93947
|
+
"properties": {
|
|
93948
|
+
"action": {
|
|
93949
|
+
"name": "action",
|
|
93950
|
+
"required": false,
|
|
93951
|
+
"type": "string"
|
|
93952
|
+
},
|
|
93953
|
+
"event": {
|
|
93954
|
+
"name": "event",
|
|
93955
|
+
"required": false,
|
|
93956
|
+
"type": "string"
|
|
93957
|
+
},
|
|
93958
|
+
"icon": {
|
|
93959
|
+
"name": "icon",
|
|
93960
|
+
"required": false,
|
|
93961
|
+
"type": "string"
|
|
93962
|
+
},
|
|
93963
|
+
"label": {
|
|
93964
|
+
"name": "label",
|
|
93965
|
+
"required": true,
|
|
93966
|
+
"type": "string"
|
|
93967
|
+
},
|
|
93968
|
+
"navigatesTo": {
|
|
93969
|
+
"name": "navigatesTo",
|
|
93970
|
+
"required": false,
|
|
93971
|
+
"type": "string"
|
|
93972
|
+
},
|
|
93973
|
+
"placement": {
|
|
93974
|
+
"name": "placement",
|
|
93975
|
+
"required": false,
|
|
93976
|
+
"type": "string",
|
|
93977
|
+
"values": [
|
|
93978
|
+
"row",
|
|
93979
|
+
"bulk"
|
|
93980
|
+
]
|
|
93981
|
+
},
|
|
93982
|
+
"variant": {
|
|
93983
|
+
"name": "variant",
|
|
93984
|
+
"required": false,
|
|
93985
|
+
"type": "string",
|
|
93986
|
+
"values": [
|
|
93987
|
+
"default",
|
|
93988
|
+
"primary",
|
|
93989
|
+
"secondary",
|
|
93990
|
+
"ghost",
|
|
93991
|
+
"danger"
|
|
93992
|
+
]
|
|
93993
|
+
}
|
|
93994
|
+
},
|
|
93995
|
+
"type": "object"
|
|
93996
|
+
},
|
|
93997
|
+
"label": "Item Actions",
|
|
93891
93998
|
"tier": "presentation",
|
|
93892
|
-
"type": "
|
|
93999
|
+
"type": "[EntityTableItemActionsItem]"
|
|
93893
94000
|
},
|
|
93894
94001
|
"look": {
|
|
93895
94002
|
"default": "dense",
|
|
@@ -256350,8 +256457,40 @@ function stdUiTimelineTimelineOrbital(params = {}) {
|
|
|
256350
256457
|
},
|
|
256351
256458
|
"itemActions": {
|
|
256352
256459
|
"default": [],
|
|
256460
|
+
"description": "Actions per item",
|
|
256461
|
+
"items": {
|
|
256462
|
+
"properties": {
|
|
256463
|
+
"event": {
|
|
256464
|
+
"name": "event",
|
|
256465
|
+
"required": false,
|
|
256466
|
+
"type": "string"
|
|
256467
|
+
},
|
|
256468
|
+
"label": {
|
|
256469
|
+
"name": "label",
|
|
256470
|
+
"required": true,
|
|
256471
|
+
"type": "string"
|
|
256472
|
+
},
|
|
256473
|
+
"navigatesTo": {
|
|
256474
|
+
"name": "navigatesTo",
|
|
256475
|
+
"required": false,
|
|
256476
|
+
"type": "string"
|
|
256477
|
+
},
|
|
256478
|
+
"variant": {
|
|
256479
|
+
"name": "variant",
|
|
256480
|
+
"required": false,
|
|
256481
|
+
"type": "string",
|
|
256482
|
+
"values": [
|
|
256483
|
+
"primary",
|
|
256484
|
+
"secondary",
|
|
256485
|
+
"ghost"
|
|
256486
|
+
]
|
|
256487
|
+
}
|
|
256488
|
+
},
|
|
256489
|
+
"type": "object"
|
|
256490
|
+
},
|
|
256491
|
+
"label": "Item Actions",
|
|
256353
256492
|
"tier": "presentation",
|
|
256354
|
-
"type": "
|
|
256493
|
+
"type": "[TimelineItemActionsItem]"
|
|
256355
256494
|
},
|
|
256356
256495
|
"items": {
|
|
256357
256496
|
"default": [],
|
|
@@ -3254,7 +3254,7 @@ interface StdBoardConfig {
|
|
|
3254
3254
|
gridCols?: number;
|
|
3255
3255
|
/** Default: `"stage"` */
|
|
3256
3256
|
groupByField?: string;
|
|
3257
|
-
/** Default: `{"children":[{"align":"center","children":[{"name":"kanban-square","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"className":"px-card-md","direction":"horizontal","gap":"sm","type":"stack"},{"type":"divider"},{"className":"w-full pb-2","dndRoot":true,"entity":"@entity.boards","fields":[],"gap":"lg","minCardWidth":300,"renderItem":["fn","col",{"children":[{"children":[{"align":"center","children":[{"name":"@col.icon","type":"icon"},{"className":"flex-1","content":"@col.label","type":"typography","variant":"h4"},{"label":"@col.count","size":"sm","type":"badge","variant":"primary"}],"className":"p-card-md border-b border-[var(--color-border)] sticky top-0 bg-[var(--color-surface)]","direction":"horizontal","gap":"sm","type":"stack"},{"accepts":"*","className":"p-card-md min-h-[120px]","dragGroup":"@col.key","dropEvent":"MOVE_CARD","entity":"@col.items","fields":[],"gap":"sm","positionEvent":"REORDER_POSITION","renderItem":["fn","item",{"children":[{"children":[{"content":"@config.cardTitleBinding","type":"typography","variant":"body","weight":"medium"},{"className":"line-clamp-2","color":"muted","content":"@config.cardDescriptionBinding","type":"typography","variant":"caption"},{"align":"center","children":[{"label":"@config.cardStageBinding","size":"sm","type":"badge","variant":"
|
|
3257
|
+
/** Default: `{"children":[{"align":"center","children":[{"name":"kanban-square","type":"icon"},{"content":"@config.title","type":"typography","variant":"h2"}],"className":"px-card-md","direction":"horizontal","gap":"sm","type":"stack"},{"type":"divider"},{"className":"w-full pb-2","dndRoot":true,"entity":"@entity.boards","fields":[],"gap":"lg","minCardWidth":300,"renderItem":["fn","col",{"children":[{"children":[{"align":"center","children":[{"name":"@col.icon","type":"icon"},{"className":"flex-1","content":"@col.label","type":"typography","variant":"h4"},{"label":"@col.count","size":"sm","type":"badge","variant":"primary"}],"className":"p-card-md border-b border-[var(--color-border)] sticky top-0 bg-[var(--color-surface)]","direction":"horizontal","gap":"sm","type":"stack"},{"accepts":"*","className":"p-card-md min-h-[120px]","dragGroup":"@col.key","dropEvent":"MOVE_CARD","entity":"@col.items","fields":[],"gap":"sm","positionEvent":"REORDER_POSITION","renderItem":["fn","item",{"children":[{"children":[{"content":"@config.cardTitleBinding","type":"typography","variant":"body","weight":"medium"},{"className":"line-clamp-2","color":"muted","content":"@config.cardDescriptionBinding","type":"typography","variant":"caption"},{"align":"center","children":[{"label":"@config.cardStageBinding","size":"sm","type":"badge","variant":"@col.variant"},{"action":"OPEN_CARD","actionPayload":{"description":"@config.cardDescriptionBinding","id":"@config.cardIdBinding","row":"@item","stage":"@config.cardStageBinding","title":"@config.cardTitleBinding"},"className":"ml-auto","icon":"arrow-right","label":"Open","size":"sm","type":"button","variant":"ghost"}],"className":"pt-1","direction":"horizontal","gap":"xs","type":"stack"}],"direction":"vertical","gap":"xs","type":"stack"}],"className":"cursor-grab hover:shadow-lg transition-shadow","look":"@config.cardLook","padding":"sm","type":"card"}],"reorderEvent":"REORDER_CARD","sortable":true,"type":"data-list"}],"direction":"vertical","gap":"none","type":"stack"}],"className":"w-[300px] bg-[var(--color-surface-subtle)] rounded-lg overflow-hidden","look":"elevated","padding":"none","type":"card"}],"scrollX":true,"type":"data-grid"},{"action":"ADD_CARD","icon":"plus","label":"Add card","type":"floating-action-button","variant":"primary"}],"className":"h-full","direction":"vertical","gap":"md","type":"stack"}` */
|
|
3258
3258
|
kanbanClassicBodyContent?: unknown;
|
|
3259
3259
|
/** Default: `"Board"` */
|
|
3260
3260
|
title?: string;
|
|
@@ -3660,7 +3660,11 @@ interface StdCalendarPayload {
|
|
|
3660
3660
|
* without modifying its state-machine topology.
|
|
3661
3661
|
*/
|
|
3662
3662
|
interface StdCalendarConfig {
|
|
3663
|
-
/** Default: `
|
|
3663
|
+
/** Default: `"date"` */
|
|
3664
|
+
agendaGroupBy?: string;
|
|
3665
|
+
/** Default: `[{"event":"SELECT_DAY","icon":"eye","label":"View"}]` */
|
|
3666
|
+
agendaItemActions?: unknown;
|
|
3667
|
+
/** Default: `{"children":[{"align":"center","children":[{"align":"center","children":[{"name":"list","type":"icon"},{"content":"Agenda","type":"typography","variant":"h2"}],"direction":"horizontal","gap":"sm","type":"stack"},{"onSelect":"SELECT_DAY","selected":"@entity.selectedRange","type":"date-range-selector"}],"direction":"horizontal","gap":"md","justify":"between","type":"stack"},{"type":"divider"},{"entity":"@payload.data","fields":[],"gap":"md","groupBy":"@config.agendaGroupBy","itemActions":"@config.agendaItemActions","renderItem":["fn","item",{"children":[{"align":"start","children":[{"align":"center","children":[{"color":"muted","content":"@config.timeBinding","format":"time","type":"typography","variant":"overline"},{"color":"muted","name":"clock","size":"sm","type":"icon"}],"className":"w-16 shrink-0","direction":"vertical","gap":"xs","type":"stack"},{"orientation":"vertical","type":"divider"},{"children":[{"align":"center","children":[{"className":"truncate","content":"@config.titleBinding","type":"typography","variant":"h4","weight":"medium"},{"label":"@config.badgeBinding","size":"sm","type":"badge","variant":"default"}],"direction":"horizontal","gap":"sm","justify":"between","type":"stack"},{"className":"truncate","color":"muted","content":"@config.descriptionBinding","type":"typography","variant":"body2"}],"className":"flex-1 min-w-0","direction":"vertical","gap":"xs","type":"stack"}],"direction":"horizontal","gap":"md","type":"stack"}],"look":"flat-bordered","padding":"md","type":"card"}],"type":"data-list","variant":"default"}],"className":"w-full p-card-md","direction":"vertical","gap":"lg","type":"stack"}` */
|
|
3664
3668
|
agendaListBodyContent?: unknown;
|
|
3665
3669
|
/** Default: `"@item.status"` */
|
|
3666
3670
|
badgeBinding?: string;
|
|
@@ -9342,7 +9346,7 @@ interface StdMultiPartyFlowConfig {
|
|
|
9342
9346
|
disputeIcon?: string;
|
|
9343
9347
|
/** Default: `"Open dispute"` */
|
|
9344
9348
|
disputeLabel?: string;
|
|
9345
|
-
/** Default: `[{"actionDescription":"Authorize
|
|
9349
|
+
/** Default: `[{"actionDescription":"Authorize the funds to be held in escrow until delivery is confirmed.","actionIcon":"credit-card","actionLabel":"Confirm payment","description":"Funds the transaction and confirms receipt.","icon":"user","id":"buyer","stepLabel":"Step 1 of 2","title":"Buyer"},{"actionDescription":"Mark the item as shipped. Funds release after the buyer confirms receipt.","actionIcon":"package","actionLabel":"Confirm shipment","description":"Ships the item and uploads delivery proof.","icon":"user-check","id":"seller","stepLabel":"Step 2 of 2","title":"Seller"}]` */
|
|
9346
9350
|
parties?: EntityRow[];
|
|
9347
9351
|
/** Default: `["reason"]` */
|
|
9348
9352
|
reasonFields?: string[];
|
|
@@ -9354,11 +9358,11 @@ interface StdMultiPartyFlowConfig {
|
|
|
9354
9358
|
timelineLook?: 'vertical-compact' | 'vertical-spacious' | 'horizontal' | 'swimlane';
|
|
9355
9359
|
/** Default: `"Escrow transaction"` */
|
|
9356
9360
|
title?: string;
|
|
9357
|
-
/** Default: `"$
|
|
9361
|
+
/** Default: `"$0.00"` */
|
|
9358
9362
|
transactionAmount?: string;
|
|
9359
|
-
/** Default: `"
|
|
9363
|
+
/** Default: `""` */
|
|
9360
9364
|
transactionReference?: string;
|
|
9361
|
-
/** Default: `"Sale of
|
|
9365
|
+
/** Default: `"Sale of item"` */
|
|
9362
9366
|
transactionSubject?: string;
|
|
9363
9367
|
}
|
|
9364
9368
|
/**
|
|
@@ -12785,7 +12789,7 @@ interface StdStatsConfig {
|
|
|
12785
12789
|
heroMetricBodyContent?: unknown;
|
|
12786
12790
|
/** Default: `{"children":[{"className":"w-full","entity":"@entity.cards","fields":[],"gap":"lg","minCardWidth":220,"renderItem":["fn","card",{"children":[{"align":"center","children":[{"className":"uppercase tracking-wide","color":"muted","content":"@card.label","type":"typography","variant":"caption","weight":"medium"},{"color":"muted","name":"@card.icon","size":"sm","type":"icon"}],"direction":"horizontal","gap":"xs","justify":"between","type":"stack"},{"align":"baseline","children":[{"color":"muted","content":"@card.prefix","type":"typography","variant":"caption"},{"className":"text-4xl font-bold tracking-tight","format":"@card.format","type":"animated-counter","value":"@card.value"},{"color":"muted","content":"@card.suffix","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"xs","type":"stack"},{"align":"center","children":[{"showValue":true,"size":"sm","type":"trend-indicator","value":"@card.trend"},{"className":"flex-1","color":"auto","data":"@card.sparklineData","fill":true,"height":24,"type":"sparkline"}],"direction":"horizontal","gap":"sm","type":"stack"}],"className":"rounded-lg border border-[var(--color-border)] bg-[var(--color-surface)] p-card-lg shadow-elevation-sm hover:shadow-elevation-md transition-shadow","direction":"vertical","gap":"sm","type":"stack"}],"type":"data-grid"}],"data-theme":"@config.theme","type":"box"}` */
|
|
12787
12791
|
kpiTilesBodyContent?: unknown;
|
|
12788
|
-
/** Default: `[{"aggregation":"count","format":"number","icon":"list","label":"Total Items","variant":"primary"},{"aggregation":"count","format":"number","icon":"check-circle","label":"Active","variant":"success"},{"aggregation":"avg","field":"value","format":"number","icon":"trending-up","label":"Avg Value","variant":"info"}]` */
|
|
12792
|
+
/** Default: `[{"aggregation":"count","format":"number","icon":"list","label":"Total Items","sparklineData":[2,4,3,6,5,8,7],"variant":"primary"},{"aggregation":"count","format":"number","icon":"check-circle","label":"Active","sparklineData":[1,3,2,4,6,5,7],"variant":"success"},{"aggregation":"avg","field":"value","format":"number","icon":"trending-up","label":"Avg Value","sparklineData":[5,4,6,3,5,7,6],"variant":"info"}]` */
|
|
12789
12793
|
metrics?: EntityRow[];
|
|
12790
12794
|
/** Default: `{"children":[{"className":"w-full","entity":"@entity.cards","fields":[],"gap":"md","minCardWidth":260,"renderItem":["fn","card",{"children":[{"align":"center","children":[{"color":"muted","name":"@card.icon","size":"xs","type":"icon"},{"className":"uppercase tracking-wide truncate","color":"muted","content":"@card.label","type":"typography","variant":"overline","weight":"semibold"}],"direction":"horizontal","gap":"xs","type":"stack"},{"className":"w-full","color":"auto","data":"@card.sparklineData","fill":true,"height":64,"strokeWidth":2,"type":"sparkline"},{"align":"baseline","children":[{"align":"baseline","children":[{"color":"muted","content":"@card.prefix","type":"typography","variant":"caption"},{"className":"tabular-nums","content":"@card.value","type":"typography","variant":"h3","weight":"semibold"},{"color":"muted","content":"@card.suffix","type":"typography","variant":"caption"}],"direction":"horizontal","gap":"xs","type":"stack"},{"showValue":true,"size":"sm","type":"trend-indicator","value":"@card.trend"}],"direction":"horizontal","gap":"sm","justify":"between","type":"stack"}],"className":"rounded-lg border border-[var(--color-border)] bg-[var(--color-card)] p-card-md shadow-elevation-sm hover:shadow-elevation-md transition-shadow min-h-[180px]","direction":"vertical","gap":"sm","type":"stack"}],"type":"data-grid"}],"data-theme":"@config.theme","type":"box"}` */
|
|
12791
12795
|
sparklineRowBodyContent?: unknown;
|
|
@@ -20155,7 +20159,8 @@ interface StdUiTypographyConfig {
|
|
|
20155
20159
|
/** Default: `"primary"` */
|
|
20156
20160
|
color?: 'primary' | 'secondary' | 'muted' | 'error' | 'success' | 'warning' | 'inherit';
|
|
20157
20161
|
content?: unknown;
|
|
20158
|
-
/** Default: `
|
|
20162
|
+
/** Default: `"none"` */
|
|
20163
|
+
format?: 'none' | 'date' | 'time' | 'datetime' | 'number' | 'currency' | 'percent';
|
|
20159
20164
|
level?: number;
|
|
20160
20165
|
/** Default: `"visible"` */
|
|
20161
20166
|
overflow?: 'visible' | 'hidden' | 'wrap' | 'clamp-2' | 'clamp-3';
|
|
@@ -24027,7 +24032,6 @@ interface StdUiDataGridDataGridLoadedPayload {
|
|
|
24027
24032
|
interface StdUiDataGridConfig {
|
|
24028
24033
|
accepts?: string;
|
|
24029
24034
|
className?: string;
|
|
24030
|
-
/** Default: `1` */
|
|
24031
24035
|
cols?: number;
|
|
24032
24036
|
/** Default: `[]` */
|
|
24033
24037
|
columns?: EntityRow[];
|
|
@@ -24046,7 +24050,7 @@ interface StdUiDataGridConfig {
|
|
|
24046
24050
|
/** Default: `false` */
|
|
24047
24051
|
isLoading?: boolean;
|
|
24048
24052
|
/** Default: `[]` */
|
|
24049
|
-
itemActions?:
|
|
24053
|
+
itemActions?: EntityRow[];
|
|
24050
24054
|
/** Default: `"LOAD_MORE"` */
|
|
24051
24055
|
loadMoreEvent?: string;
|
|
24052
24056
|
/** Default: `"dense"` */
|
|
@@ -24199,7 +24203,7 @@ interface StdUiDataListConfig {
|
|
|
24199
24203
|
/** Default: `false` */
|
|
24200
24204
|
isLoading?: boolean;
|
|
24201
24205
|
/** Default: `[]` */
|
|
24202
|
-
itemActions?:
|
|
24206
|
+
itemActions?: EntityRow[];
|
|
24203
24207
|
/** Default: `"ITEM_CLICK"` */
|
|
24204
24208
|
itemClickEvent?: string;
|
|
24205
24209
|
/** Default: `"LOAD_MORE"` */
|
|
@@ -31703,11 +31707,9 @@ type StdUiSimpleGridEventKey = 'INIT';
|
|
|
31703
31707
|
interface StdUiSimpleGridConfig {
|
|
31704
31708
|
children?: unknown;
|
|
31705
31709
|
className?: string;
|
|
31706
|
-
/** Default: `1` */
|
|
31707
31710
|
cols?: number;
|
|
31708
31711
|
/** Default: `"md"` */
|
|
31709
31712
|
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
31710
|
-
/** Default: `1` */
|
|
31711
31713
|
maxCols?: number;
|
|
31712
31714
|
minChildWidth?: string;
|
|
31713
31715
|
}
|
|
@@ -32874,7 +32876,7 @@ interface StdUiTableViewConfig {
|
|
|
32874
32876
|
/** Default: `false` */
|
|
32875
32877
|
isLoading?: boolean;
|
|
32876
32878
|
/** Default: `[]` */
|
|
32877
|
-
itemActions?:
|
|
32879
|
+
itemActions?: EntityRow[];
|
|
32878
32880
|
/** Default: `"dense"` */
|
|
32879
32881
|
look?: 'dense' | 'spacious' | 'striped' | 'borderless' | 'bordered';
|
|
32880
32882
|
maxInlineActions?: number;
|
|
@@ -41756,8 +41758,7 @@ interface StdUiEntityCardsConfig {
|
|
|
41756
41758
|
/** Default: `false` */
|
|
41757
41759
|
isLoading?: boolean;
|
|
41758
41760
|
/** Default: `[{"event":"VIEW","label":"View","variant":"ghost"}]` */
|
|
41759
|
-
itemActions?:
|
|
41760
|
-
/** Default: `1` */
|
|
41761
|
+
itemActions?: EntityRow[];
|
|
41761
41762
|
maxCols?: number;
|
|
41762
41763
|
/** Default: `280` */
|
|
41763
41764
|
minCardWidth?: number;
|
|
@@ -42063,7 +42064,7 @@ interface StdUiEntityTableConfig {
|
|
|
42063
42064
|
/** Default: `false` */
|
|
42064
42065
|
isLoading?: boolean;
|
|
42065
42066
|
/** Default: `[{"event":"VIEW","label":"View","variant":"ghost"}]` */
|
|
42066
|
-
itemActions?:
|
|
42067
|
+
itemActions?: EntityRow[];
|
|
42067
42068
|
/** Default: `"dense"` */
|
|
42068
42069
|
look?: 'dense' | 'spacious' | 'striped' | 'borderless' | 'card-rows';
|
|
42069
42070
|
pageProp?: number;
|
|
@@ -50131,7 +50132,7 @@ interface StdUiTimelineConfig {
|
|
|
50131
50132
|
/** Default: `false` */
|
|
50132
50133
|
isLoading?: boolean;
|
|
50133
50134
|
/** Default: `[]` */
|
|
50134
|
-
itemActions?:
|
|
50135
|
+
itemActions?: EntityRow[];
|
|
50135
50136
|
/** Default: `[]` */
|
|
50136
50137
|
items?: EntityRow[];
|
|
50137
50138
|
/** Default: `"vertical-spacious"` */
|
|
@@ -90877,11 +90877,58 @@ function stdUiEntityCardsEntityCardsOrbital(params = {}) {
|
|
|
90877
90877
|
"variant": "ghost"
|
|
90878
90878
|
}
|
|
90879
90879
|
],
|
|
90880
|
+
"description": "Actions for each card item (schema-driven)",
|
|
90881
|
+
"items": {
|
|
90882
|
+
"properties": {
|
|
90883
|
+
"action": {
|
|
90884
|
+
"name": "action",
|
|
90885
|
+
"required": false,
|
|
90886
|
+
"type": "string"
|
|
90887
|
+
},
|
|
90888
|
+
"event": {
|
|
90889
|
+
"name": "event",
|
|
90890
|
+
"required": false,
|
|
90891
|
+
"type": "string"
|
|
90892
|
+
},
|
|
90893
|
+
"label": {
|
|
90894
|
+
"name": "label",
|
|
90895
|
+
"required": true,
|
|
90896
|
+
"type": "string"
|
|
90897
|
+
},
|
|
90898
|
+
"navigatesTo": {
|
|
90899
|
+
"name": "navigatesTo",
|
|
90900
|
+
"required": false,
|
|
90901
|
+
"type": "string"
|
|
90902
|
+
},
|
|
90903
|
+
"placement": {
|
|
90904
|
+
"name": "placement",
|
|
90905
|
+
"required": false,
|
|
90906
|
+
"type": "string",
|
|
90907
|
+
"values": [
|
|
90908
|
+
"card",
|
|
90909
|
+
"footer",
|
|
90910
|
+
"row"
|
|
90911
|
+
]
|
|
90912
|
+
},
|
|
90913
|
+
"variant": {
|
|
90914
|
+
"name": "variant",
|
|
90915
|
+
"required": false,
|
|
90916
|
+
"type": "string",
|
|
90917
|
+
"values": [
|
|
90918
|
+
"primary",
|
|
90919
|
+
"secondary",
|
|
90920
|
+
"ghost",
|
|
90921
|
+
"danger"
|
|
90922
|
+
]
|
|
90923
|
+
}
|
|
90924
|
+
},
|
|
90925
|
+
"type": "object"
|
|
90926
|
+
},
|
|
90927
|
+
"label": "Item Actions",
|
|
90880
90928
|
"tier": "presentation",
|
|
90881
|
-
"type": "
|
|
90929
|
+
"type": "[EntityCardsItemActionsItem]"
|
|
90882
90930
|
},
|
|
90883
90931
|
"maxCols": {
|
|
90884
|
-
"default": 1,
|
|
90885
90932
|
"description": "Maximum number of columns",
|
|
90886
90933
|
"label": "Max Cols",
|
|
90887
90934
|
"tier": "presentation",
|
|
@@ -91360,6 +91407,8 @@ function stdUiEntityListEntityListOrbital(params = {}) {
|
|
|
91360
91407
|
"variant": "ghost"
|
|
91361
91408
|
}
|
|
91362
91409
|
],
|
|
91410
|
+
"description": "Item actions - schema-driven or function-based",
|
|
91411
|
+
"label": "Item Actions",
|
|
91363
91412
|
"tier": "presentation",
|
|
91364
91413
|
"type": "json"
|
|
91365
91414
|
},
|
|
@@ -91733,6 +91782,11 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
91733
91782
|
"description": "Bulk actions",
|
|
91734
91783
|
"items": {
|
|
91735
91784
|
"properties": {
|
|
91785
|
+
"event": {
|
|
91786
|
+
"name": "event",
|
|
91787
|
+
"required": false,
|
|
91788
|
+
"type": "string"
|
|
91789
|
+
},
|
|
91736
91790
|
"icon": {
|
|
91737
91791
|
"name": "icon",
|
|
91738
91792
|
"required": false,
|
|
@@ -91951,8 +92005,61 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
91951
92005
|
"variant": "ghost"
|
|
91952
92006
|
}
|
|
91953
92007
|
],
|
|
92008
|
+
"description": "Item actions from generated code - maps to rowActions",
|
|
92009
|
+
"items": {
|
|
92010
|
+
"properties": {
|
|
92011
|
+
"action": {
|
|
92012
|
+
"name": "action",
|
|
92013
|
+
"required": false,
|
|
92014
|
+
"type": "string"
|
|
92015
|
+
},
|
|
92016
|
+
"event": {
|
|
92017
|
+
"name": "event",
|
|
92018
|
+
"required": false,
|
|
92019
|
+
"type": "string"
|
|
92020
|
+
},
|
|
92021
|
+
"icon": {
|
|
92022
|
+
"name": "icon",
|
|
92023
|
+
"required": false,
|
|
92024
|
+
"type": "string"
|
|
92025
|
+
},
|
|
92026
|
+
"label": {
|
|
92027
|
+
"name": "label",
|
|
92028
|
+
"required": true,
|
|
92029
|
+
"type": "string"
|
|
92030
|
+
},
|
|
92031
|
+
"navigatesTo": {
|
|
92032
|
+
"name": "navigatesTo",
|
|
92033
|
+
"required": false,
|
|
92034
|
+
"type": "string"
|
|
92035
|
+
},
|
|
92036
|
+
"placement": {
|
|
92037
|
+
"name": "placement",
|
|
92038
|
+
"required": false,
|
|
92039
|
+
"type": "string",
|
|
92040
|
+
"values": [
|
|
92041
|
+
"row",
|
|
92042
|
+
"bulk"
|
|
92043
|
+
]
|
|
92044
|
+
},
|
|
92045
|
+
"variant": {
|
|
92046
|
+
"name": "variant",
|
|
92047
|
+
"required": false,
|
|
92048
|
+
"type": "string",
|
|
92049
|
+
"values": [
|
|
92050
|
+
"default",
|
|
92051
|
+
"primary",
|
|
92052
|
+
"secondary",
|
|
92053
|
+
"ghost",
|
|
92054
|
+
"danger"
|
|
92055
|
+
]
|
|
92056
|
+
}
|
|
92057
|
+
},
|
|
92058
|
+
"type": "object"
|
|
92059
|
+
},
|
|
92060
|
+
"label": "Item Actions",
|
|
91954
92061
|
"tier": "presentation",
|
|
91955
|
-
"type": "
|
|
92062
|
+
"type": "[EntityTableItemActionsItem]"
|
|
91956
92063
|
},
|
|
91957
92064
|
"look": {
|
|
91958
92065
|
"default": "dense",
|
|
@@ -254413,8 +254520,40 @@ function stdUiTimelineTimelineOrbital(params = {}) {
|
|
|
254413
254520
|
},
|
|
254414
254521
|
"itemActions": {
|
|
254415
254522
|
"default": [],
|
|
254523
|
+
"description": "Actions per item",
|
|
254524
|
+
"items": {
|
|
254525
|
+
"properties": {
|
|
254526
|
+
"event": {
|
|
254527
|
+
"name": "event",
|
|
254528
|
+
"required": false,
|
|
254529
|
+
"type": "string"
|
|
254530
|
+
},
|
|
254531
|
+
"label": {
|
|
254532
|
+
"name": "label",
|
|
254533
|
+
"required": true,
|
|
254534
|
+
"type": "string"
|
|
254535
|
+
},
|
|
254536
|
+
"navigatesTo": {
|
|
254537
|
+
"name": "navigatesTo",
|
|
254538
|
+
"required": false,
|
|
254539
|
+
"type": "string"
|
|
254540
|
+
},
|
|
254541
|
+
"variant": {
|
|
254542
|
+
"name": "variant",
|
|
254543
|
+
"required": false,
|
|
254544
|
+
"type": "string",
|
|
254545
|
+
"values": [
|
|
254546
|
+
"primary",
|
|
254547
|
+
"secondary",
|
|
254548
|
+
"ghost"
|
|
254549
|
+
]
|
|
254550
|
+
}
|
|
254551
|
+
},
|
|
254552
|
+
"type": "object"
|
|
254553
|
+
},
|
|
254554
|
+
"label": "Item Actions",
|
|
254416
254555
|
"tier": "presentation",
|
|
254417
|
-
"type": "
|
|
254556
|
+
"type": "[TimelineItemActionsItem]"
|
|
254418
254557
|
},
|
|
254419
254558
|
"items": {
|
|
254420
254559
|
"default": [],
|