@almadar/std 16.209.0 → 16.211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +2 -2
  2. package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +5 -5
  3. package/behaviors/lolo/infra/atoms/std-cascade-on-delete.lolo +7 -1
  4. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +3 -3
  5. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +1 -0
  6. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +40 -41
  7. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +25 -19
  8. package/behaviors/lolo/ui/core/atoms/std-confirmation.lolo +2 -0
  9. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +2 -2
  10. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +1 -1
  11. package/behaviors/lolo/ui/core/atoms/std-modal.lolo +3 -1
  12. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +1 -1
  13. package/behaviors/lolo/ui/core/atoms/std-step-flow.lolo +4 -3
  14. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +1 -4
  15. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +33 -30
  16. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  17. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +1 -1
  18. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +1 -1
  19. package/behaviors/lolo/ui/core/atoms/ui-switch.lolo +1 -1
  20. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +1 -1
  21. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +1 -1
  22. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +2 -2
  23. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +1 -1
  24. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +2 -2
  25. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +2 -2
  26. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +1 -1
  27. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +1 -1
  28. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +1 -1
  29. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +1 -1
  30. package/behaviors/lolo/ui/core/molecules/ui-relation-select.lolo +1 -1
  31. package/behaviors/lolo/ui/core/molecules/ui-rich-text-editor.lolo +1 -1
  32. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +1 -1
  33. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +1 -1
  34. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +1 -1
  35. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +2 -2
  36. package/behaviors/lolo/ui/core/organisms/ui-split-pane.lolo +1 -1
  37. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +126 -0
  38. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +1 -1
  39. package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +10 -10
  40. package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +10 -10
  41. package/behaviors/lolo/ui/game/organisms/std-dungeon-board-2d.lolo +36 -36
  42. package/behaviors/lolo/ui/game/organisms/std-market-board-3d.lolo +36 -36
  43. package/behaviors/lolo/ui/game/organisms/std-objective-board-3d.lolo +34 -34
  44. package/behaviors/lolo/ui/game/organisms/std-survival-board-3d.lolo +10 -10
  45. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +12 -12
  46. package/behaviors/lolo/ui/game/organisms/std-tactics-board-3d.lolo +12 -12
  47. package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +20 -20
  48. package/behaviors/registry/infra/atoms/std-approval-gate.orb +20 -9
  49. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +5 -0
  50. package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +28 -0
  51. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +3 -0
  52. package/behaviors/registry/infra/atoms/std-notification-center.orb +56 -24
  53. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +12 -6
  54. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +20 -0
  55. package/behaviors/registry/ui/core/atoms/std-browse.orb +51 -137
  56. package/behaviors/registry/ui/core/atoms/std-calendar.orb +101 -24
  57. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +44 -18
  58. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +44 -18
  59. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +19 -8
  60. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +20 -9
  61. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -0
  62. package/behaviors/registry/ui/core/atoms/std-modal.orb +52 -24
  63. package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -0
  64. package/behaviors/registry/ui/core/atoms/std-step-flow.orb +0 -3
  65. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +2 -9
  66. package/behaviors/registry/ui/core/atoms/std-thread.orb +134 -40
  67. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -0
  68. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -0
  69. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -0
  70. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -0
  71. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -0
  72. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -0
  73. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +2 -0
  74. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -0
  75. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +2 -0
  76. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +2 -0
  77. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -0
  78. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -0
  79. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -0
  80. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -0
  81. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -0
  82. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -0
  83. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -0
  84. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -0
  85. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -0
  86. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +2 -0
  87. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -0
  88. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +687 -0
  89. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -0
  90. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -30
  91. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +10 -30
  92. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +36 -108
  93. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +36 -108
  94. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +34 -102
  95. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +10 -30
  96. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -36
  97. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +12 -36
  98. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +20 -60
  99. package/dist/behaviors/exports-reader.js +2147 -2212
  100. package/dist/behaviors/functions/index.d.ts +111 -34
  101. package/dist/behaviors/functions/index.js +2145 -2211
  102. package/dist/behaviors/index.d.ts +1 -1
  103. package/dist/behaviors/index.js +2148 -2213
  104. package/dist/behaviors/query.js +2147 -2212
  105. package/dist/behaviors-embeddings.hash.json +3 -3
  106. package/dist/behaviors-embeddings.json +11 -7
  107. package/dist/behaviors-registry.json +997 -759
  108. package/dist/index.d.ts +1 -1
  109. package/dist/index.js +2148 -2213
  110. package/dist/knob-embeddings.hash.json +3 -3
  111. package/dist/knob-embeddings.json +1 -1
  112. package/dist/registry/factory-signatures.json +1 -1
  113. package/package.json +3 -3
