@almadar/std 16.236.0 → 16.237.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 (115) hide show
  1. package/behaviors/behaviors-registry.json +1389 -265
  2. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +7 -0
  3. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +2 -2
  4. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +5 -0
  5. package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +5 -0
  6. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +32 -5
  7. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +32 -0
  8. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +8 -1
  9. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
  10. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +2 -2
  11. package/behaviors/lolo/ui/core/atoms/std-list.lolo +7 -0
  12. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
  13. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +13 -1
  14. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +4 -0
  15. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +6 -0
  16. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +7 -0
  17. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +7 -1
  18. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +36 -0
  19. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
  20. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
  21. package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
  22. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +4 -4
  23. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +19 -2
  24. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +6 -0
  25. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
  26. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +1 -0
  27. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  28. package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
  29. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +9 -1
  30. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
  31. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
  32. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +1 -0
  33. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +16 -2
  34. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +21 -4
  35. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +28 -7
  36. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +37 -5
  37. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +18 -1
  38. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +2 -0
  39. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +2 -0
  40. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +14 -0
  41. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
  42. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +30 -2
  43. package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
  44. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +1 -1
  45. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +1 -1
  46. package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
  47. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
  48. package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
  49. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +1 -1
  50. package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
  51. package/behaviors/lolo-behavior-contracts.json +1 -1
  52. package/behaviors/registry/factory-signatures.json +1 -1
  53. package/behaviors/registry/infra/atoms/std-approval-gate.orb +70 -0
  54. package/behaviors/registry/infra/atoms/std-migration-job.orb +26 -1
  55. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +9 -0
  56. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +9 -0
  57. package/behaviors/registry/ui/core/atoms/std-browse.orb +204 -8
  58. package/behaviors/registry/ui/core/atoms/std-event-log.orb +44 -0
  59. package/behaviors/registry/ui/core/atoms/std-file-store.orb +12 -1
  60. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
  61. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +4 -0
  62. package/behaviors/registry/ui/core/atoms/std-list.orb +11 -0
  63. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
  64. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +71 -3
  65. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +4 -0
  66. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +54 -0
  67. package/behaviors/registry/ui/core/atoms/std-selection.orb +39 -0
  68. package/behaviors/registry/ui/core/atoms/std-version-history.orb +11 -1
  69. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +132 -0
  70. package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
  71. package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
  72. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  73. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +2 -4
  74. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +108 -2
  75. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +72 -0
  76. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
  77. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +12 -0
  78. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +0 -1
  79. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
  80. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +28 -1
  81. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
  82. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  83. package/behaviors/registry/ui/core/molecules/ui-menu.orb +17 -0
  84. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +148 -2
  85. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +133 -13
  86. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +210 -26
  87. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +166 -17
  88. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +122 -0
  89. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +28 -0
  90. package/behaviors/registry/ui/core/organisms/ui-form.orb +28 -0
  91. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +20 -0
  92. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
  93. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +38 -5
  94. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
  95. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +0 -1
  96. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +0 -1
  97. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  98. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
  99. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
  100. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
  101. package/dist/behaviors/exports-reader.js +1157 -61
  102. package/dist/behaviors/functions/index.d.ts +114 -32
  103. package/dist/behaviors/functions/index.js +1157 -61
  104. package/dist/behaviors/index.d.ts +1 -1
  105. package/dist/behaviors/index.js +1157 -61
  106. package/dist/behaviors/query.js +1157 -61
  107. package/dist/behaviors-embeddings.hash.json +3 -3
  108. package/dist/behaviors-embeddings.json +15 -15
  109. package/dist/behaviors-registry.json +1389 -265
  110. package/dist/index.d.ts +1 -1
  111. package/dist/index.js +1157 -61
  112. package/dist/knob-embeddings.hash.json +3 -3
  113. package/dist/knob-embeddings.json +165 -25
  114. package/dist/registry/factory-signatures.json +1 -1
  115. package/package.json +3 -3
@@ -229,9 +229,33 @@
229
229
  "tier": "presentation",
