@almadar/std 16.235.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.
- package/behaviors/behaviors-registry.json +5621 -1993
- package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +32 -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-migration-job.lolo +2 -2
- package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
- package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +25 -11
- package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
- package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +28 -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 +76 -33
- 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 +32 -5
- package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
- package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +15 -4
- package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
- package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
- 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-image-upload-multi.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
- package/behaviors/lolo/ui/core/atoms/std-list.lolo +53 -32
- package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
- package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
- package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +29 -13
- package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +14 -1
- package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
- package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +84 -16
- package/behaviors/lolo/ui/core/atoms/std-selection.lolo +22 -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 +27 -12
- 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/atoms/ui-time-slot-cell.lolo +36 -0
- package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
- package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
- 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 +11 -6
- 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 +60 -5
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +47 -3
- package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +31 -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-emoji-picker.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
- 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-gantt.lolo +9 -1
- package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
- package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
- package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +7 -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 +57 -5
- package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +87 -16
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +37 -10
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +46 -8
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -10
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +57 -10
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +57 -10
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +22 -3
- package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +38 -5
- package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
- package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -45
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +7 -2
- package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
- package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
- package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +9 -3
- package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
- 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 +194 -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-migration-job.orb +26 -1
- package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
- package/behaviors/registry/infra/atoms/std-notification-preferences.orb +135 -12
- package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
- package/behaviors/registry/infra/atoms/std-permission-matrix.orb +137 -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 +499 -49
- 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 +42 -6
- package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
- package/behaviors/registry/ui/core/atoms/std-file-store.orb +121 -3
- package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
- package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
- 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-image-upload-multi.orb +4 -0
- package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
- package/behaviors/registry/ui/core/atoms/std-list.orb +237 -34
- package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
- package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +275 -14
- package/behaviors/registry/ui/core/atoms/std-recurrence.orb +93 -4
- package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
- package/behaviors/registry/ui/core/atoms/std-saved-search.orb +473 -19
- package/behaviors/registry/ui/core/atoms/std-selection.orb +179 -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 +138 -14
- 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/atoms/ui-time-slot-cell.orb +132 -0
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
- package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
- package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
- 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 +89 -6
- 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 +297 -5
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +261 -3
- package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +93 -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-emoji-picker.orb +0 -1
- package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
- 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-gantt.orb +28 -1
- package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
- package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
- package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-menu.orb +74 -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 +337 -5
- package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +415 -33
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +340 -29
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +296 -20
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +489 -9
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +132 -13
- package/behaviors/registry/ui/core/organisms/ui-form.orb +132 -13
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +141 -3
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
- package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +159 -8
- package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -173
- package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -2
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
- package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
- package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
- package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +100 -3
- package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
- 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 +8942 -3946
- package/dist/behaviors/functions/index.d.ts +419 -132
- package/dist/behaviors/functions/index.js +8931 -3946
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +8943 -3947
- package/dist/behaviors/query.js +8942 -3946
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +49 -41
- package/dist/behaviors-registry.json +5621 -1993
- package/dist/index.d.ts +3 -3
- package/dist/index.js +8960 -3947
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +774 -374
- 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 +3 -3
|
@@ -371,6 +371,72 @@
|
|
|
371
371
|
{
|
|
372
372
|
"category": "interaction",
|
|
373
373
|
"config": {
|
|
374
|
+
"itemActions": {
|
|
375
|
+
"default": [
|
|
376
|
+
{
|
|
377
|
+
"event": "EDIT",
|
|
378
|
+
"icon": "pencil",
|
|
379
|
+
"label": "Edit",
|
|
380
|
+
"variant": "secondary"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"event": "DELETE",
|
|
384
|
+
"icon": "trash-2",
|
|
385
|
+
"label": "Delete",
|
|
386
|
+
"variant": "danger"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"description": "Actions offered on each row; give an item `roles` to show it only to those viewer roles.",
|
|
390
|
+
"items": {
|
|
391
|
+
"properties": {
|
|
392
|
+
"event": {
|
|
393
|
+
"name": "event",
|
|
394
|
+
"required": false,
|
|
395
|
+
"type": "event"
|
|
396
|
+
},
|
|
397
|
+
"icon": {
|
|
398
|
+
"name": "icon",
|
|
399
|
+
"required": false,
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"label": {
|
|
403
|
+
"name": "label",
|
|
404
|
+
"required": true,
|
|
405
|
+
"type": "string"
|
|
406
|
+
},
|
|
407
|
+
"roles": {
|
|
408
|
+
"items": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"name": "roles",
|
|
412
|
+
"required": false,
|
|
413
|
+
"type": "array"
|
|
414
|
+
},
|
|
415
|
+
"variant": {
|
|
416
|
+
"name": "variant",
|
|
417
|
+
"required": false,
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"when": {
|
|
421
|
+
"name": "when",
|
|
422
|
+
"required": false,
|
|
423
|
+
"type": "object"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
"type": "object"
|
|
427
|
+
},
|
|
428
|
+
"label": "Row actions",
|
|
429
|
+
"tier": "presentation",
|
|
430
|
+
"type": "[ItemAction]"
|
|
431
|
+
},
|
|
432
|
+
"itemClickEvent": {
|
|
433
|
+
"default": "EDIT",
|
|
434
|
+
"description": "Event emitted when a row is clicked; opens the preference for editing. Empty disables the row click.",
|
|
435
|
+
"label": "Row click",
|
|
436
|
+
"refId": "evt_01M2HEX5N2Y4V8B010WJDPPY13",
|
|
437
|
+
"tier": "presentation",
|
|
438
|
+
"type": "event"
|
|
439
|
+
},
|
|
374
440
|
"tableLook": {
|
|
375
441
|
"default": "dense",
|
|
376
442
|
"description": "Layer 2 visual treatment for the preference data table rendered by this atom.",
|
|
@@ -391,6 +457,13 @@
|
|
|
391
457
|
"label": "Section title",
|
|
392
458
|
"tier": "presentation",
|
|
393
459
|
"type": "string"
|
|
460
|
+
},
|
|
461
|
+
"viewerRole": {
|
|
462
|
+
"default": "",
|
|
463
|
+
"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.",
|
|
464
|
+
"label": "Viewer's role",
|
|
465
|
+
"tier": "policy",
|
|
466
|
+
"type": "string"
|
|
394
467
|
}
|
|
395
468
|
},
|
|
396
469
|
"effectRow": [
|
|
@@ -1156,19 +1229,40 @@
|
|
|
1156
1229
|
],
|
|
1157
1230
|
"gap": "sm",
|
|
1158
1231
|
"itemActions": [
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1232
|
+
"array/filter",
|
|
1233
|
+
"@config.itemActions",
|
|
1234
|
+
[
|
|
1235
|
+
"fn",
|
|
1236
|
+
"action",
|
|
1237
|
+
[
|
|
1238
|
+
"or",
|
|
1239
|
+
[
|
|
1240
|
+
"=",
|
|
1241
|
+
[
|
|
1242
|
+
"array/len",
|
|
1243
|
+
[
|
|
1244
|
+
"object/get",
|
|
1245
|
+
"@action",
|
|
1246
|
+
"roles",
|
|
1247
|
+
[]
|
|
1248
|
+
]
|
|
1249
|
+
],
|
|
1250
|
+
0.0
|
|
1251
|
+
],
|
|
1252
|
+
[
|
|
1253
|
+
"array/includes",
|
|
1254
|
+
[
|
|
1255
|
+
"object/get",
|
|
1256
|
+
"@action",
|
|
1257
|
+
"roles",
|
|
1258
|
+
[]
|
|
1259
|
+
],
|
|
1260
|
+
"@config.viewerRole"
|
|
1261
|
+
]
|
|
1262
|
+
]
|
|
1263
|
+
]
|
|
1171
1264
|
],
|
|
1265
|
+
"itemClickEvent": "@config.itemClickEvent",
|
|
1172
1266
|
"look": "@config.tableLook",
|
|
1173
1267
|
"type": "data-grid"
|
|
1174
1268
|
}
|
|
@@ -2384,6 +2478,35 @@
|
|
|
2384
2478
|
}
|
|
2385
2479
|
}
|
|
2386
2480
|
],
|
|
2481
|
+
"types": {
|
|
2482
|
+
"ItemAction": [
|
|
2483
|
+
{
|
|
2484
|
+
"name": "label",
|
|
2485
|
+
"required": true,
|
|
2486
|
+
"type": "string"
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"name": "event",
|
|
2490
|
+
"type": "event"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "variant",
|
|
2494
|
+
"type": "string"
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"name": "icon",
|
|
2498
|
+
"type": "string"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "roles",
|
|
2502
|
+
"type": "[string]"
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"name": "when",
|
|
2506
|
+
"type": "SExpr"
|
|
2507
|
+
}
|
|
2508
|
+
]
|
|
2509
|
+
},
|
|
2387
2510
|
"uses": [
|
|
2388
2511
|
{
|
|
2389
2512
|
"as": "Modal",
|
|
@@ -514,17 +514,6 @@
|
|
|
514
514
|
"tier": "policy",
|
|
515
515
|
"type": "number"
|
|
516
516
|
},
|
|
517
|
-
"listensFor": {
|
|
518
|
-
"default": [],
|
|
519
|
-
"description": "Event names that should fire a notification. Set this to the upstream event name (e.g. OrderPlaced, CheckoutCompleted) so this atom listens for events from the orbital that emits them. The orbital owning this trait reacts whenever the named event fires anywhere in the schema.",
|
|
520
|
-
"items": {
|
|
521
|
-
"type": "string"
|
|
522
|
-
},
|
|
523
|
-
"label": "Trigger events",
|
|
524
|
-
"synonyms": "subscribe to event, listen for event, react to event, watch for, wire upstream event, observe event from another orbital, cross-orbital subscription, on-event trigger",
|
|
525
|
-
"tier": "internal",
|
|
526
|
-
"type": "[string]"
|
|
527
|
-
},
|
|
528
517
|
"notifyChannel": {
|
|
529
518
|
"default": "in-app",
|
|
530
519
|
"description": "Delivery channel. `in-app` (default) emits the in-app `notify` toast. `email`/`sms`/`webhook` dispatch through call-service at event time (email.send / twilio.sendSMS / webhook.send) and persist a NotificationRecord audit row with an honest `dispatched` flag: true only once the service call succeeds, false plus the failure detail in `error` otherwise. `push` looks up the recipient's PushSubscription row (captured by std-notification-center's subscribe flow) and dispatches web-push via push.send — a recipient with no subscription records the audit row undispatched (`no-push-subscription`). `webhook` requires `webhookUrl` to actually dispatch; a blank `webhookUrl` still records the audit row undispatched rather than failing. A per-user NotificationPreference row's `channel` overrides this value for that recipient.",
|
|
@@ -484,6 +484,81 @@
|
|
|
484
484
|
"access"
|
|
485
485
|
],
|
|
486
486
|
"category": "interaction",
|
|
487
|
+
"config": {
|
|
488
|
+
"itemActions": {
|
|
489
|
+
"default": [
|
|
490
|
+
{
|
|
491
|
+
"event": "EDIT",
|
|
492
|
+
"icon": "pencil",
|
|
493
|
+
"label": "Edit",
|
|
494
|
+
"variant": "ghost"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"event": "DELETE",
|
|
498
|
+
"icon": "trash",
|
|
499
|
+
"label": "Delete",
|
|
500
|
+
"variant": "danger"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"description": "Actions offered on each row; give an item `roles` to show it only to those viewer roles.",
|
|
504
|
+
"items": {
|
|
505
|
+
"properties": {
|
|
506
|
+
"event": {
|
|
507
|
+
"name": "event",
|
|
508
|
+
"required": false,
|
|
509
|
+
"type": "event"
|
|
510
|
+
},
|
|
511
|
+
"icon": {
|
|
512
|
+
"name": "icon",
|
|
513
|
+
"required": false,
|
|
514
|
+
"type": "string"
|
|
515
|
+
},
|
|
516
|
+
"label": {
|
|
517
|
+
"name": "label",
|
|
518
|
+
"required": true,
|
|
519
|
+
"type": "string"
|
|
520
|
+
},
|
|
521
|
+
"roles": {
|
|
522
|
+
"items": {
|
|
523
|
+
"type": "string"
|
|
524
|
+
},
|
|
525
|
+
"name": "roles",
|
|
526
|
+
"required": false,
|
|
527
|
+
"type": "array"
|
|
528
|
+
},
|
|
529
|
+
"variant": {
|
|
530
|
+
"name": "variant",
|
|
531
|
+
"required": false,
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"when": {
|
|
535
|
+
"name": "when",
|
|
536
|
+
"required": false,
|
|
537
|
+
"type": "object"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"type": "object"
|
|
541
|
+
},
|
|
542
|
+
"label": "Row actions",
|
|
543
|
+
"tier": "presentation",
|
|
544
|
+
"type": "[ItemAction]"
|
|
545
|
+
},
|
|
546
|
+
"itemClickEvent": {
|
|
547
|
+
"default": "EDIT",
|
|
548
|
+
"description": "Event emitted when a row is clicked; opens the grant for editing. Empty disables the row click.",
|
|
549
|
+
"label": "Row click",
|
|
550
|
+
"refId": "evt_01M2HEYQZMXWXQ5M0JAD911R8X",
|
|
551
|
+
"tier": "presentation",
|
|
552
|
+
"type": "event"
|
|
553
|
+
},
|
|
554
|
+
"viewerRole": {
|
|
555
|
+
"default": "",
|
|
556
|
+
"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.",
|
|
557
|
+
"label": "Viewer's role",
|
|
558
|
+
"tier": "policy",
|
|
559
|
+
"type": "string"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
487
562
|
"effectRow": [
|
|
488
563
|
{
|
|
489
564
|
"kind": "fetch",
|
|
@@ -1040,19 +1115,40 @@
|
|
|
1040
1115
|
],
|
|
1041
1116
|
"gap": "sm",
|
|
1042
1117
|
"itemActions": [
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
"
|
|
1047
|
-
"
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1118
|
+
"array/filter",
|
|
1119
|
+
"@config.itemActions",
|
|
1120
|
+
[
|
|
1121
|
+
"fn",
|
|
1122
|
+
"action",
|
|
1123
|
+
[
|
|
1124
|
+
"or",
|
|
1125
|
+
[
|
|
1126
|
+
"=",
|
|
1127
|
+
[
|
|
1128
|
+
"array/len",
|
|
1129
|
+
[
|
|
1130
|
+
"object/get",
|
|
1131
|
+
"@action",
|
|
1132
|
+
"roles",
|
|
1133
|
+
[]
|
|
1134
|
+
]
|
|
1135
|
+
],
|
|
1136
|
+
0.0
|
|
1137
|
+
],
|
|
1138
|
+
[
|
|
1139
|
+
"array/includes",
|
|
1140
|
+
[
|
|
1141
|
+
"object/get",
|
|
1142
|
+
"@action",
|
|
1143
|
+
"roles",
|
|
1144
|
+
[]
|
|
1145
|
+
],
|
|
1146
|
+
"@config.viewerRole"
|
|
1147
|
+
]
|
|
1148
|
+
]
|
|
1149
|
+
]
|
|
1055
1150
|
],
|
|
1151
|
+
"itemClickEvent": "@config.itemClickEvent",
|
|
1056
1152
|
"type": "data-grid"
|
|
1057
1153
|
}
|
|
1058
1154
|
],
|
|
@@ -2196,6 +2292,35 @@
|
|
|
2196
2292
|
}
|
|
2197
2293
|
}
|
|
2198
2294
|
],
|
|
2295
|
+
"types": {
|
|
2296
|
+
"ItemAction": [
|
|
2297
|
+
{
|
|
2298
|
+
"name": "label",
|
|
2299
|
+
"required": true,
|
|
2300
|
+
"type": "string"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "event",
|
|
2304
|
+
"type": "event"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "variant",
|
|
2308
|
+
"type": "string"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"name": "icon",
|
|
2312
|
+
"type": "string"
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"name": "roles",
|
|
2316
|
+
"type": "[string]"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "when",
|
|
2320
|
+
"type": "SExpr"
|
|
2321
|
+
}
|
|
2322
|
+
]
|
|
2323
|
+
},
|
|
2199
2324
|
"uses": [
|
|
2200
2325
|
{
|
|
2201
2326
|
"as": "Modal",
|