@@ -124,22 +124,6 @@
124
124
  "owner": "workspace",
125
125
  "renames": []
126
126
  },
127
- "trt_01KXZ44Y963YXRJDNR4F2M5QHX": {
128
- "bakedName": "DenseTableView",
129
- "curName": "DenseTableView",
130
- "id": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
131
- "kind": "trait",
132
- "owner": "workspace",
133
- "renames": []
134
- },
135
- "trt_01KXZ44Y965J2Q55E5JN4JKVGR": {
136
- "bakedName": "DataGrid1",
137
- "curName": "DataGrid1",
138
- "id": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
139
- "kind": "trait",
140
- "owner": "workspace",
141
- "renames": []
142
- },
143
127
  "trt_01KYG176Z400JFKWZ2XPKJ4798": {
144
128
  "bakedName": "MasterListView",
145
129
  "curName": "MasterListView",
@@ -211,112 +195,6 @@
211
195
  }
212
196
  ],
213
197
  "traits": [
214
- {
215
- "config": {
216
- "cols": {
217
- "default": "@config.cols",
218
- "type": "unknown"
219
- },
220
- "fields": {
221
- "default": "@config.fields",
222
- "type": "unknown"
223
- },
224
- "gap": {
225
- "default": "@config.gap",
226
- "type": "unknown"
227
- },
228
- "imageField": {
229
- "default": "@config.imageField",
230
- "type": "unknown"
231
- },
232
- "itemActions": {
233
- "default": "@config.itemActions",
234
- "type": "unknown"
235
- },
236
- "maxInlineActions": {
237
- "default": "@config.maxInlineActions",
238
- "type": "unknown"
239
- },
240
- "pageSize": {
241
- "default": "@config.displayPageSize",
242
- "type": "unknown"
243
- },
244
- "selfFetch": {
245
- "default": false,
246
- "type": "unknown"
247
- }
248
- },
249
- "id": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
250
- "linkedEntity": "BrowseItem",
251
- "linkedEntityId": "ent_01KXG04FVGGWM52VJZVMAEG5H0",
252
- "listens": [
253
- {
254
- "event": "BrowseItemLoaded",
255
- "source": {
256
- "kind": "trait",
257
- "trait": "BrowseItemBrowse"
258
- },
259
- "triggers": "DataGridLoaded"
260
- }
261
- ],
262
- "name": "DataGrid1",
263
- "ref": "DataGrid.traits.DataGridRender"
264
- },
265
- {
266
- "config": {
267
- "columns": {
268
- "default": "@config.columns",
269
- "type": "unknown"
270
- },
271
- "emptyMessage": {
272
- "default": "No records",
273
- "type": "unknown"
274
- },
275
- "itemActions": {
276
- "default": "@config.itemActions",
277
- "type": "unknown"
278
- },
279
- "itemClickEvent": {
280
- "default": "@config.itemClickEvent",
281
- "type": "unknown"
282
- },
283
- "look": {
284
- "default": "dense",
285
- "type": "unknown"
286
- },
287
- "maxInlineActions": {
288
- "default": "@config.maxInlineActions",
289
- "type": "unknown"
290
- },
291
- "pageSize": {
292
- "default": "@config.displayPageSize",
293
- "type": "unknown"
294
- },
295
- "selectable": {
296
- "default": "@config.selectable",
297
- "type": "unknown"
298
- },
299
- "selfFetch": {
300
- "default": false,
301
- "type": "unknown"
302
- }
303
- },
304
- "id": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
305
- "linkedEntity": "BrowseItem",
306
- "linkedEntityId": "ent_01KXG04FVGGWM52VJZVMAEG5H0",
307
- "listens": [
308
- {
309
- "event": "BrowseItemLoaded",
310
- "source": {
311
- "kind": "trait",
312
- "trait": "BrowseItemBrowse"
313
- },
314
- "triggers": "TableViewLoaded"
315
- }
316
- ],
317
- "name": "DenseTableView",
318
- "ref": "TableView.traits.TableViewRender"
319
- },
320
198
  {
321
199
  "config": {
322
200
  "fields": {
@@ -433,15 +311,24 @@
433
311
  "type": "stack"
434
312
  }
435
313
  ],
436
- "@trait.DataGrid1"
314
+ {
315
+ "cols": "@config.cols",
316
+ "entity": "@payload.data",
317
+ "fields": "@config.fields",
318
+ "gap": "@config.gap",
319
+ "imageField": "@config.imageField",
320
+ "itemActions": "@config.itemActions",
321
+ "maxInlineActions": "@config.maxInlineActions",
322
+ "pageSize": "@config.displayPageSize",
323
+ "type": "data-grid"
324
+ }
437
325
  ],
438
326
  "direction": "vertical",
439
327
  "gap": "md",
440
328
  "type": "stack"
441
329
  },
