@almadar/std 16.3.1 → 16.3.2
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/registry/core/atoms/std-step-flow.orb +201 -209
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/core/atoms/std-step-flow.orb +201 -209
- package/dist/behaviors-registry.json +1 -1
- package/dist/registry/core/atoms/std-step-flow.orb +201 -209
- package/package.json +1 -1
|
@@ -360,8 +360,8 @@
|
|
|
360
360
|
"render-ui",
|
|
361
361
|
"main",
|
|
362
362
|
{
|
|
363
|
-
"
|
|
364
|
-
"
|
|
363
|
+
"title": "Loading review…",
|
|
364
|
+
"type": "loading-state"
|
|
365
365
|
}
|
|
366
366
|
]
|
|
367
367
|
]
|
|
@@ -407,6 +407,12 @@
|
|
|
407
407
|
"fn",
|
|
408
408
|
"step",
|
|
409
409
|
{
|
|
410
|
+
"description": [
|
|
411
|
+
"object/get",
|
|
412
|
+
"@step",
|
|
413
|
+
"description",
|
|
414
|
+
""
|
|
415
|
+
],
|
|
410
416
|
"id": [
|
|
411
417
|
"object/get",
|
|
412
418
|
"@step",
|
|
@@ -416,12 +422,6 @@
|
|
|
416
422
|
"object/get",
|
|
417
423
|
"@step",
|
|
418
424
|
"label"
|
|
419
|
-
],
|
|
420
|
-
"description": [
|
|
421
|
-
"object/get",
|
|
422
|
-
"@step",
|
|
423
|
-
"description",
|
|
424
|
-
""
|
|
425
425
|
]
|
|
426
426
|
}
|
|
427
427
|
]
|
|
@@ -558,8 +558,8 @@
|
|
|
558
558
|
"main",
|
|
559
559
|
{
|
|
560
560
|
"message": "@entity.errorMessage",
|
|
561
|
-
"
|
|
562
|
-
"
|
|
561
|
+
"title": "Failed to load",
|
|
562
|
+
"type": "error-state"
|
|
563
563
|
}
|
|
564
564
|
]
|
|
565
565
|
]
|
|
@@ -583,9 +583,9 @@
|
|
|
583
583
|
"render-ui",
|
|
584
584
|
"main",
|
|
585
585
|
{
|
|
586
|
+
"message": "@entity.errorMessage",
|
|
586
587
|
"title": "Save failed",
|
|
587
|
-
"type": "error-state"
|
|
588
|
-
"message": "@entity.errorMessage"
|
|
588
|
+
"type": "error-state"
|
|
589
589
|
}
|
|
590
590
|
]
|
|
591
591
|
]
|
|
@@ -605,19 +605,16 @@
|
|
|
605
605
|
[
|
|
606
606
|
"=",
|
|
607
607
|
[
|
|
608
|
-
"
|
|
608
|
+
"object/get",
|
|
609
609
|
[
|
|
610
|
-
"
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
"allowedRoles",
|
|
617
|
-
[]
|
|
618
|
-
]
|
|
610
|
+
"array/nth",
|
|
611
|
+
"@config.steps",
|
|
612
|
+
"@entity.currentStepIndex"
|
|
613
|
+
],
|
|
614
|
+
"allowedRoles",
|
|
615
|
+
"ANY"
|
|
619
616
|
],
|
|
620
|
-
|
|
617
|
+
"ANY"
|
|
621
618
|
],
|
|
622
619
|
[
|
|
623
620
|
"array/includes",
|
|
@@ -628,8 +625,7 @@
|
|
|
628
625
|
"@config.steps",
|
|
629
626
|
"@entity.currentStepIndex"
|
|
630
627
|
],
|
|
631
|
-
"allowedRoles"
|
|
632
|
-
[]
|
|
628
|
+
"allowedRoles"
|
|
633
629
|
],
|
|
634
630
|
"@user.role"
|
|
635
631
|
]
|
|
@@ -781,19 +777,16 @@
|
|
|
781
777
|
[
|
|
782
778
|
"=",
|
|
783
779
|
[
|
|
784
|
-
"
|
|
780
|
+
"object/get",
|
|
785
781
|
[
|
|
786
|
-
"
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
"allowedRoles",
|
|
793
|
-
[]
|
|
794
|
-
]
|
|
782
|
+
"array/nth",
|
|
783
|
+
"@config.steps",
|
|
784
|
+
"@entity.currentStepIndex"
|
|
785
|
+
],
|
|
786
|
+
"allowedRoles",
|
|
787
|
+
"ANY"
|
|
795
788
|
],
|
|
796
|
-
|
|
789
|
+
"ANY"
|
|
797
790
|
],
|
|
798
791
|
[
|
|
799
792
|
"array/includes",
|
|
@@ -804,8 +797,7 @@
|
|
|
804
797
|
"@config.steps",
|
|
805
798
|
"@entity.currentStepIndex"
|
|
806
799
|
],
|
|
807
|
-
"allowedRoles"
|
|
808
|
-
[]
|
|
800
|
+
"allowedRoles"
|
|
809
801
|
],
|
|
810
802
|
"@user.role"
|
|
811
803
|
]
|
|
@@ -821,46 +813,46 @@
|
|
|
821
813
|
"render-ui",
|
|
822
814
|
"main",
|
|
823
815
|
{
|
|
824
|
-
"align": "center",
|
|
825
|
-
"gap": "lg",
|
|
826
|
-
"type": "stack",
|
|
827
|
-
"direction": "vertical",
|
|
828
816
|
"children": [
|
|
829
817
|
{
|
|
830
|
-
"
|
|
818
|
+
"size": "lg",
|
|
831
819
|
"name": "check-circle",
|
|
832
|
-
"
|
|
820
|
+
"type": "icon"
|
|
833
821
|
},
|
|
834
822
|
{
|
|
835
|
-
"
|
|
823
|
+
"type": "typography",
|
|
836
824
|
"content": "Approved",
|
|
837
|
-
"
|
|
838
|
-
"
|
|
825
|
+
"align": "center",
|
|
826
|
+
"variant": "h2"
|
|
839
827
|
},
|
|
840
828
|
{
|
|
841
829
|
"align": "center",
|
|
842
|
-
"variant": "body",
|
|
843
|
-
"color": "muted",
|
|
844
830
|
"type": "typography",
|
|
845
|
-
"content": "All review steps completed successfully."
|
|
831
|
+
"content": "All review steps completed successfully.",
|
|
832
|
+
"variant": "body",
|
|
833
|
+
"color": "muted"
|
|
846
834
|
},
|
|
847
835
|
{
|
|
848
|
-
"allowNavigation": false,
|
|
849
836
|
"currentStep": "@entity.totalSteps",
|
|
837
|
+
"allowNavigation": false,
|
|
850
838
|
"type": "wizard-progress",
|
|
851
839
|
"steps": "@entity.wizardSteps"
|
|
852
840
|
},
|
|
853
841
|
{
|
|
842
|
+
"variant": "secondary",
|
|
854
843
|
"label": "Start a new review",
|
|
855
844
|
"icon": "rotate-ccw",
|
|
856
|
-
"variant": "secondary",
|
|
857
|
-
"type": "button",
|
|
858
|
-
"action": "RESTART",
|
|
859
845
|
"actionPayload": {
|
|
860
846
|
"id": "@entity.id"
|
|
861
|
-
}
|
|
847
|
+
},
|
|
848
|
+
"type": "button",
|
|
849
|
+
"action": "RESTART"
|
|
862
850
|
}
|
|
863
|
-
]
|
|
851
|
+
],
|
|
852
|
+
"align": "center",
|
|
853
|
+
"type": "stack",
|
|
854
|
+
"direction": "vertical",
|
|
855
|
+
"gap": "lg"
|
|
864
856
|
}
|
|
865
857
|
]
|
|
866
858
|
]
|
|
@@ -1022,8 +1014,7 @@
|
|
|
1022
1014
|
"render-ui",
|
|
1023
1015
|
"main",
|
|
1024
1016
|
{
|
|
1025
|
-
"
|
|
1026
|
-
"type": "stack",
|
|
1017
|
+
"gap": "lg",
|
|
1027
1018
|
"align": "center",
|
|
1028
1019
|
"children": [
|
|
1029
1020
|
{
|
|
@@ -1033,19 +1024,23 @@
|
|
|
1033
1024
|
},
|
|
1034
1025
|
{
|
|
1035
1026
|
"type": "typography",
|
|
1036
|
-
"
|
|
1027
|
+
"align": "center",
|
|
1037
1028
|
"variant": "h2",
|
|
1038
|
-
"
|
|
1029
|
+
"content": "Rejected"
|
|
1039
1030
|
},
|
|
1040
1031
|
{
|
|
1032
|
+
"type": "card",
|
|
1033
|
+
"look": "@config.cardLook",
|
|
1041
1034
|
"children": [
|
|
1042
1035
|
{
|
|
1036
|
+
"direction": "vertical",
|
|
1037
|
+
"type": "stack",
|
|
1043
1038
|
"children": [
|
|
1044
1039
|
{
|
|
1045
|
-
"
|
|
1040
|
+
"content": "Reason",
|
|
1046
1041
|
"variant": "caption",
|
|
1047
1042
|
"type": "typography",
|
|
1048
|
-
"
|
|
1043
|
+
"color": "muted"
|
|
1049
1044
|
},
|
|
1050
1045
|
{
|
|
1051
1046
|
"variant": "body",
|
|
@@ -1053,26 +1048,23 @@
|
|
|
1053
1048
|
"content": "@entity.rejectionReason"
|
|
1054
1049
|
}
|
|
1055
1050
|
],
|
|
1056
|
-
"type": "stack",
|
|
1057
|
-
"direction": "vertical",
|
|
1058
1051
|
"gap": "sm"
|
|
1059
1052
|
}
|
|
1060
|
-
]
|
|
1061
|
-
"type": "card",
|
|
1062
|
-
"look": "@config.cardLook"
|
|
1053
|
+
]
|
|
1063
1054
|
},
|
|
1064
1055
|
{
|
|
1065
|
-
"
|
|
1066
|
-
"variant": "secondary",
|
|
1067
|
-
"icon": "rotate-ccw",
|
|
1056
|
+
"type": "button",
|
|
1068
1057
|
"actionPayload": {
|
|
1069
1058
|
"id": "@entity.id"
|
|
1070
1059
|
},
|
|
1060
|
+
"label": "Start a new review",
|
|
1071
1061
|
"action": "RESTART",
|
|
1072
|
-
"
|
|
1062
|
+
"variant": "secondary",
|
|
1063
|
+
"icon": "rotate-ccw"
|
|
1073
1064
|
}
|
|
1074
1065
|
],
|
|
1075
|
-
"
|
|
1066
|
+
"direction": "vertical",
|
|
1067
|
+
"type": "stack"
|
|
1076
1068
|
}
|
|
1077
1069
|
]
|
|
1078
1070
|
]
|
|
@@ -1091,11 +1083,15 @@
|
|
|
1091
1083
|
"render-ui",
|
|
1092
1084
|
"main",
|
|
1093
1085
|
{
|
|
1086
|
+
"direction": "vertical",
|
|
1087
|
+
"type": "stack",
|
|
1088
|
+
"gap": "lg",
|
|
1089
|
+
"align": "center",
|
|
1094
1090
|
"children": [
|
|
1095
1091
|
{
|
|
1096
|
-
"
|
|
1092
|
+
"name": "alert-triangle",
|
|
1097
1093
|
"type": "icon",
|
|
1098
|
-
"
|
|
1094
|
+
"size": "lg"
|
|
1099
1095
|
},
|
|
1100
1096
|
{
|
|
1101
1097
|
"content": "Escalated",
|
|
@@ -1105,26 +1101,22 @@
|
|
|
1105
1101
|
},
|
|
1106
1102
|
{
|
|
1107
1103
|
"content": "This item has been escalated for further review.",
|
|
1104
|
+
"align": "center",
|
|
1108
1105
|
"type": "typography",
|
|
1109
1106
|
"color": "muted",
|
|
1110
|
-
"variant": "body"
|
|
1111
|
-
"align": "center"
|
|
1107
|
+
"variant": "body"
|
|
1112
1108
|
},
|
|
1113
1109
|
{
|
|
1114
|
-
"label": "Start a new review",
|
|
1115
1110
|
"type": "button",
|
|
1116
|
-
"
|
|
1111
|
+
"label": "Start a new review",
|
|
1112
|
+
"action": "RESTART",
|
|
1117
1113
|
"icon": "rotate-ccw",
|
|
1118
1114
|
"actionPayload": {
|
|
1119
1115
|
"id": "@entity.id"
|
|
1120
1116
|
},
|
|
1121
|
-
"
|
|
1117
|
+
"variant": "secondary"
|
|
1122
1118
|
}
|
|
1123
|
-
]
|
|
1124
|
-
"gap": "lg",
|
|
1125
|
-
"direction": "vertical",
|
|
1126
|
-
"type": "stack",
|
|
1127
|
-
"align": "center"
|
|
1119
|
+
]
|
|
1128
1120
|
}
|
|
1129
1121
|
]
|
|
1130
1122
|
]
|
|
@@ -1198,8 +1190,8 @@
|
|
|
1198
1190
|
"render-ui",
|
|
1199
1191
|
"main",
|
|
1200
1192
|
{
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1193
|
+
"type": "loading-state",
|
|
1194
|
+
"title": "Restarting…"
|
|
1203
1195
|
}
|
|
1204
1196
|
]
|
|
1205
1197
|
]
|
|
@@ -1224,8 +1216,8 @@
|
|
|
1224
1216
|
"StepFlowView",
|
|
1225
1217
|
{
|
|
1226
1218
|
"emit": {
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1219
|
+
"success": "StepItemsLoaded",
|
|
1220
|
+
"failure": "StepItemsLoadFailed"
|
|
1229
1221
|
}
|
|
1230
1222
|
}
|
|
1231
1223
|
],
|
|
@@ -1233,8 +1225,8 @@
|
|
|
1233
1225
|
"render-ui",
|
|
1234
1226
|
"main",
|
|
1235
1227
|
{
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1228
|
+
"type": "loading-state",
|
|
1229
|
+
"title": "Restarting…"
|
|
1238
1230
|
}
|
|
1239
1231
|
]
|
|
1240
1232
|
]
|
|
@@ -1257,6 +1249,22 @@
|
|
|
1257
1249
|
]
|
|
1258
1250
|
},
|
|
1259
1251
|
"config": {
|
|
1252
|
+
"cardLook": {
|
|
1253
|
+
"type": "string",
|
|
1254
|
+
"default": "elevated",
|
|
1255
|
+
"label": "Card look",
|
|
1256
|
+
"description": "Layer 2 visual treatment for cards rendered by this atom.",
|
|
1257
|
+
"tier": "presentation",
|
|
1258
|
+
"values": [
|
|
1259
|
+
"elevated",
|
|
1260
|
+
"flat-bordered",
|
|
1261
|
+
"borderless-divider",
|
|
1262
|
+
"ticket",
|
|
1263
|
+
"invoice",
|
|
1264
|
+
"chip",
|
|
1265
|
+
"tile-image-first"
|
|
1266
|
+
]
|
|
1267
|
+
},
|
|
1260
1268
|
"title": {
|
|
1261
1269
|
"type": "string",
|
|
1262
1270
|
"default": "Review",
|
|
@@ -1264,32 +1272,91 @@
|
|
|
1264
1272
|
"description": "Heading shown above the step progress bar",
|
|
1265
1273
|
"tier": "presentation"
|
|
1266
1274
|
},
|
|
1275
|
+
"steps": {
|
|
1276
|
+
"type": "[StepSpec]",
|
|
1277
|
+
"default": [
|
|
1278
|
+
{
|
|
1279
|
+
"key": "manager",
|
|
1280
|
+
"icon": "user",
|
|
1281
|
+
"description": "Initial review by direct manager",
|
|
1282
|
+
"label": "Manager Review"
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"description": "Department director sign-off",
|
|
1286
|
+
"key": "director",
|
|
1287
|
+
"icon": "users",
|
|
1288
|
+
"label": "Director Approval"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"key": "executive",
|
|
1292
|
+
"description": "Final executive approval",
|
|
1293
|
+
"icon": "shield",
|
|
1294
|
+
"label": "Executive Sign-off"
|
|
1295
|
+
}
|
|
1296
|
+
],
|
|
1297
|
+
"label": "Steps",
|
|
1298
|
+
"description": "Ordered decision steps with label, icon, and optional role gates",
|
|
1299
|
+
"tier": "domain",
|
|
1300
|
+
"items": {
|
|
1301
|
+
"type": "object",
|
|
1302
|
+
"properties": {
|
|
1303
|
+
"key": {
|
|
1304
|
+
"name": "key",
|
|
1305
|
+
"type": "string",
|
|
1306
|
+
"required": false
|
|
1307
|
+
},
|
|
1308
|
+
"label": {
|
|
1309
|
+
"name": "label",
|
|
1310
|
+
"type": "string",
|
|
1311
|
+
"required": true
|
|
1312
|
+
},
|
|
1313
|
+
"icon": {
|
|
1314
|
+
"name": "icon",
|
|
1315
|
+
"type": "string",
|
|
1316
|
+
"required": false
|
|
1317
|
+
},
|
|
1318
|
+
"description": {
|
|
1319
|
+
"name": "description",
|
|
1320
|
+
"type": "string",
|
|
1321
|
+
"required": false
|
|
1322
|
+
},
|
|
1323
|
+
"allowedRoles": {
|
|
1324
|
+
"name": "allowedRoles",
|
|
1325
|
+
"type": "array",
|
|
1326
|
+
"required": false,
|
|
1327
|
+
"items": {
|
|
1328
|
+
"type": "string"
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1267
1334
|
"bodyContent": {
|
|
1268
1335
|
"type": "render-ui",
|
|
1269
1336
|
"default": {
|
|
1270
1337
|
"children": [
|
|
1271
1338
|
{
|
|
1339
|
+
"direction": "horizontal",
|
|
1340
|
+
"type": "stack",
|
|
1341
|
+
"align": "center",
|
|
1342
|
+
"gap": "sm",
|
|
1272
1343
|
"children": [
|
|
1273
1344
|
{
|
|
1274
1345
|
"type": "icon",
|
|
1275
1346
|
"name": "shield-check"
|
|
1276
1347
|
},
|
|
1277
1348
|
{
|
|
1278
|
-
"
|
|
1349
|
+
"variant": "h3",
|
|
1279
1350
|
"content": "@config.title",
|
|
1280
|
-
"
|
|
1351
|
+
"type": "typography"
|
|
1281
1352
|
}
|
|
1282
|
-
]
|
|
1283
|
-
"gap": "sm",
|
|
1284
|
-
"direction": "horizontal",
|
|
1285
|
-
"type": "stack",
|
|
1286
|
-
"align": "center"
|
|
1353
|
+
]
|
|
1287
1354
|
},
|
|
1288
1355
|
{
|
|
1289
1356
|
"steps": "@entity.wizardSteps",
|
|
1290
|
-
"
|
|
1357
|
+
"type": "wizard-progress",
|
|
1291
1358
|
"currentStep": "@entity.currentStepIndex",
|
|
1292
|
-
"
|
|
1359
|
+
"allowNavigation": false
|
|
1293
1360
|
},
|
|
1294
1361
|
{
|
|
1295
1362
|
"look": "@config.cardLook",
|
|
@@ -1298,175 +1365,100 @@
|
|
|
1298
1365
|
{
|
|
1299
1366
|
"children": [
|
|
1300
1367
|
{
|
|
1368
|
+
"align": "center",
|
|
1369
|
+
"type": "stack",
|
|
1301
1370
|
"gap": "sm",
|
|
1371
|
+
"direction": "horizontal",
|
|
1302
1372
|
"children": [
|
|
1303
1373
|
{
|
|
1374
|
+
"type": "icon",
|
|
1304
1375
|
"name": "@entity.currentStepIcon",
|
|
1305
|
-
"size": "lg"
|
|
1306
|
-
"type": "icon"
|
|
1376
|
+
"size": "lg"
|
|
1307
1377
|
},
|
|
1308
1378
|
{
|
|
1309
|
-
"type": "stack",
|
|
1310
1379
|
"children": [
|
|
1311
1380
|
{
|
|
1312
1381
|
"content": "@entity.currentStepLabel",
|
|
1313
|
-
"
|
|
1314
|
-
"
|
|
1382
|
+
"variant": "h2",
|
|
1383
|
+
"type": "typography"
|
|
1315
1384
|
},
|
|
1316
1385
|
{
|
|
1317
1386
|
"variant": "body",
|
|
1318
|
-
"
|
|
1387
|
+
"content": "@entity.currentStepDescription",
|
|
1319
1388
|
"color": "muted",
|
|
1320
|
-
"
|
|
1389
|
+
"type": "typography"
|
|
1321
1390
|
}
|
|
1322
1391
|
],
|
|
1323
1392
|
"direction": "vertical",
|
|
1393
|
+
"type": "stack",
|
|
1324
1394
|
"gap": "xs"
|
|
1325
1395
|
}
|
|
1326
|
-
]
|
|
1327
|
-
"align": "center",
|
|
1328
|
-
"type": "stack",
|
|
1329
|
-
"direction": "horizontal"
|
|
1396
|
+
]
|
|
1330
1397
|
}
|
|
1331
1398
|
],
|
|
1332
|
-
"
|
|
1399
|
+
"direction": "vertical",
|
|
1333
1400
|
"type": "stack",
|
|
1334
|
-
"
|
|
1401
|
+
"gap": "md"
|
|
1335
1402
|
}
|
|
1336
1403
|
]
|
|
1337
1404
|
},
|
|
1338
1405
|
{
|
|
1339
|
-
"gap": "sm",
|
|
1340
|
-
"type": "stack",
|
|
1341
|
-
"direction": "horizontal",
|
|
1342
1406
|
"align": "center",
|
|
1343
1407
|
"children": [
|
|
1344
1408
|
{
|
|
1345
|
-
"
|
|
1346
|
-
"label": "Back",
|
|
1347
|
-
"icon": "chevron-left",
|
|
1348
|
-
"disabled": "@entity.isFirstStep",
|
|
1409
|
+
"variant": "ghost",
|
|
1349
1410
|
"actionPayload": {
|
|
1350
1411
|
"id": "@entity.id"
|
|
1351
1412
|
},
|
|
1413
|
+
"icon": "chevron-left",
|
|
1352
1414
|
"type": "button",
|
|
1353
|
-
"
|
|
1415
|
+
"action": "BACK",
|
|
1416
|
+
"label": "Back",
|
|
1417
|
+
"disabled": "@entity.isFirstStep"
|
|
1354
1418
|
},
|
|
1355
1419
|
{
|
|
1420
|
+
"type": "button",
|
|
1356
1421
|
"variant": "ghost",
|
|
1422
|
+
"action": "REJECT",
|
|
1357
1423
|
"icon": "x",
|
|
1358
1424
|
"actionPayload": {
|
|
1359
1425
|
"id": "@entity.id"
|
|
1360
1426
|
},
|
|
1361
|
-
"action": "REJECT",
|
|
1362
|
-
"type": "button",
|
|
1363
1427
|
"label": "Reject"
|
|
1364
1428
|
},
|
|
1365
1429
|
{
|
|
1430
|
+
"icon": "alert-triangle",
|
|
1431
|
+
"label": "Escalate",
|
|
1432
|
+
"type": "button",
|
|
1366
1433
|
"action": "ESCALATE",
|
|
1434
|
+
"variant": "ghost",
|
|
1367
1435
|
"actionPayload": {
|
|
1368
1436
|
"id": "@entity.id"
|
|
1369
|
-
}
|
|
1370
|
-
"type": "button",
|
|
1371
|
-
"variant": "ghost",
|
|
1372
|
-
"label": "Escalate",
|
|
1373
|
-
"icon": "alert-triangle"
|
|
1437
|
+
}
|
|
1374
1438
|
},
|
|
1375
1439
|
{
|
|
1440
|
+
"variant": "primary",
|
|
1441
|
+
"label": "@entity.primaryActionLabel",
|
|
1376
1442
|
"action": "ADVANCE",
|
|
1377
|
-
"icon": "@entity.primaryActionIcon",
|
|
1378
1443
|
"type": "button",
|
|
1379
|
-
"
|
|
1444
|
+
"icon": "@entity.primaryActionIcon",
|
|
1380
1445
|
"actionPayload": {
|
|
1381
1446
|
"id": "@entity.id"
|
|
1382
|
-
}
|
|
1383
|
-
"label": "@entity.primaryActionLabel"
|
|
1447
|
+
}
|
|
1384
1448
|
}
|
|
1385
|
-
]
|
|
1449
|
+
],
|
|
1450
|
+
"direction": "horizontal",
|
|
1451
|
+
"gap": "sm",
|
|
1452
|
+
"type": "stack"
|
|
1386
1453
|
}
|
|
1387
1454
|
],
|
|
1455
|
+
"gap": "lg",
|
|
1388
1456
|
"type": "stack",
|
|
1389
|
-
"direction": "vertical"
|
|
1390
|
-
"gap": "lg"
|
|
1457
|
+
"direction": "vertical"
|
|
1391
1458
|
},
|
|
1392
1459
|
"label": "Body content tree",
|
|
1393
1460
|
"description": "Render-ui SExpr rendered while the step chain is active (loading-success, running, BACK). Default is the canonical wizard-progress + step-card + action-row tree. Layer 3 variants override this with their own tree (horizontal stepper, sidebar progress, card carousel, etc.) to deliver entirely different step UX while inheriting the same trait, state machine, emits, and listens.",
|
|
1394
1461
|
"tier": "internal"
|
|
1395
|
-
},
|
|
1396
|
-
"steps": {
|
|
1397
|
-
"type": "[StepSpec]",
|
|
1398
|
-
"default": [
|
|
1399
|
-
{
|
|
1400
|
-
"icon": "user",
|
|
1401
|
-
"key": "manager",
|
|
1402
|
-
"description": "Initial review by direct manager",
|
|
1403
|
-
"label": "Manager Review"
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
"label": "Director Approval",
|
|
1407
|
-
"description": "Department director sign-off",
|
|
1408
|
-
"icon": "users",
|
|
1409
|
-
"key": "director"
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"key": "executive",
|
|
1413
|
-
"label": "Executive Sign-off",
|
|
1414
|
-
"description": "Final executive approval",
|
|
1415
|
-
"icon": "shield"
|
|
1416
|
-
}
|
|
1417
|
-
],
|
|
1418
|
-
"label": "Steps",
|
|
1419
|
-
"description": "Ordered decision steps with label, icon, and optional role gates",
|
|
1420
|
-
"tier": "domain",
|
|
1421
|
-
"items": {
|
|
1422
|
-
"type": "object",
|
|
1423
|
-
"properties": {
|
|
1424
|
-
"description": {
|
|
1425
|
-
"name": "description",
|
|
1426
|
-
"type": "string",
|
|
1427
|
-
"required": false
|
|
1428
|
-
},
|
|
1429
|
-
"allowedRoles": {
|
|
1430
|
-
"name": "allowedRoles",
|
|
1431
|
-
"type": "array",
|
|
1432
|
-
"required": false,
|
|
1433
|
-
"items": {
|
|
1434
|
-
"type": "string"
|
|
1435
|
-
}
|
|
1436
|
-
},
|
|
1437
|
-
"icon": {
|
|
1438
|
-
"name": "icon",
|
|
1439
|
-
"type": "string",
|
|
1440
|
-
"required": false
|
|
1441
|
-
},
|
|
1442
|
-
"label": {
|
|
1443
|
-
"name": "label",
|
|
1444
|
-
"type": "string",
|
|
1445
|
-
"required": true
|
|
1446
|
-
},
|
|
1447
|
-
"key": {
|
|
1448
|
-
"name": "key",
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"required": false
|
|
1451
|
-
}
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
},
|
|
1455
|
-
"cardLook": {
|
|
1456
|
-
"type": "string",
|
|
1457
|
-
"default": "elevated",
|
|
1458
|
-
"label": "Card look",
|
|
1459
|
-
"description": "Layer 2 visual treatment for cards rendered by this atom.",
|
|
1460
|
-
"tier": "presentation",
|
|
1461
|
-
"values": [
|
|
1462
|
-
"elevated",
|
|
1463
|
-
"flat-bordered",
|
|
1464
|
-
"borderless-divider",
|
|
1465
|
-
"ticket",
|
|
1466
|
-
"invoice",
|
|
1467
|
-
"chip",
|
|
1468
|
-
"tile-image-first"
|
|
1469
|
-
]
|
|
1470
1462
|
}
|
|
1471
1463
|
},
|
|
1472
1464
|
"scope": "instance"
|