230
230
  "type": "string"
231
231
  },
232
+ "statusColorMap": {
233
+ "default": {
234
+ "item": "default"
235
+ },
236
+ "description": "Bar colour per exact status value; unmapped statuses are primary bars.",
237
+ "items": {
238
+ "type": "string",
239
+ "values": [
240
+ "default",
241
+ "primary",
242
+ "secondary",
243
+ "success",
244
+ "warning",
245
+ "danger",
246
+ "error",
247
+ "info",
248
+ "neutral",
249
+ "destructive"
250
+ ]
251
+ },
252
+ "label": "Status Color Map",
253
+ "tier": "presentation",
254
+ "type": "Map<string,GanttStatusColorMapValue>"
255
+ },
232
256
  "statusField": {
233
257
  "default": "status",
234
- "description": "Row field holding the bar status (drives bar colour). Defaults to `status`.",
258
+ "description": "Row field holding the bar status. Defaults to `status`.",
235
259
  "label": "Status Field",
236
260
  "tier": "presentation",
237
261
  "type": "string"
@@ -385,6 +409,7 @@
385
409
  "rangeStart": "@config.rangeStart",
386
410
  "showToday": "@config.showToday",
387
411
  "startField": "@config.startField",
412
+ "statusColorMap": "@config.statusColorMap",
388
413
  "statusField": "@config.statusField",
389
414
  "tasks": "@entity",
390
415
  "titleField": "@config.titleField",
@@ -417,6 +442,7 @@
417
442
  "rangeStart": "@config.rangeStart",
418
443
  "showToday": "@config.showToday",
419
444
  "startField": "@config.startField",
445
+ "statusColorMap": "@config.statusColorMap",
420
446
  "statusField": "@config.statusField",
421
447
  "tasks": "@entity",
422
448
  "titleField": "@config.titleField",
@@ -452,6 +478,7 @@
452
478
  "rangeStart": "@config.rangeStart",
453
479
  "showToday": "@config.showToday",
454
480
  "startField": "@config.startField",
481
+ "statusColorMap": "@config.statusColorMap",
455
482
  "statusField": "@config.statusField",
456
483
  "tasks": "@payload.data",
457
484
  "titleField": "@config.titleField",
@@ -99,7 +99,6 @@
99
99
  "category": "interaction",
100
100
  "config": {
101
101
  "cancelLabel": {
102
- "default": "Cancel",
103
102
  "description": "Cancel button label",
104
103
  "label": "Cancel Label",
105
104
  "tier": "presentation",
@@ -112,7 +111,6 @@
112
111
  "type": "string"
113
112
  },
114
113
  "confirmLabel": {
115
- "default": "Confirm import",
116
114
  "description": "Confirm button label",
117
115
  "label": "Confirm Label",
118
116
  "tier": "presentation",
@@ -269,6 +267,11 @@
269
267
  "name": "targetEntity",
270
268
  "required": true,
271
269
  "type": "string"
270
+ },
271
+ "title": {
272
+ "name": "title",
273
+ "required": false,
274
+ "type": "string"
272
275
  }
273
276
  },
274
277
  "type": "object"
@@ -430,6 +433,10 @@
430
433
  "required": true,
431
434
  "type": "string"
432
435
  },
436
+ {
437
+ "name": "title",
438
+ "type": "string"
439
+ },
433
440
  {
434
441
  "name": "fields",
435
442
  "required": true,
@@ -118,7 +118,7 @@
118
118
  },