442
- "description": "Render-ui SExpr rendered after rows load when browseLook = table (the default). Toolbar (search when bodySearch, filter bar when filters is non-empty) above the canonical data-grid call. Until 2026-08-27 this was the only one of the six looks with no search affordance at all. See denseBodyContent/feedBodyContent/galleryBodyContent for the other browseLook bodies; any may be overridden directly while inheriting the same trait, state machine, emits, and listens.",
330
+ "description": "Render-ui SExpr rendered after rows load when browseLook = table (the default). Toolbar (search when bodySearch, filter bar when filters is non-empty) above the canonical data-grid call. Until 2026-08-27 this was the only one of the six looks with no search affordance at all. See denseBodyContent/feedBodyContent/galleryBodyContent for the other browseLook bodies; any may be overridden directly while inheriting the same trait, state machine, emits, and listens. Inlined directly (not via a composed sibling trait) 2026-09-08 — a separately-listening DataGrid1 sibling fired unconditionally on every BrowseItemLoaded regardless of browseLook, racing the correct body for slot main (a listens guard can't gate this: both the Rust interpreter and the TS codegen path restrict a listens guard's context to @payload only, so a browseLook config check there always evaluates undefined).",
443
331
  "label": "Body content tree",
444
- "tier": "internal",
445
332
  "type": "render-ui"
446
333
  },
447
334
  "bodySearch": {
@@ -638,7 +525,18 @@
638
525
  ],
639
526
  {
640
527
  "children": [
641
- "@trait.DenseTableView"
528
+ {
529
+ "columns": "@config.columns",
530
+ "emptyMessage": "No records",
531
+ "entity": "@payload.data",
532
+ "itemActions": "@config.itemActions",
533
+ "itemClickEvent": "@config.itemClickEvent",
534
+ "look": "dense",
535
+ "maxInlineActions": "@config.maxInlineActions",
536
+ "pageSize": "@config.displayPageSize",
537
+ "selectable": "@config.selectable",
538
+ "type": "table-view"
539
+ }
642
540
  ],
643
541
  "className": "overflow-x-auto",
644
542
  "direction": "vertical",
@@ -651,7 +549,7 @@
651
549
  "gap": "none",
652
550
  "type": "stack"
653
551
  },
654
- "description": "Render-ui SExpr rendered after rows load when browseLook = dense. Spreadsheet-style sticky-header data-table with a search bar; composes columns/itemActions/maxInlineActions/displayPageSize/searchPlaceholder. Folded from std-browse-dense (Phase 5.B).",
552
+ "description": "Render-ui SExpr rendered after rows load when browseLook = dense. Spreadsheet-style sticky-header data-table with a search bar; composes columns/itemActions/maxInlineActions/displayPageSize/searchPlaceholder. Folded from std-browse-dense (Phase 5.B). Inlined directly (not via a composed sibling trait) 2026-09-08 — see the table-default body's note for why.",
655
553
  "label": "Dense look body",
656
554
  "tier": "internal",
657
555
  "type": "render-ui"
@@ -1564,6 +1462,10 @@
1564
1462
  {
1565
1463
  "kind": "render-ui",
1566
1464
  "resource": "main"
1465
+ },
1466
+ {
1467
+ "kind": "render-ui",
1468
+ "resource": "toast"
1567
1469
  }
1568
1470
  ],
1569
1471
  "emits": [
@@ -2554,6 +2456,28 @@
2554
2456
  "from": "browsing",
2555
2457
  "to": "browsing"
2556
2458
  },
