@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
package/dist/behaviors/query.js
CHANGED
|
@@ -472,8 +472,9 @@ __export(functions_exports, {
|
|
|
472
472
|
stdAuditCapturePage: () => stdAuditCapturePage,
|
|
473
473
|
stdAuditCaptureTrait: () => stdAuditCaptureTrait,
|
|
474
474
|
stdBillableHour: () => stdBillableHour,
|
|
475
|
+
stdBillableHourBillableHourTimesheetTrait: () => stdBillableHourBillableHourTimesheetTrait,
|
|
476
|
+
stdBillableHourDenseHoursTableTrait: () => stdBillableHourDenseHoursTableTrait,
|
|
475
477
|
stdBillableHourPage: () => stdBillableHourPage,
|
|
476
|
-
stdBillableHourTrait: () => stdBillableHourTrait,
|
|
477
478
|
stdBioCell: () => stdBioCell,
|
|
478
479
|
stdBioCellPage: () => stdBioCellPage,
|
|
479
480
|
stdBioCellTrait: () => stdBioCellTrait,
|
|
@@ -496,6 +497,7 @@ __export(functions_exports, {
|
|
|
496
497
|
stdBrowseBrowseItemBrowseTrait: () => stdBrowseBrowseItemBrowseTrait,
|
|
497
498
|
stdBrowseDataGrid1Trait: () => stdBrowseDataGrid1Trait,
|
|
498
499
|
stdBrowseDenseTableViewTrait: () => stdBrowseDenseTableViewTrait,
|
|
500
|
+
stdBrowseMasterListViewTrait: () => stdBrowseMasterListViewTrait,
|
|
499
501
|
stdBrowsePage: () => stdBrowsePage,
|
|
500
502
|
stdCacheAside: () => stdCacheAside,
|
|
501
503
|
stdCacheAsideCacheEntryCacheManagerTrait: () => stdCacheAsideCacheEntryCacheManagerTrait,
|
|
@@ -3545,7 +3547,20 @@ function stdAuditCapture(params) {
|
|
|
3545
3547
|
}
|
|
3546
3548
|
var BEHAVIOR_PATH34 = "std/behaviors/std-billable-hour";
|
|
3547
3549
|
var ALIAS34 = "BillableHour";
|
|
3548
|
-
function
|
|
3550
|
+
function stdBillableHourDenseHoursTableTrait(params) {
|
|
3551
|
+
return makeTraitRef({
|
|
3552
|
+
from: BEHAVIOR_PATH34,
|
|
3553
|
+
ref: `${ALIAS34}.traits.DenseHoursTable`,
|
|
3554
|
+
linkedEntity: params.entityName,
|
|
3555
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
3556
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
3557
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
3558
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
3559
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
3560
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
3561
|
+
});
|
|
3562
|
+
}
|
|
3563
|
+
function stdBillableHourBillableHourTimesheetTrait(params) {
|
|
3549
3564
|
return makeTraitRef({
|
|
3550
3565
|
from: BEHAVIOR_PATH34,
|
|
3551
3566
|
ref: `${ALIAS34}.traits.BillableHourTimesheet`,
|
|
@@ -3577,7 +3592,8 @@ function stdBillableHour(params) {
|
|
|
3577
3592
|
uses: [{ from: BEHAVIOR_PATH34, as: ALIAS34 }],
|
|
3578
3593
|
entity,
|
|
3579
3594
|
traits: [
|
|
3580
|
-
|
|
3595
|
+
stdBillableHourDenseHoursTableTrait(params),
|
|
3596
|
+
stdBillableHourBillableHourTimesheetTrait(params)
|
|
3581
3597
|
],
|
|
3582
3598
|
pages: [
|
|
3583
3599
|
stdBillableHourPage(params)
|
|
@@ -3858,6 +3874,19 @@ function stdBrowseDenseTableViewTrait(params) {
|
|
|
3858
3874
|
...params.config !== void 0 ? { config: params.config } : {}
|
|
3859
3875
|
});
|
|
3860
3876
|
}
|
|
3877
|
+
function stdBrowseMasterListViewTrait(params) {
|
|
3878
|
+
return makeTraitRef({
|
|
3879
|
+
from: BEHAVIOR_PATH41,
|
|
3880
|
+
ref: `${ALIAS41}.traits.MasterListView`,
|
|
3881
|
+
linkedEntity: params.entityName,
|
|
3882
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
3883
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
3884
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
3885
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
3886
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
3887
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
3888
|
+
});
|
|
3889
|
+
}
|
|
3861
3890
|
function stdBrowseBrowseItemBrowseTrait(params) {
|
|
3862
3891
|
return makeTraitRef({
|
|
3863
3892
|
from: BEHAVIOR_PATH41,
|
|
@@ -3892,6 +3921,7 @@ function stdBrowse(params) {
|
|
|
3892
3921
|
traits: [
|
|
3893
3922
|
stdBrowseDataGrid1Trait(params),
|
|
3894
3923
|
stdBrowseDenseTableViewTrait(params),
|
|
3924
|
+
stdBrowseMasterListViewTrait(params),
|
|
3895
3925
|
stdBrowseBrowseItemBrowseTrait(params)
|
|
3896
3926
|
],
|
|
3897
3927
|
pages: [
|
|
@@ -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
|
],
|