119
119
  "options": {
120
120
  "default": [],
121
- "description": "Scale points (defaults to a 5-point agree/disagree set)",
121
+ "description": "Scale points (defaults to a translated 5-point agree/disagree set)",
122
122
  "items": {
123
123
  "properties": {
124
124
  "label": {
@@ -162,6 +162,15 @@
162
162
  "required": false,
163
163
  "type": "string"
164
164
  },
165
+ "type": {
166
+ "name": "type",
167
+ "required": false,
168
+ "type": "string",
169
+ "values": [
170
+ "item",
171
+ "divider"
172
+ ]
173
+ },
165
174
  "url": {
166
175
  "name": "url",
167
176
  "required": false,
@@ -308,6 +317,10 @@
308
317
  ],
309
318
  "types": {
310
319
  "MenuItemsItem": [
320
+ {
321
+ "name": "type",
322
+ "type": "string"
323
+ },
311
324
  {
312
325
  "name": "id",
313
326
  "type": "string"
@@ -352,6 +365,10 @@
352
365
  {
353
366
  "name": "subMenu",
354
367
  "properties": [
368
+ {
369
+ "name": "type",
370
+ "type": "string"
371
+ },
355
372
  {
356
373
  "name": "id",
357
374
  "type": "string"
@@ -55,6 +55,15 @@
55
55
  "parent": "trt_01KXG04RSAMGZ70BX7E6M2EKPH",
56
56
  "renames": []
57
57
  },
58
+ "evt_01M3T1CT5CK8DD217ZVXZP6EP5": {
59
+ "bakedName": "@config.itemClickEvent",
60
+ "curName": "@config.itemClickEvent",
61
+ "id": "evt_01M3T1CT5CK8DD217ZVXZP6EP5",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01KXG04RSAMGZ70BX7E6M2EKPH",
65
+ "renames": []
66
+ },
58
67
  "orb_01KXG04RSAMH7355J2NZQRJWY9": {
59
68
  "bakedName": "TableViewOrbital",
60
69
  "curName": "TableViewOrbital",
@@ -148,6 +157,26 @@
148
157
  "required": false,
149
158
  "type": "string"
150
159
  },
160
+ "colorMap": {
161
+ "items": {
162
+ "type": "string",
163
+ "values": [
164
+ "default",
165
+ "primary",
166
+ "secondary",
167
+ "success",
168
+ "warning",
169
+ "danger",
170
+ "error",
171
+ "info",
172
+ "neutral",
173
+ "destructive"
174
+ ]
175
+ },
176
+ "name": "colorMap",
177
+ "required": false,
178
+ "type": "object"
179
+ },
151
180
  "field": {
152
181
  "name": "field",
153
182
  "required": false,
@@ -186,11 +215,28 @@
186
215
  "required": false,
187
216
  "type": "string"
188
217
  },
218
+ "labels": {
219
+ "items": {
220
+ "type": "string"
221
+ },
222
+ "name": "labels",
223
+ "required": false,
224
+ "type": "object"
225
+ },
189
226
  "sortable": {
190
227
  "name": "sortable",
191
228
  "required": false,
192
229
  "type": "boolean"
193
230
  },
231
+ "variant": {
232
+ "name": "variant",
233
+ "required": false,
234
+ "type": "string",
235
+ "values": [
236
+ "h3",
237
+ "h4"
238
+ ]
239
+ },
194
240
  "weight": {
195
241
  "name": "weight",
196
242
  "required": false,
@@ -327,6 +373,26 @@
327
373
  "required": false,
328
374
  "type": "string"
329
375
  },
376
+ "colorMap": {
377
+ "items": {
378
+ "type": "string",
379
+ "values": [
380
+ "default",
381
+ "primary",
382
+ "secondary",
383
+ "success",
384
+ "warning",
385
+ "danger",
386
+ "error",
387
+ "info",
388
+ "neutral",
389
+ "destructive"
390
+ ]
391
+ },
392
+ "name": "colorMap",
393
+ "required": false,
394
+ "type": "object"
395
+ },
330
396
  "field": {
331
397
  "name": "field",
332
398
  "required": false,
@@ -365,11 +431,28 @@
365
431
  "required": false,
366
432
  "type": "string"
367
433
  },
434
+ "labels": {
435
+ "items": {
436
+ "type": "string"
437
+ },
438
+ "name": "labels",
439
+ "required": false,
440
+ "type": "object"
441
+ },
368
442
  "sortable": {
369
443
  "name": "sortable",
370
444
  "required": false,
371
445
  "type": "boolean"
372
446
  },
447
+ "variant": {
448
+ "name": "variant",
449
+ "required": false,
450
+ "type": "string",
451
+ "values": [
452
+ "h3",
453
+ "h4"
454
+ ]
455
+ },
373
456
  "weight": {
374
457
  "name": "weight",
375
458
  "required": false,
@@ -457,8 +540,8 @@
457
540
  "type": "[TableViewItemActionsItem]"
458
541
  },
459
542
  "itemClickEvent": {
460
- "default": "",
461
- "description": "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. When OMITTED and `itemActions` exist, the row click defaults to the first non-danger item action (the view/open action by authoring convention) — a danger action never becomes the row default (destructive actions require intentional reach).",
543
+ "default": "ITEM_CLICK",
544
+ "description": "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. Omit = rows are not clickable.",
462
545
  "label": "Item Click Event",
463
546
  "tier": "presentation",
464
547
  "type": "event"
@@ -617,6 +700,26 @@
617
700
  }
618
701
  ],
619
702
  "emits": [
703
+ {
704
+ "definerKnob": "itemClickEvent",
705
+ "description": "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. Omit = rows are not clickable.",
706
+ "event": "@config.itemClickEvent",
707
+ "eventId": "evt_01M3T1CT5CK8DD217ZVXZP6EP5",
708
+ "payloadSchema": [
709
+ {
710
+ "name": "id",
711
+ "required": true,
712
+ "type": "string"
713
+ },
714
+ {
715
+ "name": "row",
716
+ "required": true,
717
+ "type": "@entity"
718
+ }
719
+ ],
720
+ "scope": "external",
721
+ "tier": "essential"
722
+ },
620
723
  {
621
724
  "definerKnob": "selectEvent",
622
725
  "description": "Event emitted on selection change: UI:{selectEvent} with { selectedIds }.",
@@ -736,6 +839,25 @@
736
839
  "synonyms": "loaded, fetched, retrieved",
737
840
  "tier": "essential"
738
841
  },
842
+ {
843
+ "description": "When set, the whole row is clickable and emits UI:{itemClickEvent} with { id, row } (action-button clicks stopPropagation so they still win). Mirrors DataList's contract. Omit = rows are not clickable.",
844
+ "id": "evt_01M3T1CT5CK8DD217ZVXZP6EP5",
845
+ "key": "@config.itemClickEvent",
846
+ "name": "@config.item click event",
847
+ "payloadSchema": [
848
+ {
849
+ "name": "id",
850
+ "required": true,
851
+ "type": "string"
852
+ },
853
+ {
854
+ "name": "row",
855
+ "required": true,
856
+ "type": "@entity"
857
+ }
858
+ ],
859
+ "tier": "essential"
860
+ },
739
861
  {
740
862
  "description": "Event emitted on selection change: UI:{selectEvent} with { selectedIds }.",
741
863
  "id": "evt_01KXG04RSDTCZQPH74KHHQR5MZ",
@@ -1093,6 +1215,18 @@
1093
1215
  "name": "format",
1094
1216
  "type": "string"
1095
1217
  },
1218
+ {
1219
+ "name": "colorMap",
1220
+ "type": "Map<string,TableViewColumnsItemColorMapValue>"
1221
+ },
1222
+ {
1223
+ "name": "labels",
1224
+ "type": "Map<string,string>"
1225
+ },
1226
+ {
1227
+ "name": "variant",
1228
+ "type": "string"
1229
+ },
1096
1230
  {
1097
1231
  "name": "icon",
1098
1232
  "type": "icon"
@@ -1170,6 +1304,18 @@
1170
1304
  "name": "format",
1171
1305
  "type": "string"
1172
1306
  },
1307
+ {
1308
+ "name": "colorMap",
1309
+ "type": "Map<string,TableViewFieldsItemColorMapValue>"
1310
+ },
1311
+ {
1312
+ "name": "labels",
1313
+ "type": "Map<string,string>"
1314
+ },
1315
+ {
1316
+ "name": "variant",
1317
+ "type": "string"
1318
+ },
1173
1319
  {
1174
1320
  "name": "icon",
1175
1321
  "type": "icon"
@@ -28,6 +28,15 @@
28
28
  "parent": "trt_01KXG04SD9CXEV12B2DCF8KYGK",
29
29
  "renames": []
30
30
  },
31
+ "evt_01M3T0VXEXYCXXAVQSJNA41FTD": {
32
+ "bakedName": "@config.closeEvent",
33
+ "curName": "@config.closeEvent",
34
+ "id": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01KXG04SD9CXEV12B2DCF8KYGK",
38
+ "renames": []
39
+ },
31
40
  "orb_01KXG04SD96J1YG0ZTZP69D4AJ": {
32
41
  "bakedName": "DetailPanelOrbital",
33
42
  "curName": "DetailPanelOrbital",
@@ -211,6 +220,13 @@
211
220
  "tier": "presentation",
212
221
  "type": "string"
213
222
  },
223
+ "closeEvent": {
224
+ "default": "CLOSE",
225
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
226
+ "label": "Close Event",
227
+ "tier": "presentation",
228
+ "type": "event"
229
+ },
214
230
  "displayFields": {
215
231
  "default": [],
216
232
  "description": "Display fields (alias for fields)",
@@ -262,8 +278,10 @@
262
278
  "fields": {
263
279
  "default": [
264
280
  {
265
- "header": "Header",
266
- "key": "Key",
281
+ "format": "date",
282
+ "icon": "circle",
283
+ "label": "Label",
284
+ "name": "Name",
267
285
  "relation": {
268
286
  "cardinality": "one",
269
287
  "entity": "Entity"
@@ -272,11 +290,14 @@
272
290
  "values": [
273
291
  "Item",
274
292
  "Item 2"
275
- ]
293
+ ],
294
+ "variant": "h3"
276
295
  },
277
296
  {
278
- "header": "Header 2",
279
- "key": "Key 2",
297
+ "format": "currency",
298
+ "icon": "circle",
299
+ "label": "Label 2",
300
+ "name": "Name 2",
280
301
  "relation": {
281
302
  "cardinality": "many",
282
303
  "entity": "Entity 2"
@@ -285,19 +306,65 @@
285
306
  "values": [
286
307
  "Item",
287
308
  "Item 2"
288
- ]
309
+ ],
310
+ "variant": "h4"
289
311
  }
290
312
  ],
291
- "description": "Fields to display - accepts string[], {key, header}[], or DetailField[]",
313
+ "description": "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
292
314
  "items": {
293
315
  "properties": {
294
- "header": {
295
- "name": "header",
316
+ "colorMap": {
317
+ "items": {
318
+ "type": "string",
319
+ "values": [
320
+ "default",
321
+ "primary",
322
+ "secondary",
323
+ "success",
324
+ "warning",
325
+ "danger",
326
+ "error",
327
+ "info",
328
+ "neutral",
329
+ "destructive"
330
+ ]
331
+ },
332
+ "name": "colorMap",
333
+ "required": false,
334
+ "type": "object"
335
+ },
336
+ "format": {
337
+ "name": "format",
338
+ "required": false,
339
+ "type": "string",
340
+ "values": [
341
+ "date",
342
+ "currency",
343
+ "number",
344
+ "boolean",
345
+ "percent"
346
+ ]
347
+ },
348
+ "icon": {
349
+ "name": "icon",
350
+ "required": false,
351
+ "type": "string"
352
+ },
353
+ "label": {
354
+ "name": "label",
296
355
  "required": false,
297
356
  "type": "string"
298
357
  },
299
- "key": {
300
- "name": "key",
358
+ "labels": {
359
+ "items": {
360
+ "type": "string"
361
+ },
362
+ "name": "labels",
363
+ "required": false,
364
+ "type": "object"
365
+ },
366
+ "name": {
367
+ "name": "name",
301
368
  "required": true,
302
369
  "type": "string"
303
370
  },
@@ -337,6 +404,20 @@
337
404
  "name": "values",
338
405
  "required": false,
339
406
  "type": "array"
407
+ },
408
+ "variant": {
409
+ "name": "variant",
410
+ "required": false,
411
+ "type": "string",
412
+ "values": [
413
+ "h3",
414
+ "h4",
415
+ "body",
416
+ "caption",
417
+ "badge",
418
+ "small",
419
+ "progress"
420
+ ]
340
421
  }
341
422
  },
342
423
  "type": "object"
@@ -606,6 +687,14 @@
606
687
  }
607
688
  ],
608
689
  "emits": [
690
+ {
691
+ "definerKnob": "closeEvent",
692
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
693
+ "event": "@config.closeEvent",
694
+ "eventId": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
695
+ "scope": "external",
696
+ "tier": "essential"
697
+ },
609
698
  {
610
699
  "description": "DetailPanel row finished loading; payload.data holds the single row.",
611
700
  "event": "DetailPanelLoaded",
@@ -678,6 +767,13 @@
678
767
  ],
679
768
  "synonyms": "loaded, fetched, retrieved",
680
769
  "tier": "essential"
770
+ },
771
+ {
772
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
773
+ "id": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
774
+ "key": "@config.closeEvent",
775
+ "name": "@config.close event",
776
+ "tier": "essential"
681
777
  }
682
778
  ],
683
779
  "states": [
@@ -744,6 +840,7 @@
744
840
  "avatar": "@config.avatar",
745
841
  "backAction": "@config.backAction",
746
842
  "className": "@config.className",
843
+ "closeEvent": "@config.closeEvent",
747
844
  "displayFields": "@config.displayFields",
748
845
  "entity": "@entity",
749
846
  "error": "@config.error",
@@ -842,6 +939,7 @@
842
939
  "avatar": "@config.avatar",
843
940
  "backAction": "@config.backAction",
844
941
  "className": "@config.className",
942
+ "closeEvent": "@config.closeEvent",
845
943
  "displayFields": "@config.displayFields",
846
944
  "entity": "@entity",
847
945
  "error": "@config.error",
@@ -943,6 +1041,7 @@
943
1041
  "avatar": "@config.avatar",
944
1042
  "backAction": "@config.backAction",
945
1043
  "className": "@config.className",
1044
+ "closeEvent": "@config.closeEvent",
946
1045
  "displayFields": "@config.displayFields",
947
1046
  "entity": "@entity",
948
1047
  "error": "@config.error",
@@ -1023,6 +1122,7 @@
1023
1122
  "avatar": "@config.avatar",
1024
1123
  "backAction": "@config.backAction",
1025
1124
  "className": "@config.className",
1125
+ "closeEvent": "@config.closeEvent",
1026
1126
  "displayFields": "@config.displayFields",
1027
1127
  "entity": "@payload.data",
1028
1128
  "error": "@config.error",
@@ -1143,14 +1243,34 @@
1143
1243
  ],
1144
1244
  "DetailPanelFieldsItem": [
1145
1245
  {
1146
- "name": "key",
1246
+ "name": "name",
1147
1247
  "required": true,
1148
1248
  "type": "string"
1149
1249
  },
1150
1250
  {
1151
- "name": "header",
1251
+ "name": "label",
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "name": "icon",
1256
+ "type": "icon"
1257
+ },
1258
+ {
1259
+ "name": "variant",
1260
+ "type": "string"
1261
+ },
1262
+ {
1263
+ "name": "format",
1152
1264
  "type": "string"
1153
1265
  },
1266
+ {
1267
+ "name": "colorMap",
1268
+ "type": "Map<string,DetailPanelFieldsItemColorMapValue>"
1269
+ },
1270
+ {
1271
+ "name": "labels",
1272
+ "type": "Map<string,string>"
1273
+ },
1154
1274
  {
1155
1275
  "name": "type",
1156
1276
  "type": "string"