@almadar/std 16.235.0 → 16.236.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/behaviors-registry.json +4402 -1898
- package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +25 -41
- package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +0 -24
- package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -17
- package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +17 -24
- package/behaviors/lolo/infra/atoms/std-data-import.lolo +8 -11
- package/behaviors/lolo/infra/atoms/std-game-clock.lolo +2 -0
- package/behaviors/lolo/infra/atoms/std-knowledge-loop.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -1
- package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
- package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +20 -11
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +23 -11
- package/behaviors/lolo/infra/atoms/std-rate-limiter.lolo +84 -22
- package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +1 -6
- package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +3 -1
- package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +0 -4
- package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +0 -4
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +12 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +55 -9
- package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +6 -2
- package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +19 -14
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +77 -27
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +44 -28
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +7 -3
- package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +25 -13
- package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +5 -0
- package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +7 -3
- package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
- package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -0
- package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +20 -4
- package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +46 -32
- package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +16 -12
- package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +10 -1
- package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
- package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +78 -16
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +15 -10
- package/behaviors/lolo/ui/core/atoms/std-stats.lolo +5 -5
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/std-thread.lolo +41 -73
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +20 -11
- package/behaviors/lolo/ui/core/atoms/std-vote.lolo +0 -4
- package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
- package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +21 -0
- package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +11 -1
- package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +13 -8
- package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +7 -2
- package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +2 -2
- package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +8 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +30 -9
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +8 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +13 -0
- package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +11 -1
- package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +44 -15
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +41 -3
- package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +66 -12
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +9 -3
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +9 -3
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +18 -9
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +55 -10
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +55 -10
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +8 -3
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +8 -3
- package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +2 -44
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +6 -1
- package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +8 -2
- package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +2 -2
- package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +2 -66
- package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +0 -4
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +6 -6
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +124 -67
- package/behaviors/registry/infra/atoms/std-audit-capture.orb +0 -8
- package/behaviors/registry/infra/atoms/std-cache-aside.orb +0 -84
- package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -44
- package/behaviors/registry/infra/atoms/std-data-erasure.orb +124 -55
- package/behaviors/registry/infra/atoms/std-data-import.orb +12 -11
- package/behaviors/registry/infra/atoms/std-game-clock.orb +31 -0
- package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +0 -57
- package/behaviors/registry/infra/atoms/std-lifecycle.orb +43 -0
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +126 -12
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +128 -12
- package/behaviors/registry/infra/atoms/std-rate-limiter.orb +287 -72
- package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +5 -8
- package/behaviors/registry/ml/atoms/std-graph-builder.orb +11 -0
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +0 -7
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +0 -7
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +82 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +417 -9
- package/behaviors/registry/ui/core/atoms/std-app-search.orb +53 -1
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +209 -19
- package/behaviors/registry/ui/core/atoms/std-board.orb +242 -61
- package/behaviors/registry/ui/core/atoms/std-browse.orb +295 -41
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +96 -2
- package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +122 -15
- package/behaviors/registry/ui/core/atoms/std-esign-request.orb +11 -0
- package/behaviors/registry/ui/core/atoms/std-event-log.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +109 -2
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
- package/behaviors/registry/ui/core/atoms/std-geosearch.orb +5 -0
- package/behaviors/registry/ui/core/atoms/std-graphs.orb +173 -66
- package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-list.orb +226 -34
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +204 -11
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +89 -4
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +419 -19
- package/behaviors/registry/ui/core/atoms/std-selection.orb +140 -10
- package/behaviors/registry/ui/core/atoms/std-stats.orb +73 -1
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +3 -0
- package/behaviors/registry/ui/core/atoms/std-thread.orb +190 -115
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +127 -13
- package/behaviors/registry/ui/core/atoms/std-vote.orb +0 -9
- package/behaviors/registry/ui/core/atoms/std-wizard.orb +33 -3
- package/behaviors/registry/ui/core/atoms/ui-presence.orb +59 -0
- package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-chart.orb +68 -1
- package/behaviors/registry/ui/core/molecules/ui-code-block.orb +291 -8
- package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +87 -2
- package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +3 -2
- package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +32 -0
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +81 -24
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +121 -3
- package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-drawer.orb +40 -0
- package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +57 -1
- package/behaviors/registry/ui/core/molecules/ui-meter.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-modal.orb +8 -0
- package/behaviors/registry/ui/core/molecules/ui-page-header.orb +60 -1
- package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +393 -23
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +189 -3
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +282 -20
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +130 -3
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +130 -3
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +367 -9
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +104 -13
- package/behaviors/registry/ui/core/organisms/ui-form.orb +104 -13
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +121 -3
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +121 -3
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -172
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -1
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +99 -2
- package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -0
- package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +0 -7
- package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -807
- package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +0 -7
- package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +0 -7
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +6 -0
- package/canonical-operators.json +18 -1
- package/dist/behaviors/exports-reader.js +7662 -3762
- package/dist/behaviors/functions/index.d.ts +309 -104
- package/dist/behaviors/functions/index.js +7651 -3762
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +7663 -3763
- package/dist/behaviors/query.js +7662 -3762
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +35 -27
- package/dist/behaviors-registry.json +4402 -1898
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7680 -3763
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +612 -352
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/array.js +15 -0
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +2 -0
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +17 -0
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +2 -2
- package/dist/registry.js +17 -0
- package/dist/{types-Ggla7OK7.d.ts → types-DLx38UFZ.d.ts} +23 -3
- package/package.json +2 -2
|
@@ -104,6 +104,38 @@
|
|
|
104
104
|
"kind": "trait",
|
|
105
105
|
"owner": "workspace",
|
|
106
106
|
"renames": []
|
|
107
|
+
},
|
|
108
|
+
"trt_01M3SFBP546Y99DXZM8G4P315G": {
|
|
109
|
+
"bakedName": "InlineRoleGate2",
|
|
110
|
+
"curName": "InlineRoleGate2",
|
|
111
|
+
"id": "trt_01M3SFBP546Y99DXZM8G4P315G",
|
|
112
|
+
"kind": "trait",
|
|
113
|
+
"owner": "workspace",
|
|
114
|
+
"renames": []
|
|
115
|
+
},
|
|
116
|
+
"trt_01M3SFBP54FZ5X3NJPMNMNBM03": {
|
|
117
|
+
"bakedName": "InlineRoleGate4",
|
|
118
|
+
"curName": "InlineRoleGate4",
|
|
119
|
+
"id": "trt_01M3SFBP54FZ5X3NJPMNMNBM03",
|
|
120
|
+
"kind": "trait",
|
|
121
|
+
"owner": "workspace",
|
|
122
|
+
"renames": []
|
|
123
|
+
},
|
|
124
|
+
"trt_01M3SFBP54H0VTEPAQXHHXAD3K": {
|
|
125
|
+
"bakedName": "InlineButtonRender3",
|
|
126
|
+
"curName": "InlineButtonRender3",
|
|
127
|
+
"id": "trt_01M3SFBP54H0VTEPAQXHHXAD3K",
|
|
128
|
+
"kind": "trait",
|
|
129
|
+
"owner": "workspace",
|
|
130
|
+
"renames": []
|
|
131
|
+
},
|
|
132
|
+
"trt_01M3SFBP54H9K3VTVETMCRBEFS": {
|
|
133
|
+
"bakedName": "InlineButtonRender1",
|
|
134
|
+
"curName": "InlineButtonRender1",
|
|
135
|
+
"id": "trt_01M3SFBP54H9K3VTVETMCRBEFS",
|
|
136
|
+
"kind": "trait",
|
|
137
|
+
"owner": "workspace",
|
|
138
|
+
"renames": []
|
|
107
139
|
}
|
|
108
140
|
},
|
|
109
141
|
"schemaVersion": 1
|
|
@@ -211,6 +243,22 @@
|
|
|
211
243
|
{
|
|
212
244
|
"ref": "BillableHourTimesheet",
|
|
213
245
|
"refId": "trt_01KXG04FQKNW4X2KG5RSG3SYPV"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"ref": "InlineButtonRender1",
|
|
249
|
+
"refId": "trt_01M3SFBP54H9K3VTVETMCRBEFS"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"ref": "InlineRoleGate2",
|
|
253
|
+
"refId": "trt_01M3SFBP546Y99DXZM8G4P315G"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"ref": "InlineButtonRender3",
|
|
257
|
+
"refId": "trt_01M3SFBP54H0VTEPAQXHHXAD3K"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"ref": "InlineRoleGate4",
|
|
261
|
+
"refId": "trt_01M3SFBP54FZ5X3NJPMNMNBM03"
|
|
214
262
|
}
|
|
215
263
|
]
|
|
216
264
|
}
|
|
@@ -241,6 +289,10 @@
|
|
|
241
289
|
"selfFetch": {
|
|
242
290
|
"default": false,
|
|
243
291
|
"type": "unknown"
|
|
292
|
+
},
|
|
293
|
+
"viewerRole": {
|
|
294
|
+
"default": "@config.viewerRole",
|
|
295
|
+
"type": "unknown"
|
|
244
296
|
}
|
|
245
297
|
},
|
|
246
298
|
"id": "trt_01KYGG0J813545ADJDSSED6T49",
|
|
@@ -366,6 +418,16 @@
|
|
|
366
418
|
"tier": "presentation",
|
|
367
419
|
"type": "[ColumnSpec]"
|
|
368
420
|
},
|
|
421
|
+
"invoiceRoles": {
|
|
422
|
+
"default": [],
|
|
423
|
+
"description": "Roles (matched against viewerRole) that see the Invoice button. Empty = everyone.",
|
|
424
|
+
"items": {
|
|
425
|
+
"type": "string"
|
|
426
|
+
},
|
|
427
|
+
"label": "Roles that can invoice",
|
|
428
|
+
"tier": "policy",
|
|
429
|
+
"type": "[string]"
|
|
430
|
+
},
|
|
369
431
|
"itemActions": {
|
|
370
432
|
"default": [
|
|
371
433
|
{
|
|
@@ -403,10 +465,23 @@
|
|
|
403
465
|
"required": false,
|
|
404
466
|
"type": "string"
|
|
405
467
|
},
|
|
468
|
+
"roles": {
|
|
469
|
+
"items": {
|
|
470
|
+
"type": "string"
|
|
471
|
+
},
|
|
472
|
+
"name": "roles",
|
|
473
|
+
"required": false,
|
|
474
|
+
"type": "array"
|
|
475
|
+
},
|
|
406
476
|
"variant": {
|
|
407
477
|
"name": "variant",
|
|
408
478
|
"required": false,
|
|
409
479
|
"type": "string"
|
|
480
|
+
},
|
|
481
|
+
"when": {
|
|
482
|
+
"name": "when",
|
|
483
|
+
"required": false,
|
|
484
|
+
"type": "object"
|
|
410
485
|
}
|
|
411
486
|
},
|
|
412
487
|
"type": "object"
|
|
@@ -449,6 +524,23 @@
|
|
|
449
524
|
"label": "Section title",
|
|
450
525
|
"tier": "presentation",
|
|
451
526
|
"type": "string"
|
|
527
|
+
},
|
|
528
|
+
"viewerRole": {
|
|
529
|
+
"default": "",
|
|
530
|
+
"description": "The signed-in viewer's role that each action's `roles` is checked against. Bind it explicitly at the call site (e.g. `viewerRole: @user.role`) in an app whose identity carries a role; left empty, only actions with no `roles` show.",
|
|
531
|
+
"label": "Viewer's role",
|
|
532
|
+
"tier": "policy",
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
"writeOffRoles": {
|
|
536
|
+
"default": [],
|
|
537
|
+
"description": "Roles (matched against viewerRole) that see the Write Off button. Empty = everyone.",
|
|
538
|
+
"items": {
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"label": "Roles that can write off",
|
|
542
|
+
"tier": "policy",
|
|
543
|
+
"type": "[string]"
|
|
452
544
|
}
|
|
453
545
|
},
|
|
454
546
|
"effectRow": [
|
|
@@ -1231,24 +1323,8 @@
|
|
|
1231
1323
|
{
|
|
1232
1324
|
"align": "center",
|
|
1233
1325
|
"children": [
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
"actionPayload": {
|
|
1237
|
-
"id": "@entity.id"
|
|
1238
|
-
},
|
|
1239
|
-
"label": "Invoice",
|
|
1240
|
-
"type": "button",
|
|
1241
|
-
"variant": "primary"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
"action": "WRITE_OFF_HOURS",
|
|
1245
|
-
"actionPayload": {
|
|
1246
|
-
"id": "@entity.id"
|
|
1247
|
-
},
|
|
1248
|
-
"label": "Write Off",
|
|
1249
|
-
"type": "button",
|
|
1250
|
-
"variant": "danger"
|
|
1251
|
-
}
|
|
1326
|
+
"@trait.InlineRoleGate2",
|
|
1327
|
+
"@trait.InlineRoleGate4"
|
|
1252
1328
|
],
|
|
1253
1329
|
"direction": "horizontal",
|
|
1254
1330
|
"gap": "sm",
|
|
@@ -1470,8 +1546,106 @@
|
|
|
1470
1546
|
]
|
|
1471
1547
|
},
|
|
1472
1548
|
"traitEmbedIds": {
|
|
1473
|
-
"DenseHoursTable": "trt_01KYGG0J813545ADJDSSED6T49"
|
|
1549
|
+
"DenseHoursTable": "trt_01KYGG0J813545ADJDSSED6T49",
|
|
1550
|
+
"InlineRoleGate2": "trt_01M3SFBP546Y99DXZM8G4P315G",
|
|
1551
|
+
"InlineRoleGate4": "trt_01M3SFBP54FZ5X3NJPMNMNBM03"
|
|
1474
1552
|
}
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"config": {
|
|
1556
|
+
"action": {
|
|
1557
|
+
"default": "INVOICE_HOURS",
|
|
1558
|
+
"type": "unknown"
|
|
1559
|
+
},
|
|
1560
|
+
"actionPayload": {
|
|
1561
|
+
"default": {
|
|
1562
|
+
"id": "@callsitePayload.row.id"
|
|
1563
|
+
},
|
|
1564
|
+
"type": "unknown"
|
|
1565
|
+
},
|
|
1566
|
+
"label": {
|
|
1567
|
+
"default": "Invoice",
|
|
1568
|
+
"type": "unknown"
|
|
1569
|
+
},
|
|
1570
|
+
"variant": {
|
|
1571
|
+
"default": "primary",
|
|
1572
|
+
"type": "unknown"
|
|
1573
|
+
}
|
|
1574
|
+
},
|
|
1575
|
+
"id": "trt_01M3SFBP54H9K3VTVETMCRBEFS",
|
|
1576
|
+
"linkedEntity": "BillableHour",
|
|
1577
|
+
"linkedEntityId": "ent_01KXG04FQKJHPT5T65NNKMM8AM",
|
|
1578
|
+
"name": "InlineButtonRender1",
|
|
1579
|
+
"ref": "Button.traits.ButtonRender"
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
"config": {
|
|
1583
|
+
"content": {
|
|
1584
|
+
"default": "@trait.InlineButtonRender1",
|
|
1585
|
+
"type": "unknown"
|
|
1586
|
+
},
|
|
1587
|
+
"roles": {
|
|
1588
|
+
"default": "@config.invoiceRoles",
|
|
1589
|
+
"type": "unknown"
|
|
1590
|
+
},
|
|
1591
|
+
"viewerRole": {
|
|
1592
|
+
"default": "@config.viewerRole",
|
|
1593
|
+
"type": "unknown"
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
"id": "trt_01M3SFBP546Y99DXZM8G4P315G",
|
|
1597
|
+
"linkedEntity": "BillableHour",
|
|
1598
|
+
"linkedEntityId": "ent_01KXG04FQKJHPT5T65NNKMM8AM",
|
|
1599
|
+
"name": "InlineRoleGate2",
|
|
1600
|
+
"ref": "RoleGate.traits.RoleGate"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"config": {
|
|
1604
|
+
"action": {
|
|
1605
|
+
"default": "WRITE_OFF_HOURS",
|
|
1606
|
+
"type": "unknown"
|
|
1607
|
+
},
|
|
1608
|
+
"actionPayload": {
|
|
1609
|
+
"default": {
|
|
1610
|
+
"id": "@callsitePayload.row.id"
|
|
1611
|
+
},
|
|
1612
|
+
"type": "unknown"
|
|
1613
|
+
},
|
|
1614
|
+
"label": {
|
|
1615
|
+
"default": "Write Off",
|
|
1616
|
+
"type": "unknown"
|
|
1617
|
+
},
|
|
1618
|
+
"variant": {
|
|
1619
|
+
"default": "danger",
|
|
1620
|
+
"type": "unknown"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"id": "trt_01M3SFBP54H0VTEPAQXHHXAD3K",
|
|
1624
|
+
"linkedEntity": "BillableHour",
|
|
1625
|
+
"linkedEntityId": "ent_01KXG04FQKJHPT5T65NNKMM8AM",
|
|
1626
|
+
"name": "InlineButtonRender3",
|
|
1627
|
+
"ref": "Button.traits.ButtonRender"
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"config": {
|
|
1631
|
+
"content": {
|
|
1632
|
+
"default": "@trait.InlineButtonRender3",
|
|
1633
|
+
"type": "unknown"
|
|
1634
|
+
},
|
|
1635
|
+
"roles": {
|
|
1636
|
+
"default": "@config.writeOffRoles",
|
|
1637
|
+
"type": "unknown"
|
|
1638
|
+
},
|
|
1639
|
+
"viewerRole": {
|
|
1640
|
+
"default": "@config.viewerRole",
|
|
1641
|
+
"type": "unknown"
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"id": "trt_01M3SFBP54FZ5X3NJPMNMNBM03",
|
|
1645
|
+
"linkedEntity": "BillableHour",
|
|
1646
|
+
"linkedEntityId": "ent_01KXG04FQKJHPT5T65NNKMM8AM",
|
|
1647
|
+
"name": "InlineRoleGate4",
|
|
1648
|
+
"ref": "RoleGate.traits.RoleGate"
|
|
1475
1649
|
}
|
|
1476
1650
|
],
|
|
1477
1651
|
"types": {
|
|
@@ -1535,10 +1709,26 @@
|
|
|
1535
1709
|
{
|
|
1536
1710
|
"name": "icon",
|
|
1537
1711
|
"type": "string"
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"name": "roles",
|
|
1715
|
+
"type": "[string]"
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"name": "when",
|
|
1719
|
+
"type": "SExpr"
|
|
1538
1720
|
}
|
|
1539
1721
|
]
|
|
1540
1722
|
},
|
|
1541
1723
|
"uses": [
|
|
1724
|
+
{
|
|
1725
|
+
"as": "RoleGate",
|
|
1726
|
+
"from": "std/behaviors/std-role-gate"
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"as": "Button",
|
|
1730
|
+
"from": "std/behaviors/ui-button"
|
|
1731
|
+
},
|
|
1542
1732
|
{
|
|
1543
1733
|
"as": "TableView",
|
|
1544
1734
|
"from": "std/behaviors/ui-table-view"
|