2459
+ {
2460
+ "effects": [
2461
+ [
2462
+ "render-ui",
2463
+ "toast",
2464
+ {
2465
+ "dismissible": true,
2466
+ "message": [
2467
+ "str/concat",
2468
+ "Couldn't refresh the list — ",
2469
+ "@payload.error"
2470
+ ],
2471
+ "type": "alert",
2472
+ "variant": "error"
2473
+ }
2474
+ ]
2475
+ ],
2476
+ "event": "BrowseItemLoadFailed",
2477
+ "eventId": "evt_01KXG04FVG0WM2ZXGF6DK1KAQ7",
2478
+ "from": "browsing",
2479
+ "to": "browsing"
2480
+ },
2557
2481
  {
2558
2482
  "effects": [
2559
2483
  [
@@ -2623,8 +2547,6 @@
2623
2547
  ]
2624
2548
  },
2625
2549
  "traitEmbedIds": {
2626
- "DataGrid1": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
2627
- "DenseTableView": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
2628
2550
  "MasterListView": "trt_01KYG176Z400JFKWZ2XPKJ4798"
2629
2551
  }
2630
2552
  }
@@ -2764,14 +2686,6 @@
2764
2686
  "as": "Typography",
2765
2687
  "from": "std/behaviors/ui-typography"
2766
2688
  },
2767
- {
2768
- "as": "DataGrid",
2769
- "from": "std/behaviors/ui-data-grid"
2770
- },
2771
- {
2772
- "as": "TableView",
2773
- "from": "std/behaviors/ui-table-view"
2774
- },
2775
2689
  {
2776
2690
  "as": "DataList",
2777
2691
  "from": "std/behaviors/ui-data-list"
@@ -594,30 +594,7 @@
594
594
  },
595
595
  {
596
596
  "entity": "@payload.data",
597
- "fields": [
598
- {
599
- "icon": "calendar",
600
- "label": "Event",
601
- "name": "name",
602
- "variant": "h4"
603
- },
604
- {
605
- "label": "Time",
606
- "name": "time",
607
- "variant": "badge"
608
- },
609
- {
610
- "format": "date",
611
- "label": "Date",
612
- "name": "date",
613
- "variant": "caption"
614
- },
615
- {
616
- "label": "Status",
617
- "name": "status",
618
- "variant": "badge"
619
- }
620
- ],
597
+ "fields": "@config.fields",
621
598
  "itemActions": "@config.agendaItemActions",
622
599
  "look": "@config.tableLook",
623
600
  "type": "data-list"
@@ -659,6 +636,83 @@
659
636
  "tier": "presentation",
660
637
  "type": "string"
661
638
  },
639
+ "fields": {
640
+ "default": [
641
+ {
642
+ "icon": "calendar",
643
+ "label": "Event",
644
+ "name": "name",
645
+ "variant": "h4"
646
+ },
647
+ {
648
+ "label": "Time",
649
+ "name": "time",
650
+ "variant": "badge"
651
+ },
652
+ {
653
+ "format": "date",
654
+ "label": "Date",
655
+ "name": "date",
656
+ "variant": "caption"
657
+ },
658
+ {
659
+ "label": "Status",
660
+ "name": "status",
661
+ "variant": "badge"
662
+ }
663
+ ],
664
+ "description": "Row field descriptors for the 'Upcoming Events' data-list under calendarLook='month'. Rebound hosts must override this — it is a literal entity[field.name] lookup, unlike titleBinding/timeBinding/descriptionBinding (expression bindings), so it does not follow a rebind automatically.",
665
+ "items": {
666
+ "properties": {
667
+ "format": {
668
+ "name": "format",
669
+ "required": false,
670
+ "type": "string",
671
+ "values": [
672
+ "date",
673
+ "currency",
674
+ "number",
675
+ "boolean",
676
+ "percent"
677
+ ]
678
+ },
679
+ "icon": {
680
+ "name": "icon",
681
+ "required": false,
682
+ "type": "string"
683
+ },
684
+ "label": {
685
+ "name": "label",
686
+ "required": false,
687
+ "type": "string"
688
+ },
689
+ "name": {
690
+ "name": "name",
691
+ "required": true,
692
+ "type": "string"
693
+ },
694
+ "variant": {
695
+ "name": "variant",
696
+ "required": false,
697
+ "type": "string",
698
+ "values": [
699
+ "h3",
700
+ "h4",
701
+ "body",
702
+ "caption",
703
+ "badge",
704
+ "small",
705
+ "progress"
706
+ ]
707
+ }
708
+ },
709
+ "type": "object"
710
+ },
711
+ "label": "Upcoming-events columns",
712
+ "synonyms": "upcoming events columns, month view fields, event list columns",
713
+ "tier": "presentation",
714
+ "type": "[FieldSpec]"
715
+ },
662
716
  "filterBarLook": {
663
717
  "default": "toolbar",
664
718
  "description": "Visual treatment for the embedded filter bar, mirroring std-filter's own enum. Only applies when `filters` is non-empty.",
@@ -1712,6 +1766,29 @@
1712
1766
  }
