@almadar/std 16.148.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 +3 -3
- package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +86 -41
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +29 -16
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +190 -86
- package/behaviors/lolo/ui/core/atoms/std-dashboard-grid-embedded.lolo +8 -0
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
- package/behaviors/lolo/ui/core/atoms/std-stats.lolo +14 -10
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -29
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +1 -0
- package/behaviors/registry/factory-signatures.json +9 -13
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +39 -4
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +242 -50
- package/behaviors/registry/ui/core/atoms/std-board.orb +86 -20
- package/behaviors/registry/ui/core/atoms/std-browse.orb +423 -125
- package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +41 -29
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +0 -3
- package/behaviors/registry/ui/core/atoms/std-stats.orb +267 -238
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -38
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +5 -0
- package/dist/behaviors/behaviors-embeddings.json +200 -200
- package/dist/behaviors/behaviors-registry.json +34 -18
- 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/factory-signatures.json +9 -13
- package/dist/behaviors/registry/ui/core/atoms/std-app-search.orb +39 -4
- package/dist/behaviors/registry/ui/core/atoms/std-billable-hour.orb +242 -50
- package/dist/behaviors/registry/ui/core/atoms/std-board.orb +86 -20
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +423 -125
- package/dist/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +41 -29
- package/dist/behaviors/registry/ui/core/atoms/std-file-store.orb +0 -3
- package/dist/behaviors/registry/ui/core/atoms/std-stats.orb +267 -238
- package/dist/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -38
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +5 -0
- package/dist/behaviors-embeddings.json +200 -200
- package/dist/behaviors-registry.json +34 -18
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -4
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +9 -13
- package/package.json +9 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedFromStdVersion": "16.
|
|
2
|
+
"generatedFromStdVersion": "16.148.0",
|
|
3
3
|
"signatures": [
|
|
4
4
|
{
|
|
5
5
|
"organism": "learning-algorithms",
|
|
@@ -96383,17 +96383,16 @@
|
|
|
96383
96383
|
"if",
|
|
96384
96384
|
"@config.bodySearch",
|
|
96385
96385
|
{
|
|
96386
|
-
"align": "center",
|
|
96387
96386
|
"children": [
|
|
96388
96387
|
{
|
|
96389
|
-
"className": "w-full
|
|
96388
|
+
"className": "w-full",
|
|
96390
96389
|
"clearable": true,
|
|
96391
96390
|
"event": "REFETCH_QUERY",
|
|
96392
96391
|
"placeholder": "@config.searchPlaceholder",
|
|
96393
96392
|
"type": "search-input"
|
|
96394
96393
|
}
|
|
96395
96394
|
],
|
|
96396
|
-
"className": "w-full
|
|
96395
|
+
"className": "w-full",
|
|
96397
96396
|
"direction": "horizontal",
|
|
96398
96397
|
"gap": "sm",
|
|
96399
96398
|
"type": "stack"
|
|
@@ -96414,7 +96413,6 @@
|
|
|
96414
96413
|
"type": "stack"
|
|
96415
96414
|
}
|
|
96416
96415
|
],
|
|
96417
|
-
"className": "p-card-md",
|
|
96418
96416
|
"direction": "vertical",
|
|
96419
96417
|
"gap": "sm",
|
|
96420
96418
|
"type": "stack"
|
|
@@ -96563,7 +96561,7 @@
|
|
|
96563
96561
|
"variant": "card"
|
|
96564
96562
|
}
|
|
96565
96563
|
],
|
|
96566
|
-
"className": "w-full
|
|
96564
|
+
"className": "w-full",
|
|
96567
96565
|
"direction": "vertical",
|
|
96568
96566
|
"gap": "lg",
|
|
96569
96567
|
"type": "stack"
|
|
@@ -96794,7 +96792,7 @@
|
|
|
96794
96792
|
"type": "data-grid"
|
|
96795
96793
|
}
|
|
96796
96794
|
],
|
|
96797
|
-
"className": "w-full
|
|
96795
|
+
"className": "w-full",
|
|
96798
96796
|
"direction": "vertical",
|
|
96799
96797
|
"gap": "lg",
|
|
96800
96798
|
"type": "stack"
|
|
@@ -97487,17 +97485,16 @@
|
|
|
97487
97485
|
"if",
|
|
97488
97486
|
"@config.bodySearch",
|
|
97489
97487
|
{
|
|
97490
|
-
"align": "center",
|
|
97491
97488
|
"children": [
|
|
97492
97489
|
{
|
|
97493
|
-
"className": "w-full
|
|
97490
|
+
"className": "w-full",
|
|
97494
97491
|
"clearable": true,
|
|
97495
97492
|
"event": "REFETCH_QUERY",
|
|
97496
97493
|
"placeholder": "@config.searchPlaceholder",
|
|
97497
97494
|
"type": "search-input"
|
|
97498
97495
|
}
|
|
97499
97496
|
],
|
|
97500
|
-
"className": "w-full
|
|
97497
|
+
"className": "w-full",
|
|
97501
97498
|
"direction": "horizontal",
|
|
97502
97499
|
"gap": "sm",
|
|
97503
97500
|
"type": "stack"
|
|
@@ -97518,7 +97515,6 @@
|
|
|
97518
97515
|
"type": "stack"
|
|
97519
97516
|
}
|
|
97520
97517
|
],
|
|
97521
|
-
"className": "p-card-md",
|
|
97522
97518
|
"direction": "vertical",
|
|
97523
97519
|
"gap": "sm",
|
|
97524
97520
|
"type": "stack"
|
|
@@ -97664,7 +97660,7 @@
|
|
|
97664
97660
|
"variant": "card"
|
|
97665
97661
|
}
|
|
97666
97662
|
],
|
|
97667
|
-
"className": "w-full
|
|
97663
|
+
"className": "w-full",
|
|
97668
97664
|
"direction": "vertical",
|
|
97669
97665
|
"gap": "lg",
|
|
97670
97666
|
"type": "stack"
|
|
@@ -97878,7 +97874,7 @@
|
|
|
97878
97874
|
"type": "data-grid"
|
|
97879
97875
|
}
|
|
97880
97876
|
],
|
|
97881
|
-
"className": "w-full
|
|
97877
|
+
"className": "w-full",
|
|
97882
97878
|
"direction": "vertical",
|
|
97883
97879
|
"gap": "lg",
|
|
97884
97880
|
"type": "stack"
|
|
@@ -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"
|
|
@@ -642,7 +669,15 @@
|
|
|
642
669
|
},
|
|
643
670
|
{
|
|
644
671
|
"color": "muted",
|
|
645
|
-
"content":
|
|
672
|
+
"content": [
|
|
673
|
+
"str/concat",
|
|
674
|
+
[
|
|
675
|
+
"str/concat",
|
|
676
|
+
"Matching “",
|
|
677
|
+
"@entity.searchTerm"
|
|
678
|
+
],
|
|
679
|
+
"”"
|
|
680
|
+
],
|
|
646
681
|
"type": "typography",
|
|
647
682
|
"variant": "caption"
|
|
648
683
|
},
|
|
@@ -96,6 +96,14 @@
|
|
|
96
96
|
"kind": "trait",
|
|
97
97
|
"owner": "workspace",
|
|
98
98
|
"renames": []
|
|
99
|
+
},
|
|
100
|
+
"trt_01KYGG0J813545ADJDSSED6T49": {
|
|
101
|
+
"bakedName": "DenseHoursTable",
|
|
102
|
+
"curName": "DenseHoursTable",
|
|
103
|
+
"id": "trt_01KYGG0J813545ADJDSSED6T49",
|
|
104
|
+
"kind": "trait",
|
|
105
|
+
"owner": "workspace",
|
|
106
|
+
"renames": []
|
|
99
107
|
}
|
|
100
108
|
},
|
|
101
109
|
"schemaVersion": 1
|
|
@@ -208,9 +216,201 @@
|
|
|
208
216
|
}
|
|
209
217
|
],
|
|
210
218
|
"traits": [
|
|
219
|
+
{
|
|
220
|
+
"config": {
|
|
221
|
+
"columns": {
|
|
222
|
+
"default": "@config.columns",
|
|
223
|
+
"type": "unknown"
|
|
224
|
+
},
|
|
225
|
+
"emptyMessage": {
|
|
226
|
+
"default": "No time entries",
|
|
227
|
+
"type": "unknown"
|
|
228
|
+
},
|
|
229
|
+
"itemActions": {
|
|
230
|
+
"default": "@config.itemActions",
|
|
231
|
+
"type": "unknown"
|
|
232
|
+
},
|
|
233
|
+
"look": {
|
|
234
|
+
"default": "@config.tableLook",
|
|
235
|
+
"type": "unknown"
|
|
236
|
+
},
|
|
237
|
+
"maxInlineActions": {
|
|
238
|
+
"default": 2.0,
|
|
239
|
+
"type": "unknown"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"id": "trt_01KYGG0J813545ADJDSSED6T49",
|
|
243
|
+
"linkedEntity": "BillableHour",
|
|
244
|
+
"linkedEntityId": "ent_01KXG04FQKJHPT5T65NNKMM8AM",
|
|
245
|
+
"listens": [
|
|
246
|
+
{
|
|
247
|
+
"event": "BillableHourLoaded",
|
|
248
|
+
"source": {
|
|
249
|
+
"kind": "trait",
|
|
250
|
+
"trait": "BillableHourTimesheet"
|
|
251
|
+
},
|
|
252
|
+
"triggers": "TableViewLoaded"
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"name": "DenseHoursTable",
|
|
256
|
+
"ref": "TableView.traits.TableViewRender"
|
|
257
|
+
},
|
|
211
258
|
{
|
|
212
259
|
"category": "interaction",
|
|
213
260
|
"config": {
|
|
261
|
+
"columns": {
|
|
262
|
+
"default": [
|
|
263
|
+
{
|
|
264
|
+
"align": "left",
|
|
265
|
+
"field": "workerName",
|
|
266
|
+
"header": "Worker",
|
|
267
|
+
"key": "workerName",
|
|
268
|
+
"width": "minmax(8rem, 1fr)"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"align": "left",
|
|
272
|
+
"field": "matterId",
|
|
273
|
+
"header": "Matter",
|
|
274
|
+
"key": "matterId",
|
|
275
|
+
"width": "8rem"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"align": "left",
|
|
279
|
+
"field": "workDate",
|
|
280
|
+
"format": "date",
|
|
281
|
+
"header": "Date",
|
|
282
|
+
"key": "workDate",
|
|
283
|
+
"width": "8rem"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"align": "right",
|
|
287
|
+
"field": "hours",
|
|
288
|
+
"format": "number",
|
|
289
|
+
"header": "Hours",
|
|
290
|
+
"key": "hours",
|
|
291
|
+
"width": "6rem"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"align": "right",
|
|
295
|
+
"field": "rate",
|
|
296
|
+
"format": "currency",
|
|
297
|
+
"header": "Rate",
|
|
298
|
+
"key": "rate",
|
|
299
|
+
"width": "7rem"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"align": "center",
|
|
303
|
+
"field": "invoiceStatus",
|
|
304
|
+
"format": "badge",
|
|
305
|
+
"header": "Status",
|
|
306
|
+
"key": "invoiceStatus",
|
|
307
|
+
"width": "8rem"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"description": "ColumnSpec list for the dense hours ledger table.",
|
|
311
|
+
"items": {
|
|
312
|
+
"properties": {
|
|
313
|
+
"align": {
|
|
314
|
+
"name": "align",
|
|
315
|
+
"required": false,
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"className": {
|
|
319
|
+
"name": "className",
|
|
320
|
+
"required": false,
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"field": {
|
|
324
|
+
"name": "field",
|
|
325
|
+
"required": false,
|
|
326
|
+
"type": "string"
|
|
327
|
+
},
|
|
328
|
+
"format": {
|
|
329
|
+
"name": "format",
|
|
330
|
+
"required": false,
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
"header": {
|
|
334
|
+
"name": "header",
|
|
335
|
+
"required": false,
|
|
336
|
+
"type": "string"
|
|
337
|
+
},
|
|
338
|
+
"icon": {
|
|
339
|
+
"name": "icon",
|
|
340
|
+
"required": false,
|
|
341
|
+
"type": "string"
|
|
342
|
+
},
|
|
343
|
+
"key": {
|
|
344
|
+
"name": "key",
|
|
345
|
+
"required": true,
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"weight": {
|
|
349
|
+
"name": "weight",
|
|
350
|
+
"required": false,
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"width": {
|
|
354
|
+
"name": "width",
|
|
355
|
+
"required": false,
|
|
356
|
+
"type": "string"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"type": "object"
|
|
360
|
+
},
|
|
361
|
+
"label": "Table columns",
|
|
362
|
+
"tier": "presentation",
|
|
363
|
+
"type": "[ColumnSpec]"
|
|
364
|
+
},
|
|
365
|
+
"itemActions": {
|
|
366
|
+
"default": [
|
|
367
|
+
{
|
|
368
|
+
"event": "OPEN_HOURS",
|
|
369
|
+
"icon": "arrow-right",
|
|
370
|
+
"label": "Open",
|
|
371
|
+
"variant": "ghost"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"event": "WRITE_OFF_HOURS",
|
|
375
|
+
"label": "Write Off",
|
|
376
|
+
"variant": "danger"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"description": "Per-row actions rendered by the hours table.",
|
|
380
|
+
"items": {
|
|
381
|
+
"properties": {
|
|
382
|
+
"event": {
|
|
383
|
+
"name": "event",
|
|
384
|
+
"required": false,
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"icon": {
|
|
388
|
+
"name": "icon",
|
|
389
|
+
"required": false,
|
|
390
|
+
"type": "string"
|
|
391
|
+
},
|
|
392
|
+
"label": {
|
|
393
|
+
"name": "label",
|
|
394
|
+
"required": true,
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"navigatesTo": {
|
|
398
|
+
"name": "navigatesTo",
|
|
399
|
+
"required": false,
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"variant": {
|
|
403
|
+
"name": "variant",
|
|
404
|
+
"required": false,
|
|
405
|
+
"type": "string"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"type": "object"
|
|
409
|
+
},
|
|
410
|
+
"label": "Row actions",
|
|
411
|
+
"tier": "presentation",
|
|
412
|
+
"type": "[ItemAction]"
|
|
413
|
+
},
|
|
214
414
|
"statLook": {
|
|
215
415
|
"default": "elevated",
|
|
216
416
|
"description": "Layer 2 visual treatment for stat / KPI cards.",
|
|
@@ -236,7 +436,7 @@
|
|
|
236
436
|
"spacious",
|
|
237
437
|
"striped",
|
|
238
438
|
"borderless",
|
|
239
|
-
"
|
|
439
|
+
"bordered"
|
|
240
440
|
]
|
|
241
441
|
},
|
|
242
442
|
"title": {
|
|
@@ -570,56 +770,13 @@
|
|
|
570
770
|
"type": "divider"
|
|
571
771
|
},
|
|
572
772
|
{
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
"fields": [
|
|
576
|
-
{
|
|
577
|
-
"label": "Worker",
|
|
578
|
-
"name": "workerName",
|
|
579
|
-
"variant": "caption"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
"label": "Matter",
|
|
583
|
-
"name": "matterId",
|
|
584
|
-
"variant": "caption"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"label": "Date",
|
|
588
|
-
"name": "workDate",
|
|
589
|
-
"variant": "caption"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"label": "Hours",
|
|
593
|
-
"name": "hours",
|
|
594
|
-
"variant": "caption"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"label": "Rate",
|
|
598
|
-
"name": "rate",
|
|
599
|
-
"variant": "caption"
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
"label": "Status",
|
|
603
|
-
"name": "invoiceStatus",
|
|
604
|
-
"variant": "badge"
|
|
605
|
-
}
|
|
606
|
-
],
|
|
607
|
-
"gap": "sm",
|
|
608
|
-
"itemActions": [
|
|
609
|
-
{
|
|
610
|
-
"event": "OPEN_HOURS",
|
|
611
|
-
"icon": "arrow-right",
|
|
612
|
-
"label": "Open",
|
|
613
|
-
"variant": "primary"
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"event": "WRITE_OFF_HOURS",
|
|
617
|
-
"label": "Write Off",
|
|
618
|
-
"variant": "danger"
|
|
619
|
-
}
|
|
773
|
+
"children": [
|
|
774
|
+
"@trait.DenseHoursTable"
|
|
620
775
|
],
|
|
621
|
-
"
|
|
622
|
-
"
|
|
776
|
+
"className": "overflow-x-auto",
|
|
777
|
+
"direction": "vertical",
|
|
778
|
+
"gap": "none",
|
|
779
|
+
"type": "stack"
|
|
623
780
|
}
|
|
624
781
|
],
|
|
625
782
|
"direction": "vertical",
|
|
@@ -650,6 +807,32 @@
|
|
|
650
807
|
"from": "loading",
|
|
651
808
|
"to": "error"
|
|
652
809
|
},
|
|
810
|
+
{
|
|
811
|
+
"effects": [
|
|
812
|
+
[
|
|
813
|
+
"fetch",
|
|
814
|
+
"BillableHour",
|
|
815
|
+
{
|
|
816
|
+
"emit": {
|
|
817
|
+
"failure": "BillableHourLoadFailed",
|
|
818
|
+
"success": "BillableHourLoaded"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
],
|
|
822
|
+
[
|
|
823
|
+
"render-ui",
|
|
824
|
+
"main",
|
|
825
|
+
{
|
|
826
|
+
"rows": 4.0,
|
|
827
|
+
"type": "skeleton"
|
|
828
|
+
}
|
|
829
|
+
]
|
|
830
|
+
],
|
|
831
|
+
"event": "INIT",
|
|
832
|
+
"eventId": "evt_01KXG04FQKQJP6SX8JCRF7HBP1",
|
|
833
|
+
"from": "browsing",
|
|
834
|
+
"to": "loading"
|
|
835
|
+
},
|
|
653
836
|
{
|
|
654
837
|
"effects": [
|
|
655
838
|
[
|
|
@@ -1074,8 +1257,17 @@
|
|
|
1074
1257
|
"to": "loading"
|
|
1075
1258
|
}
|
|
1076
1259
|
]
|
|
1260
|
+
},
|
|
1261
|
+
"traitEmbedIds": {
|
|
1262
|
+
"DenseHoursTable": "trt_01KYGG0J813545ADJDSSED6T49"
|
|
1077
1263
|
}
|
|
1078
1264
|
}
|
|
1265
|
+
],
|
|
1266
|
+
"uses": [
|
|
1267
|
+
{
|
|
1268
|
+
"as": "TableView",
|
|
1269
|
+
"from": "std/behaviors/ui-table-view"
|
|
1270
|
+
}
|
|
1079
1271
|
]
|
|
1080
1272
|
}
|
|
1081
1273
|
],
|
|
@@ -136,6 +136,15 @@
|
|
|
136
136
|
"parent": "trt_01KXG04FS55WPDV86JDDX2KA6Z",
|
|
137
137
|
"renames": []
|
|
138
138
|
},
|
|
139
|
+
"evt_01KYGS1AQ7993STR00N8D46PQ5": {
|
|
140
|
+
"bakedName": "EDIT_CARD",
|
|
141
|
+
"curName": "EDIT_CARD",
|
|
142
|
+
"id": "evt_01KYGS1AQ7993STR00N8D46PQ5",
|
|
143
|
+
"kind": "event",
|
|
144
|
+
"owner": "workspace",
|
|
145
|
+
"parent": "trt_01KXG04FS55WPDV86JDDX2KA6Z",
|
|
146
|
+
"renames": []
|
|
147
|
+
},
|
|
139
148
|
"orb_01KXG04FS58SZN66P0EVZEDT70": {
|
|
140
149
|
"bakedName": "BoardOrbital",
|
|
141
150
|
"curName": "BoardOrbital",
|
|
@@ -328,6 +337,12 @@
|
|
|
328
337
|
"name": "currentNotes",
|
|
329
338
|
"type": "string"
|
|
330
339
|
},
|
|
340
|
+
{
|
|
341
|
+
"default": {},
|
|
342
|
+
"intrinsic": true,
|
|
343
|
+
"name": "currentRow",
|
|
344
|
+
"type": "object"
|
|
345
|
+
},
|
|
331
346
|
{
|
|
332
347
|
"default": "",
|
|
333
348
|
"intrinsic": true,
|
|
@@ -518,6 +533,30 @@
|
|
|
518
533
|
"tier": "internal",
|
|
519
534
|
"type": "render-ui"
|
|
520
535
|
},
|
|
536
|
+
"cardActionsContent": {
|
|
537
|
+
"default": {
|
|
538
|
+
"align": "center",
|
|
539
|
+
"children": [
|
|
540
|
+
{
|
|
541
|
+
"action": "DELETE_CARD",
|
|
542
|
+
"actionPayload": {
|
|
543
|
+
"id": "@entity.currentId"
|
|
544
|
+
},
|
|
545
|
+
"icon": "trash-2",
|
|
546
|
+
"label": "Delete",
|
|
547
|
+
"type": "button",
|
|
548
|
+
"variant": "danger"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"direction": "horizontal",
|
|
552
|
+
"gap": "sm",
|
|
553
|
+
"type": "stack"
|
|
554
|
+
},
|
|
555
|
+
"description": "Actions row of the open-card panel. Default is the Delete button only. Override to add consumer-wired actions — e.g. an Edit button with action: EDIT_CARD and actionPayload: { id: @entity.currentId, row: @entity.currentRow }, listened to by the organism's edit modal. Never leave a button here without a listener.",
|
|
556
|
+
"label": "Card panel actions",
|
|
557
|
+
"tier": "presentation",
|
|
558
|
+
"type": "render-ui"
|
|
559
|
+
},
|
|
521
560
|
"cardDescriptionBinding": {
|
|
522
561
|
"default": "@item.description",
|
|
523
562
|
"description": "Per-card binding for the description slot.",
|
|
@@ -772,7 +811,7 @@
|
|
|
772
811
|
}
|
|
773
812
|
],
|
|
774
813
|
"className": "cursor-grab hover:shadow-lg transition-shadow",
|
|
775
|
-
"look": "
|
|
814
|
+
"look": "@config.cardLook",
|
|
776
815
|
"padding": "sm",
|
|
777
816
|
"type": "card"
|
|
778
817
|
}
|
|
@@ -809,7 +848,7 @@
|
|
|
809
848
|
"gap": "md",
|
|
810
849
|
"type": "stack"
|
|
811
850
|
},
|
|
812
|
-
"description": "Render-ui SExpr for boardLook='kanban-classic' — Trello-style wide elevated columns with sticky headers, dense cards with a status badge
|
|
851
|
+
"description": "Render-ui SExpr for boardLook='kanban-classic' — Trello-style wide elevated columns with sticky headers, dense cards with a status badge; per-item cards honor config.cardLook (the column wrapper stays elevated — it is column chrome, not a card).",
|
|
813
852
|
"label": "Kanban classic body content tree",
|
|
814
853
|
"tier": "internal",
|
|
815
854
|
"type": "render-ui"
|
|
@@ -940,6 +979,25 @@
|
|
|
940
979
|
"synonyms": "remove, delete, discard",
|
|
941
980
|
"tier": "presentation"
|
|
942
981
|
},
|
|
982
|
+
{
|
|
983
|
+
"description": "Signals a request to edit the currently open card. The board renders no edit form itself — consumers override cardActionsContent with an Edit button and wire this emit to their edit modal/form trait.",
|
|
984
|
+
"event": "EDIT_CARD",
|
|
985
|
+
"eventId": "evt_01KYGS1AQ7993STR00N8D46PQ5",
|
|
986
|
+
"payloadSchema": [
|
|
987
|
+
{
|
|
988
|
+
"name": "id",
|
|
989
|
+
"required": true,
|
|
990
|
+
"type": "string"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "row",
|
|
994
|
+
"type": "object"
|
|
995
|
+
}
|
|
996
|
+
],
|
|
997
|
+
"scope": "external",
|
|
998
|
+
"synonyms": "edit, modify, update, change",
|
|
999
|
+
"tier": "domain"
|
|
1000
|
+
},
|
|
943
1001
|
{
|
|
944
1002
|
"description": "Signals that board items have been successfully loaded.",
|
|
945
1003
|
"event": "BoardItemsLoaded",
|
|
@@ -1007,6 +1065,7 @@
|
|
|
1007
1065
|
"currentDescription",
|
|
1008
1066
|
"currentId",
|
|
1009
1067
|
"currentNotes",
|
|
1068
|
+
"currentRow",
|
|
1010
1069
|
"currentStage",
|
|
1011
1070
|
"currentTitle",
|
|
1012
1071
|
"errorMessage"
|
|
@@ -1249,6 +1308,25 @@
|
|
|
1249
1308
|
"name": "Cancel Add",
|
|
1250
1309
|
"synonyms": "discard, undo, reset",
|
|
1251
1310
|
"tier": "presentation"
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"description": "Signals a request to edit the currently open card. The board renders no edit form itself — consumers override cardActionsContent with an Edit button and wire this emit to their edit modal/form trait.",
|
|
1314
|
+
"id": "evt_01KYGS1AQ7993STR00N8D46PQ5",
|
|
1315
|
+
"key": "EDIT_CARD",
|
|
1316
|
+
"name": "Edit Card",
|
|
1317
|
+
"payloadSchema": [
|
|
1318
|
+
{
|
|
1319
|
+
"name": "id",
|
|
1320
|
+
"required": true,
|
|
1321
|
+
"type": "string"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "row",
|
|
1325
|
+
"type": "object"
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"synonyms": "edit, modify, update, change",
|
|
1329
|
+
"tier": "domain"
|
|
1252
1330
|
}
|
|
1253
1331
|
],
|
|
1254
1332
|
"states": [
|
|
@@ -1530,6 +1608,11 @@
|
|
|
1530
1608
|
"@entity.currentNotes",
|
|
1531
1609
|
"@payload.row.notes"
|
|
1532
1610
|
],
|
|
1611
|
+
[
|
|
1612
|
+
"set",
|
|
1613
|
+
"@entity.currentRow",
|
|
1614
|
+
"@payload.row"
|
|
1615
|
+
],
|
|
1533
1616
|
[
|
|
1534
1617
|
"render-ui",
|
|
1535
1618
|
"main",
|
|
@@ -1636,24 +1719,7 @@
|
|
|
1636
1719
|
"type": "data-list",
|
|
1637
1720
|
"variant": "default"
|
|
1638
1721
|
},
|
|
1639
|
-
|
|
1640
|
-
"align": "center",
|
|
1641
|
-
"children": [
|
|
1642
|
-
{
|
|
1643
|
-
"action": "DELETE_CARD",
|
|
1644
|
-
"actionPayload": {
|
|
1645
|
-
"id": "@entity.currentId"
|
|
1646
|
-
},
|
|
1647
|
-
"icon": "trash-2",
|
|
1648
|
-
"label": "Delete",
|
|
1649
|
-
"type": "button",
|
|
1650
|
-
"variant": "danger"
|
|
1651
|
-
}
|
|
1652
|
-
],
|
|
1653
|
-
"direction": "horizontal",
|
|
1654
|
-
"gap": "sm",
|
|
1655
|
-
"type": "stack"
|
|
1656
|
-
}
|
|
1722
|
+
"@config.cardActionsContent"
|
|
1657
1723
|
],
|
|
1658
1724
|
"direction": "vertical",
|
|
1659
1725
|
"gap": "md",
|