1713
1767
  ],
1714
1768
  "types": {
1769
+ "FieldSpec": [
1770
+ {
1771
+ "name": "name",
1772
+ "required": true,
1773
+ "type": "string"
1774
+ },
1775
+ {
1776
+ "name": "label",
1777
+ "type": "string"
1778
+ },
1779
+ {
1780
+ "name": "variant",
1781
+ "type": "string"
1782
+ },
1783
+ {
1784
+ "name": "icon",
1785
+ "type": "string"
1786
+ },
1787
+ {
1788
+ "name": "format",
1789
+ "type": "string"
1790
+ }
1791
+ ],
1715
1792
  "FilterSpec": [
1716
1793
  {
1717
1794
  "name": "field",
@@ -206,6 +206,10 @@
206
206
  "kind": "render-ui",
207
207
  "resource": "modal"
208
208
  },
209
+ {
210
+ "kind": "render-ui",
211
+ "resource": "toast"
212
+ },
209
213
  {
210
214
  "kind": "set",
211
215
  "resource": "@entity.name"
@@ -319,6 +323,24 @@
319
323
  "key": "INIT",
320
324
  "name": "Initialize"
321
325
  },
326
+ {
327
+ "description": "Indicates failure to load the confirmation action.",
328
+ "id": "evt_01KXG04FYCHXE5EC39ZKQW8ETA",
329
+ "key": "ConfirmActionLoadFailed",
330
+ "name": "ConfirmAction load failed",
331
+ "payloadSchema": [
332
+ {
333
+ "name": "error",
334
+ "type": "string"
335
+ },
336
+ {
337
+ "name": "code",
338
+ "type": "string"
339
+ }
340
+ ],
341
+ "synonyms": "error, failure, failed, problem",
342
+ "tier": "internal"
343
+ },
322
344
  {
323
345
  "description": "A request for confirmation before proceeding.",
324
346
  "id": "evt_01KXG04FYC7ZGXXG1G3NDHJCX6",
@@ -395,24 +417,6 @@
395
417
  "synonyms": "dismiss, decline, reject",
396
418
  "tier": "domain"
397
419
  },
398
- {
399
- "description": "Indicates failure to load the confirmation action.",
400
- "id": "evt_01KXG04FYCHXE5EC39ZKQW8ETA",
401
- "key": "ConfirmActionLoadFailed",
402
- "name": "ConfirmAction load failed",
403
- "payloadSchema": [
404
- {
405
- "name": "error",
406
- "type": "string"
407
- },
408
- {
409
- "name": "code",
410
- "type": "string"
411
- }
412
- ],
413
- "synonyms": "error, failure, failed, problem",
414
- "tier": "internal"
415
- },
416
420
  {
417
421
  "description": "Indicates the confirmation action has been successfully loaded.",
418
422
  "id": "evt_01KXG04FYCT21KVC5HEBG1C4JP",
@@ -483,6 +487,28 @@
483
487
  "from": "idle",
484
488
  "to": "idle"
485
489
  },
490
+ {
491
+ "effects": [
492
+ [
493
+ "render-ui",
494
+ "toast",
495
+ {
496
+ "dismissible": true,
497
+ "message": [
498
+ "str/concat",
499
+ "Couldn't load the item to confirm — ",
500
+ "@payload.error"
501
+ ],
502
+ "type": "alert",
503
+ "variant": "error"
504
+ }
505
+ ]
506
+ ],
507
+ "event": "ConfirmActionLoadFailed",
508
+ "eventId": "evt_01KXG04FYCHXE5EC39ZKQW8ETA",
509
+ "from": "idle",
510
+ "to": "idle"
511
+ },
486
512
  {
487
513
  "effects": [
488
514
  [
@@ -1696,13 +1696,14 @@
1696
1696
  "kind": "call-service",
1697
1697
  "resource": "esign.sendEnvelope"
1698
1698
  },
1699
- {
1700
- "kind": "notify"
1701
- },
1702
1699
  {
1703
1700
  "kind": "persist",
1704
1701
  "resource": "SignatureSession"
1705
1702
  },
1703
+ {
1704
+ "kind": "render-ui",
1705
+ "resource": "toast"
1706
+ },
1706
1707
  {
1707
1708
  "kind": "set",
1708
1709
  "resource": "@entity.id"
@@ -2198,9 +2199,14 @@
2198
2199
  {
2199
2200
  "effects": [
2200
2201
  [
2201
- "notify",
2202
- "info",
2203
- "This request was never dispatched to the e-sign provider — send it first"
2202
+ "render-ui",
2203
+ "toast",
2204
+ {
2205
+ "dismissible": true,
2206
+ "message": "This request was never dispatched to the e-sign provider — send it first",
2207
+ "type": "alert",
2208
+ "variant": "info"
2209
+ }
2204
2210
  ]
2205
2211
  ],
2206
2212
  "event": "CHECK_ENVELOPE_STATUS",
@@ -2217,9 +2223,14 @@
2217
2223
  {
2218
2224
  "effects": [
2219
2225
  [
2220
- "notify",
2221
- "warning",
2222
- "Could not record the envelope state on the request"
2226
+ "render-ui",
2227
+ "toast",
2228
+ {
2229
+ "dismissible": true,
2230
+ "message": "Could not record the envelope state on the request",
2231
+ "type": "alert",
2232
+ "variant": "warning"
2233
+ }
2223
2234
  ]
2224
2235
  ],
2225
2236
  "event": "ENVELOPE_STAMP_FAILED",
@@ -2247,9 +2258,14 @@
2247
2258
  }
2248
2259
  ],
2249
2260
  [
2250
- "notify",
2251
- "success",
2252
- "Signature request sent"
2261
+ "render-ui",
2262
+ "toast",
2263
+ {
2264
+ "dismissible": true,
2265
+ "message": "Signature request sent",
2266
+ "type": "alert",
2267
+ "variant": "success"
2268
+ }
2253
2269
  ]
2254
2270
  ],
2255
2271
  "event": "ENVELOPE_SENT",
@@ -2260,9 +2276,14 @@
2260
2276
  {
2261
2277
  "effects": [
2262
2278
  [
2263
- "notify",
2264
- "warning",
2265
- "Could not send the signature request"
2279
+ "render-ui",
2280
+ "toast",
2281
+ {
2282
+ "dismissible": true,
2283
+ "message": "Could not send the signature request",
2284
+ "type": "alert",
2285
+ "variant": "warning"
2286
+ }
2266
2287
  ]
2267
2288
  ],
2268
2289
  "event": "ENVELOPE_SEND_FAILED",
@@ -2381,9 +2402,14 @@
2381
2402
  {
2382
2403
  "effects": [
2383
2404
  [
2384
- "notify",
2385
- "warning",
2386
- "Could not read the envelope status"
2405
+ "render-ui",
2406
+ "toast",
2407
+ {
2408
+ "dismissible": true,
2409
+ "message": "Could not read the envelope status",
2410
+ "type": "alert",
2411
+ "variant": "warning"
2412
+ }
2387
2413
  ]
2388
2414
  ],
2389
2415
  "event": "ENVELOPE_STATUS_FAILED",
@@ -333,11 +333,12 @@
333
333
  "resource": "ESignRequest"
334
334
  },
335
335
  {
336
- "kind": "notify"
336
+ "kind": "render-ui",
337
+ "resource": "main"
337
338
  },
338
339
  {
339
340
  "kind": "render-ui",
340
- "resource": "main"
341
+ "resource": "toast"
341
342
  },
342
343
  {
343
344
  "kind": "set",
@@ -662,9 +663,14 @@
662
663
  "@payload.id"
663
664
  ],
664
665
  [
665
- "notify",
666
- "Signature request sent",
667
- "success"
666
+ "render-ui",
667
+ "toast",
668
+ {
669
+ "dismissible": true,
670
+ "message": "Signature request sent",
671
+ "type": "alert",
672
+ "variant": "success"
673
+ }
668
674
  ]
669
675
  ],
670
676
  "event": "SEND_REQUEST",
@@ -680,9 +686,14 @@
680
686
  "@payload.id"
681
687
  ],
682
688
  [
683
- "notify",
684
- "Signature request revoked",
685
- "info"
689
+ "render-ui",
690
+ "toast",
691
+ {
692
+ "dismissible": true,
693
+ "message": "Signature request revoked",
694
+ "type": "alert",
695
+ "variant": "info"
696
+ }
686
697
  ]
687
698
  ],
688
699
  "event": "REVOKE_REQUEST",