@praxisui/stepper 10.0.0-rc.44 → 10.0.0-rc.45
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/ai/component-registry.json +289 -25
- package/fesm2022/praxisui-stepper.mjs +47 -18
- package/package.json +9 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-14T23:14:13.846Z",
|
|
4
4
|
"packageName": "@praxisui/stepper",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.45",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -1127,37 +1127,142 @@
|
|
|
1127
1127
|
{
|
|
1128
1128
|
"kind": "step",
|
|
1129
1129
|
"resolver": "step-by-id-or-label",
|
|
1130
|
-
"description": "A step in config.steps[]."
|
|
1130
|
+
"description": "A step in config.steps[].",
|
|
1131
|
+
"resolutionSpec": {
|
|
1132
|
+
"allowIndex": false,
|
|
1133
|
+
"strategy": "array-match",
|
|
1134
|
+
"paths": [
|
|
1135
|
+
"steps[]"
|
|
1136
|
+
],
|
|
1137
|
+
"matchFields": [
|
|
1138
|
+
"id",
|
|
1139
|
+
"label",
|
|
1140
|
+
"textLabel",
|
|
1141
|
+
"title"
|
|
1142
|
+
],
|
|
1143
|
+
"inputMatchFields": [
|
|
1144
|
+
"stepId",
|
|
1145
|
+
"id",
|
|
1146
|
+
"label"
|
|
1147
|
+
]
|
|
1148
|
+
}
|
|
1131
1149
|
},
|
|
1132
1150
|
{
|
|
1133
1151
|
"kind": "stepLabel",
|
|
1134
1152
|
"resolver": "step-by-id-or-label",
|
|
1135
|
-
"description": "The visible label of a step."
|
|
1153
|
+
"description": "The visible label of a step.",
|
|
1154
|
+
"resolutionSpec": {
|
|
1155
|
+
"allowIndex": false,
|
|
1156
|
+
"strategy": "array-match",
|
|
1157
|
+
"paths": [
|
|
1158
|
+
"steps[]"
|
|
1159
|
+
],
|
|
1160
|
+
"matchFields": [
|
|
1161
|
+
"id",
|
|
1162
|
+
"label",
|
|
1163
|
+
"textLabel",
|
|
1164
|
+
"title"
|
|
1165
|
+
],
|
|
1166
|
+
"inputMatchFields": [
|
|
1167
|
+
"stepId",
|
|
1168
|
+
"id",
|
|
1169
|
+
"label"
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1136
1172
|
},
|
|
1137
1173
|
{
|
|
1138
1174
|
"kind": "stepContent",
|
|
1139
1175
|
"resolver": "step-content-by-id",
|
|
1140
|
-
"description": "Dynamic form, rich content or advanced widgets hosted inside a step."
|
|
1176
|
+
"description": "Dynamic form, rich content or advanced widgets hosted inside a step.",
|
|
1177
|
+
"resolutionSpec": {
|
|
1178
|
+
"allowIndex": false,
|
|
1179
|
+
"strategy": "array-match",
|
|
1180
|
+
"paths": [
|
|
1181
|
+
"steps[]"
|
|
1182
|
+
],
|
|
1183
|
+
"matchFields": [
|
|
1184
|
+
"id",
|
|
1185
|
+
"label",
|
|
1186
|
+
"textLabel",
|
|
1187
|
+
"title"
|
|
1188
|
+
],
|
|
1189
|
+
"inputMatchFields": [
|
|
1190
|
+
"stepId",
|
|
1191
|
+
"id",
|
|
1192
|
+
"label"
|
|
1193
|
+
]
|
|
1194
|
+
}
|
|
1141
1195
|
},
|
|
1142
1196
|
{
|
|
1143
1197
|
"kind": "navigation",
|
|
1144
1198
|
"resolver": "stepper-navigation-config",
|
|
1145
|
-
"description": "Footer navigation labels, icons, variant, alignment and visibility."
|
|
1199
|
+
"description": "Footer navigation labels, icons, variant, alignment and visibility.",
|
|
1200
|
+
"resolutionSpec": {
|
|
1201
|
+
"allowIndex": false,
|
|
1202
|
+
"strategy": "root-path",
|
|
1203
|
+
"paths": [
|
|
1204
|
+
"navigation",
|
|
1205
|
+
"$"
|
|
1206
|
+
]
|
|
1207
|
+
}
|
|
1146
1208
|
},
|
|
1147
1209
|
{
|
|
1148
1210
|
"kind": "completionRule",
|
|
1149
1211
|
"resolver": "step-by-id-or-label",
|
|
1150
|
-
"description": "Optional/completed/error state metadata for a step."
|
|
1212
|
+
"description": "Optional/completed/error state metadata for a step.",
|
|
1213
|
+
"resolutionSpec": {
|
|
1214
|
+
"allowIndex": false,
|
|
1215
|
+
"strategy": "array-match",
|
|
1216
|
+
"paths": [
|
|
1217
|
+
"steps[]"
|
|
1218
|
+
],
|
|
1219
|
+
"matchFields": [
|
|
1220
|
+
"id",
|
|
1221
|
+
"label",
|
|
1222
|
+
"textLabel",
|
|
1223
|
+
"title"
|
|
1224
|
+
],
|
|
1225
|
+
"inputMatchFields": [
|
|
1226
|
+
"stepId",
|
|
1227
|
+
"id",
|
|
1228
|
+
"label"
|
|
1229
|
+
]
|
|
1230
|
+
}
|
|
1151
1231
|
},
|
|
1152
1232
|
{
|
|
1153
1233
|
"kind": "validationGate",
|
|
1154
1234
|
"resolver": "step-validation-by-id",
|
|
1155
|
-
"description": "Validation gate that controls linear navigation and remote validation delegation."
|
|
1235
|
+
"description": "Validation gate that controls linear navigation and remote validation delegation.",
|
|
1236
|
+
"resolutionSpec": {
|
|
1237
|
+
"allowIndex": false,
|
|
1238
|
+
"strategy": "array-match",
|
|
1239
|
+
"paths": [
|
|
1240
|
+
"steps[]"
|
|
1241
|
+
],
|
|
1242
|
+
"matchFields": [
|
|
1243
|
+
"id",
|
|
1244
|
+
"label",
|
|
1245
|
+
"textLabel",
|
|
1246
|
+
"title"
|
|
1247
|
+
],
|
|
1248
|
+
"inputMatchFields": [
|
|
1249
|
+
"stepId",
|
|
1250
|
+
"id",
|
|
1251
|
+
"label"
|
|
1252
|
+
]
|
|
1253
|
+
}
|
|
1156
1254
|
},
|
|
1157
1255
|
{
|
|
1158
1256
|
"kind": "orientation",
|
|
1159
1257
|
"resolver": "stepper-layout-config",
|
|
1160
|
-
"description": "Stepper orientation, header position and label position."
|
|
1258
|
+
"description": "Stepper orientation, header position and label position.",
|
|
1259
|
+
"resolutionSpec": {
|
|
1260
|
+
"allowIndex": false,
|
|
1261
|
+
"strategy": "root-path",
|
|
1262
|
+
"paths": [
|
|
1263
|
+
"$"
|
|
1264
|
+
]
|
|
1265
|
+
}
|
|
1161
1266
|
}
|
|
1162
1267
|
],
|
|
1163
1268
|
"operations": [
|
|
@@ -1170,7 +1275,15 @@
|
|
|
1170
1275
|
"kind": "step",
|
|
1171
1276
|
"resolver": "steps-array",
|
|
1172
1277
|
"ambiguityPolicy": "fail",
|
|
1173
|
-
"required": false
|
|
1278
|
+
"required": false,
|
|
1279
|
+
"resolutionSpec": {
|
|
1280
|
+
"allowIndex": false,
|
|
1281
|
+
"strategy": "root-path",
|
|
1282
|
+
"paths": [
|
|
1283
|
+
"steps[]",
|
|
1284
|
+
"$"
|
|
1285
|
+
]
|
|
1286
|
+
}
|
|
1174
1287
|
},
|
|
1175
1288
|
"inputSchema": {
|
|
1176
1289
|
"type": "object",
|
|
@@ -1263,7 +1376,25 @@
|
|
|
1263
1376
|
"kind": "step",
|
|
1264
1377
|
"resolver": "step-by-id-or-label",
|
|
1265
1378
|
"ambiguityPolicy": "fail",
|
|
1266
|
-
"required": true
|
|
1379
|
+
"required": true,
|
|
1380
|
+
"resolutionSpec": {
|
|
1381
|
+
"allowIndex": false,
|
|
1382
|
+
"strategy": "array-match",
|
|
1383
|
+
"paths": [
|
|
1384
|
+
"steps[]"
|
|
1385
|
+
],
|
|
1386
|
+
"matchFields": [
|
|
1387
|
+
"id",
|
|
1388
|
+
"label",
|
|
1389
|
+
"textLabel",
|
|
1390
|
+
"title"
|
|
1391
|
+
],
|
|
1392
|
+
"inputMatchFields": [
|
|
1393
|
+
"stepId",
|
|
1394
|
+
"id",
|
|
1395
|
+
"label"
|
|
1396
|
+
]
|
|
1397
|
+
}
|
|
1267
1398
|
},
|
|
1268
1399
|
"inputSchema": {
|
|
1269
1400
|
"type": "object",
|
|
@@ -1277,6 +1408,11 @@
|
|
|
1277
1408
|
{
|
|
1278
1409
|
"kind": "compile-domain-patch",
|
|
1279
1410
|
"handler": "stepper-step-remove",
|
|
1411
|
+
"selectionReconciliation": {
|
|
1412
|
+
"selectedIndexPath": "selectedIndex",
|
|
1413
|
+
"itemKeyField": "id",
|
|
1414
|
+
"onRemovedActive": "clamp"
|
|
1415
|
+
},
|
|
1280
1416
|
"handlerContract": {
|
|
1281
1417
|
"reads": [
|
|
1282
1418
|
"steps[]",
|
|
@@ -1333,7 +1469,25 @@
|
|
|
1333
1469
|
"kind": "stepLabel",
|
|
1334
1470
|
"resolver": "step-by-id-or-label",
|
|
1335
1471
|
"ambiguityPolicy": "fail",
|
|
1336
|
-
"required": true
|
|
1472
|
+
"required": true,
|
|
1473
|
+
"resolutionSpec": {
|
|
1474
|
+
"allowIndex": false,
|
|
1475
|
+
"strategy": "array-match",
|
|
1476
|
+
"paths": [
|
|
1477
|
+
"steps[]"
|
|
1478
|
+
],
|
|
1479
|
+
"matchFields": [
|
|
1480
|
+
"id",
|
|
1481
|
+
"label",
|
|
1482
|
+
"textLabel",
|
|
1483
|
+
"title"
|
|
1484
|
+
],
|
|
1485
|
+
"inputMatchFields": [
|
|
1486
|
+
"stepId",
|
|
1487
|
+
"id",
|
|
1488
|
+
"label"
|
|
1489
|
+
]
|
|
1490
|
+
}
|
|
1337
1491
|
},
|
|
1338
1492
|
"inputSchema": {
|
|
1339
1493
|
"type": "object",
|
|
@@ -1377,7 +1531,25 @@
|
|
|
1377
1531
|
"kind": "step",
|
|
1378
1532
|
"resolver": "step-by-id-or-label",
|
|
1379
1533
|
"ambiguityPolicy": "fail",
|
|
1380
|
-
"required": true
|
|
1534
|
+
"required": true,
|
|
1535
|
+
"resolutionSpec": {
|
|
1536
|
+
"allowIndex": false,
|
|
1537
|
+
"strategy": "array-match",
|
|
1538
|
+
"paths": [
|
|
1539
|
+
"steps[]"
|
|
1540
|
+
],
|
|
1541
|
+
"matchFields": [
|
|
1542
|
+
"id",
|
|
1543
|
+
"label",
|
|
1544
|
+
"textLabel",
|
|
1545
|
+
"title"
|
|
1546
|
+
],
|
|
1547
|
+
"inputMatchFields": [
|
|
1548
|
+
"stepId",
|
|
1549
|
+
"id",
|
|
1550
|
+
"label"
|
|
1551
|
+
]
|
|
1552
|
+
}
|
|
1381
1553
|
},
|
|
1382
1554
|
"inputSchema": {
|
|
1383
1555
|
"type": "object",
|
|
@@ -1394,6 +1566,11 @@
|
|
|
1394
1566
|
{
|
|
1395
1567
|
"kind": "compile-domain-patch",
|
|
1396
1568
|
"handler": "stepper-step-reorder",
|
|
1569
|
+
"selectionReconciliation": {
|
|
1570
|
+
"selectedIndexPath": "selectedIndex",
|
|
1571
|
+
"itemKeyField": "id",
|
|
1572
|
+
"onRemovedActive": "clamp"
|
|
1573
|
+
},
|
|
1397
1574
|
"handlerContract": {
|
|
1398
1575
|
"reads": [
|
|
1399
1576
|
"steps[]",
|
|
@@ -1452,7 +1629,25 @@
|
|
|
1452
1629
|
"kind": "completionRule",
|
|
1453
1630
|
"resolver": "step-by-id-or-label",
|
|
1454
1631
|
"ambiguityPolicy": "fail",
|
|
1455
|
-
"required": true
|
|
1632
|
+
"required": true,
|
|
1633
|
+
"resolutionSpec": {
|
|
1634
|
+
"allowIndex": false,
|
|
1635
|
+
"strategy": "array-match",
|
|
1636
|
+
"paths": [
|
|
1637
|
+
"steps[]"
|
|
1638
|
+
],
|
|
1639
|
+
"matchFields": [
|
|
1640
|
+
"id",
|
|
1641
|
+
"label",
|
|
1642
|
+
"textLabel",
|
|
1643
|
+
"title"
|
|
1644
|
+
],
|
|
1645
|
+
"inputMatchFields": [
|
|
1646
|
+
"stepId",
|
|
1647
|
+
"id",
|
|
1648
|
+
"label"
|
|
1649
|
+
]
|
|
1650
|
+
}
|
|
1456
1651
|
},
|
|
1457
1652
|
"inputSchema": {
|
|
1458
1653
|
"type": "object",
|
|
@@ -1496,7 +1691,25 @@
|
|
|
1496
1691
|
"kind": "completionRule",
|
|
1497
1692
|
"resolver": "step-by-id-or-label",
|
|
1498
1693
|
"ambiguityPolicy": "fail",
|
|
1499
|
-
"required": true
|
|
1694
|
+
"required": true,
|
|
1695
|
+
"resolutionSpec": {
|
|
1696
|
+
"allowIndex": false,
|
|
1697
|
+
"strategy": "array-match",
|
|
1698
|
+
"paths": [
|
|
1699
|
+
"steps[]"
|
|
1700
|
+
],
|
|
1701
|
+
"matchFields": [
|
|
1702
|
+
"id",
|
|
1703
|
+
"label",
|
|
1704
|
+
"textLabel",
|
|
1705
|
+
"title"
|
|
1706
|
+
],
|
|
1707
|
+
"inputMatchFields": [
|
|
1708
|
+
"stepId",
|
|
1709
|
+
"id",
|
|
1710
|
+
"label"
|
|
1711
|
+
]
|
|
1712
|
+
}
|
|
1500
1713
|
},
|
|
1501
1714
|
"inputSchema": {
|
|
1502
1715
|
"type": "object",
|
|
@@ -1549,7 +1762,15 @@
|
|
|
1549
1762
|
"kind": "navigation",
|
|
1550
1763
|
"resolver": "stepper-navigation-config",
|
|
1551
1764
|
"ambiguityPolicy": "fail",
|
|
1552
|
-
"required": true
|
|
1765
|
+
"required": true,
|
|
1766
|
+
"resolutionSpec": {
|
|
1767
|
+
"allowIndex": false,
|
|
1768
|
+
"strategy": "root-path",
|
|
1769
|
+
"paths": [
|
|
1770
|
+
"navigation",
|
|
1771
|
+
"$"
|
|
1772
|
+
]
|
|
1773
|
+
}
|
|
1553
1774
|
},
|
|
1554
1775
|
"inputSchema": {
|
|
1555
1776
|
"type": "object",
|
|
@@ -1639,7 +1860,14 @@
|
|
|
1639
1860
|
"kind": "orientation",
|
|
1640
1861
|
"resolver": "stepper-layout-config",
|
|
1641
1862
|
"ambiguityPolicy": "fail",
|
|
1642
|
-
"required": true
|
|
1863
|
+
"required": true,
|
|
1864
|
+
"resolutionSpec": {
|
|
1865
|
+
"allowIndex": false,
|
|
1866
|
+
"strategy": "root-path",
|
|
1867
|
+
"paths": [
|
|
1868
|
+
"$"
|
|
1869
|
+
]
|
|
1870
|
+
}
|
|
1643
1871
|
},
|
|
1644
1872
|
"inputSchema": {
|
|
1645
1873
|
"type": "object",
|
|
@@ -1719,7 +1947,25 @@
|
|
|
1719
1947
|
"kind": "validationGate",
|
|
1720
1948
|
"resolver": "step-validation-by-id",
|
|
1721
1949
|
"ambiguityPolicy": "fail",
|
|
1722
|
-
"required": true
|
|
1950
|
+
"required": true,
|
|
1951
|
+
"resolutionSpec": {
|
|
1952
|
+
"allowIndex": false,
|
|
1953
|
+
"strategy": "array-match",
|
|
1954
|
+
"paths": [
|
|
1955
|
+
"steps[]"
|
|
1956
|
+
],
|
|
1957
|
+
"matchFields": [
|
|
1958
|
+
"id",
|
|
1959
|
+
"label",
|
|
1960
|
+
"textLabel",
|
|
1961
|
+
"title"
|
|
1962
|
+
],
|
|
1963
|
+
"inputMatchFields": [
|
|
1964
|
+
"stepId",
|
|
1965
|
+
"id",
|
|
1966
|
+
"label"
|
|
1967
|
+
]
|
|
1968
|
+
}
|
|
1723
1969
|
},
|
|
1724
1970
|
"inputSchema": {
|
|
1725
1971
|
"type": "object",
|
|
@@ -1839,7 +2085,25 @@
|
|
|
1839
2085
|
"kind": "stepContent",
|
|
1840
2086
|
"resolver": "step-content-by-id",
|
|
1841
2087
|
"ambiguityPolicy": "fail",
|
|
1842
|
-
"required": true
|
|
2088
|
+
"required": true,
|
|
2089
|
+
"resolutionSpec": {
|
|
2090
|
+
"allowIndex": false,
|
|
2091
|
+
"strategy": "array-match",
|
|
2092
|
+
"paths": [
|
|
2093
|
+
"steps[]"
|
|
2094
|
+
],
|
|
2095
|
+
"matchFields": [
|
|
2096
|
+
"id",
|
|
2097
|
+
"label",
|
|
2098
|
+
"textLabel",
|
|
2099
|
+
"title"
|
|
2100
|
+
],
|
|
2101
|
+
"inputMatchFields": [
|
|
2102
|
+
"stepId",
|
|
2103
|
+
"id",
|
|
2104
|
+
"label"
|
|
2105
|
+
]
|
|
2106
|
+
}
|
|
1843
2107
|
},
|
|
1844
2108
|
"inputSchema": {
|
|
1845
2109
|
"type": "object",
|
|
@@ -2295,9 +2559,9 @@
|
|
|
2295
2559
|
{
|
|
2296
2560
|
"chunkIndex": 15,
|
|
2297
2561
|
"chunkKind": "authoring_manifest",
|
|
2298
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"description\":\"A step in config.steps[].\"},{\"kind\":\"stepLabel\",\"resolver\":\"step-by-id-or-label\",\"description\":\"The visible label of a step.\"},{\"kind\":\"stepContent\",\"resolver\":\"step-content-by-id\",\"description\":\"Dynamic form, rich content or advanced widgets hosted inside a step.\"},{\"kind\":\"navigation\",\"resolver\":\"stepper-navigation-config\",\"description\":\"Footer navigation labels, icons, variant, alignment and visibility.\"},{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"description\":\"Optional/completed/error state metadata for a step.\"},{\"kind\":\"validationGate\",\"resolver\":\"step-validation-by-id\",\"description\":\"Validation gate that controls linear navigation and remote validation delegation.\"},{\"kind\":\"orientation\",\"resolver\":\"stepper-layout-config\",\"description\":\"Stepper orientation, header position and label position.\"}]}",
|
|
2562
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"description\":\"A step in config.steps[].\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},{\"kind\":\"stepLabel\",\"resolver\":\"step-by-id-or-label\",\"description\":\"The visible label of a step.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},{\"kind\":\"stepContent\",\"resolver\":\"step-content-by-id\",\"description\":\"Dynamic form, rich content or advanced widgets hosted inside a step.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},{\"kind\":\"navigation\",\"resolver\":\"stepper-navigation-config\",\"description\":\"Footer navigation labels, icons, variant, alignment and visibility.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"navigation\",\"$\"]}},{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"description\":\"Optional/completed/error state metadata for a step.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},{\"kind\":\"validationGate\",\"resolver\":\"step-validation-by-id\",\"description\":\"Validation gate that controls linear navigation and remote validation delegation.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},{\"kind\":\"orientation\",\"resolver\":\"stepper-layout-config\",\"description\":\"Stepper orientation, header position and label position.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"$\"]}}]}",
|
|
2299
2563
|
"sourcePointer": "projects/praxis-stepper/src/lib/ai/praxis-stepper-authoring-manifest.ts",
|
|
2300
|
-
"contentHash": "
|
|
2564
|
+
"contentHash": "7cb2f4f0c4e46ff9bc48aea79c1e6cddd22be8129ba071aecdb8f10264471870",
|
|
2301
2565
|
"sourceKind": "component_definition",
|
|
2302
2566
|
"sourceId": "praxis-stepper",
|
|
2303
2567
|
"corpusVersion": "1.0.0"
|
|
@@ -2305,9 +2569,9 @@
|
|
|
2305
2569
|
{
|
|
2306
2570
|
"chunkIndex": 16,
|
|
2307
2571
|
"chunkKind": "authoring_manifest",
|
|
2308
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"step.add\",\"title\":\"Add step\",\"scope\":\"global\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"steps-array\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"optional\":{\"type\":\"boolean\"},\"editable\":{\"type\":\"boolean\"},\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"stateIcon\":{\"type\":\"string\"},\"errorMessage\":{\"type\":\"string\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelledby\":{\"type\":\"string\"},\"form\":{\"type\":\"object\"},\"stepBlocksBeforeForm\":{\"type\":\"object\"},\"stepBlocksAfterForm\":{\"type\":\"object\"},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-id-unique\",\"step-order-deterministic\",\"step-content-valid\"],\"affectedPaths\":[\"steps[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"step.remove\",\"title\":\"Remove step\",\"scope\":\"layout\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementStepId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-step-remove\",\"handlerContract\":{\"reads\":[\"steps[]\",\"selectedIndex\"],\"writes\":[\"steps[]\",\"selectedIndex\"],\"identityKeys\":[\"steps[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementStepId\":{\"type\":\"string\"}}},\"failureModes\":[\"step-not-found\",\"replacement-step-not-found\",\"content-removal-not-confirmed\"],\"description\":\"Removes the target step by stable id and recomputes selectedIndex to preserve deterministic navigation state.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"step-exists\",\"selected-step-removal-safe\",\"step-content-removal-confirmed\"],\"affectedPaths\":[\"steps[]\",\"selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\",\"confirmation-collected\"]},{\"operationId\":\"step.label.set\",\"title\":\"Set step label\",\"scope\":\"layout\",\"targetKind\":\"stepLabel\",\"target\":{\"kind\":\"stepLabel\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"label\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-label-valid\"],\"affectedPaths\":[\"steps[].label\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.order.set\",\"title\":\"Reorder steps\",\"scope\":\"layout\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeStepId\"],\"properties\":{\"beforeStepId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-step-reorder\",\"handlerContract\":{\"reads\":[\"steps[]\",\"selectedIndex\"],\"writes\":[\"steps[]\",\"selectedIndex\"],\"identityKeys\":[\"steps[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeStepId\"],\"properties\":{\"beforeStepId\":{\"type\":\"string\"}}},\"failureModes\":[\"step-not-found\",\"before-step-not-found\",\"ambiguous-step-target\"],\"description\":\"Moves the target step before another stable step id and recomputes selectedIndex by preserving selected step identity.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-order-deterministic\",\"selected-index-preserved\"],\"affectedPaths\":[\"steps[]\",\"selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.optional.set\",\"title\":\"Set optional state\",\"scope\":\"interaction\",\"targetKind\":\"completionRule\",\"target\":{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"optional\"],\"properties\":{\"optional\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"completion-rule-compatible\"],\"affectedPaths\":[\"steps[].optional\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.completed.set\",\"title\":\"Set completed state\",\"scope\":\"interaction\",\"targetKind\":\"completionRule\",\"target\":{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"completed\"],\"properties\":{\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"errorMessage\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"completion-rule-compatible\",\"linear-completion-safe\"],\"affectedPaths\":[\"steps[].completed\",\"steps[].hasError\",\"steps[].errorMessage\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"navigation.mode.set\",\"title\":\"Set navigation mode\",\"scope\":\"interaction\",\"targetKind\":\"navigation\",\"target\":{\"kind\":\"navigation\",\"resolver\":\"stepper-navigation-config\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"linear\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\"},\"prevLabel\":{\"type\":\"string\"},\"nextLabel\":{\"type\":\"string\"},\"prevIcon\":{\"type\":\"string\"},\"nextIcon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"basic\",\"flat\",\"stroked\",\"raised\"]},\"color\":{\"enum\":[\"primary\",\"accent\",\"warn\"]},\"align\":{\"enum\":[\"start\",\"center\",\"end\",\"space-between\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"navigation\"},{\"kind\":\"set-value\",\"path\":\"linear\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"navigation-values-valid\",\"linear-navigation-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"navigation.visible\",\"navigation.prevLabel\",\"navigation.nextLabel\",\"navigation.prevIcon\",\"navigation.nextIcon\",\"navigation.variant\",\"navigation.color\",\"navigation.align\",\"linear\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}
|
|
2572
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"step.add\",\"title\":\"Add step\",\"scope\":\"global\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"steps-array\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"steps[]\",\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"optional\":{\"type\":\"boolean\"},\"editable\":{\"type\":\"boolean\"},\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"stateIcon\":{\"type\":\"string\"},\"errorMessage\":{\"type\":\"string\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelledby\":{\"type\":\"string\"},\"form\":{\"type\":\"object\"},\"stepBlocksBeforeForm\":{\"type\":\"object\"},\"stepBlocksAfterForm\":{\"type\":\"object\"},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-id-unique\",\"step-order-deterministic\",\"step-content-valid\"],\"affectedPaths\":[\"steps[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"step.remove\",\"title\":\"Remove step\",\"scope\":\"layout\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementStepId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-step-remove\",\"selectionReconciliation\":{\"selectedIndexPath\":\"selectedIndex\",\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"},\"handlerContract\":{\"reads\":[\"steps[]\",\"selectedIndex\"],\"writes\":[\"steps[]\",\"selectedIndex\"],\"identityKeys\":[\"steps[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementStepId\":{\"type\":\"string\"}}},\"failureModes\":[\"step-not-found\",\"replacement-step-not-found\",\"content-removal-not-confirmed\"],\"description\":\"Removes the target step by stable id and recomputes selectedIndex to preserve deterministic navigation state.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"step-exists\",\"selected-step-removal-safe\",\"step-content-removal-confirmed\"],\"affectedPaths\":[\"steps[]\",\"selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\",\"confirmation-collected\"]},{\"operationId\":\"step.label.set\",\"title\":\"Set step label\",\"scope\":\"layout\",\"targetKind\":\"stepLabel\",\"target\":{\"kind\":\"stepLabel\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"label\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-label-valid\"],\"affectedPaths\":[\"steps[].label\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.order.set\",\"title\":\"Reorder steps\",\"scope\":\"layout\",\"targetKind\":\"step\",\"target\":{\"kind\":\"step\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeStepId\"],\"properties\":{\"beforeStepId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-step-reorder\",\"selectionReconciliation\":{\"selectedIndexPath\":\"selectedIndex\",\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"},\"handlerContract\":{\"reads\":[\"steps[]\",\"selectedIndex\"],\"writes\":[\"steps[]\",\"selectedIndex\"],\"identityKeys\":[\"steps[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeStepId\"],\"properties\":{\"beforeStepId\":{\"type\":\"string\"}}},\"failureModes\":[\"step-not-found\",\"before-step-not-found\",\"ambiguous-step-target\"],\"description\":\"Moves the target step before another stable step id and recomputes selectedIndex by preserving selected step identity.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-order-deterministic\",\"selected-index-preserved\"],\"affectedPaths\":[\"steps[]\",\"selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.optional.set\",\"title\":\"Set optional state\",\"scope\":\"interaction\",\"targetKind\":\"completionRule\",\"target\":{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"optional\"],\"properties\":{\"optional\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"completion-rule-compatible\"],\"affectedPaths\":[\"steps[].optional\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.completed.set\",\"title\":\"Set completed state\",\"scope\":\"interaction\",\"targetKind\":\"completionRule\",\"target\":{\"kind\":\"completionRule\",\"resolver\":\"step-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"completed\"],\"properties\":{\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"errorMessage\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"completion-rule-compatible\",\"linear-completion-safe\"],\"affectedPaths\":[\"steps[].completed\",\"steps[].hasError\",\"steps[].errorMessage\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"navigation.mode.set\",\"title\":\"Set navigation mode\",\"scope\":\"interaction\",\"targetKind\":\"navigation\",\"target\":{\"kind\":\"navigation\",\"resolver\":\"stepper-navigation-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"navigation\",\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"linear\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\"},\"prevLabel\":{\"type\":\"string\"},\"nextLabel\":{\"type\":\"string\"},\"prevIcon\":{\"type\":\"string\"},\"nextIcon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"basic\",\"flat\",\"stroked\",\"raised\"]},\"color\":{\"enum\":[\"primary\",\"accent\",\"warn\"]},\"align\":{\"enum\":[\"start\",\"center\",\"end\",\"space-between\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"navigation\"},{\"kind\":\"set-value\",\"path\":\"linear\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"navigation-values-valid\",\"linear-navigation-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"navigation.visible\",\"navigation.prevLabel\",\"navigation.nextLabel\",\"navigation.prevIcon\",\"navigation.nextIcon\",\"navigation.variant\",\"navigation.color\",\"navigation.align\",\"linear\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
|
|
2309
2573
|
"sourcePointer": "projects/praxis-stepper/src/lib/ai/praxis-stepper-authoring-manifest.ts",
|
|
2310
|
-
"contentHash": "
|
|
2574
|
+
"contentHash": "40baf8841304f5ec25faf7065400ed8c79dc37bc3757300c091ad43cbc072c9d",
|
|
2311
2575
|
"sourceKind": "component_definition",
|
|
2312
2576
|
"sourceId": "praxis-stepper",
|
|
2313
2577
|
"corpusVersion": "1.0.0"
|
|
@@ -2315,9 +2579,9 @@
|
|
|
2315
2579
|
{
|
|
2316
2580
|
"chunkIndex": 17,
|
|
2317
2581
|
"chunkKind": "authoring_manifest",
|
|
2318
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"validation.rule.add\",\"title\":\"Add validation rule\",\"scope\":\"rule\",\"targetKind\":\"validationGate\",\"target\":{\"kind\":\"validationGate\",\"resolver\":\"step-validation-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"stepId\",\"rule\"],\"properties\":{\"stepId\":{\"type\":\"string\"},\"fieldName\":{\"type\":\"string\"},\"childComponentId\":{\"type\":\"string\"},\"rule\":{\"type\":\"object\"},\"message\":{\"type\":\"string\"},\"remote\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-validation-rule-upsert\",\"handlerContract\":{\"reads\":[\"steps[]\",\"steps[].form\",\"steps[].form.config\",\"steps[].widgets\",\"linear\"],\"writes\":[\"steps[].form.config\",\"steps[].form.config.sections\",\"steps[].form.config.fieldMetadata\",\"steps[].hasError\",\"steps[].errorMessage\"],\"identityKeys\":[\"steps[].id\",\"steps[].form.formId\",\"steps[].widgets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"stepId\",\"rule\"],\"properties\":{\"stepId\":{\"type\":\"string\"},\"fieldName\":{\"type\":\"string\"},\"childComponentId\":{\"type\":\"string\"},\"rule\":{\"type\":\"object\"},\"message\":{\"type\":\"string\"},\"remote\":{\"type\":\"boolean\"}}},\"failureModes\":[\"step-not-found\",\"validation-target-not-found\",\"dynamic-form-config-missing\",\"remote-validation-requires-host-serverValidate\"],\"description\":\"Projects a validation rule into the step dynamic-form config or delegates it to the host serverValidate gate without redefining child component contracts.\"}}],\"validators\":[\"step-exists\",\"validation-rule-target-exists\",\"validation-rule-compatible\",\"server-validation-delegated\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"steps[].form.config\",\"steps[].form.config.sections\",\"steps[].form.config.fieldMetadata\",\"steps[].hasError\",\"steps[].errorMessage\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.content.set\",\"title\":\"Set step content\",\"scope\":\"layout\",\"targetKind\":\"stepContent\",\"target\":{\"kind\":\"stepContent\",\"resolver\":\"step-content-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"optional\":{\"type\":\"boolean\"},\"editable\":{\"type\":\"boolean\"},\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"stateIcon\":{\"type\":\"string\"},\"errorMessage\":{\"type\":\"string\"},\"form\":{\"type\":\"object\"},\"stepBlocksBeforeForm\":{\"type\":\"object\"},\"stepBlocksAfterForm\":{\"type\":\"object\"},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-content-valid\",\"nested-widget-contract-delegated\"],\"affectedPaths\":[\"steps[].form\",\"steps[].stepBlocksBeforeForm\",\"steps[].stepBlocksAfterForm\",\"steps[].widgets\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]}]}",
|
|
2582
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-stepper\",\"ownerPackage\":\"@praxisui/stepper\",\"configSchemaId\":\"StepperMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"orientation.set\",\"title\":\"Set orientation\",\"scope\":\"layout\",\"targetKind\":\"orientation\",\"target\":{\"kind\":\"orientation\",\"resolver\":\"stepper-layout-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"orientation\"],\"properties\":{\"orientation\":{\"enum\":[\"horizontal\",\"vertical\"]},\"headerPosition\":{\"enum\":[\"top\",\"bottom\"]},\"labelPosition\":{\"enum\":[\"bottom\",\"end\"]},\"density\":{\"enum\":[\"default\",\"comfortable\",\"compact\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"orientation\"},{\"kind\":\"set-value\",\"path\":\"headerPosition\"},{\"kind\":\"set-value\",\"path\":\"labelPosition\"},{\"kind\":\"set-value\",\"path\":\"density\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"orientation-values-valid\",\"label-position-compatible\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"orientation\",\"headerPosition\",\"labelPosition\",\"density\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"validation.rule.add\",\"title\":\"Add validation rule\",\"scope\":\"rule\",\"targetKind\":\"validationGate\",\"target\":{\"kind\":\"validationGate\",\"resolver\":\"step-validation-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"stepId\",\"rule\"],\"properties\":{\"stepId\":{\"type\":\"string\"},\"fieldName\":{\"type\":\"string\"},\"childComponentId\":{\"type\":\"string\"},\"rule\":{\"type\":\"object\"},\"message\":{\"type\":\"string\"},\"remote\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"stepper-validation-rule-upsert\",\"handlerContract\":{\"reads\":[\"steps[]\",\"steps[].form\",\"steps[].form.config\",\"steps[].widgets\",\"linear\"],\"writes\":[\"steps[].form.config\",\"steps[].form.config.sections\",\"steps[].form.config.fieldMetadata\",\"steps[].hasError\",\"steps[].errorMessage\"],\"identityKeys\":[\"steps[].id\",\"steps[].form.formId\",\"steps[].widgets[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"stepId\",\"rule\"],\"properties\":{\"stepId\":{\"type\":\"string\"},\"fieldName\":{\"type\":\"string\"},\"childComponentId\":{\"type\":\"string\"},\"rule\":{\"type\":\"object\"},\"message\":{\"type\":\"string\"},\"remote\":{\"type\":\"boolean\"}}},\"failureModes\":[\"step-not-found\",\"validation-target-not-found\",\"dynamic-form-config-missing\",\"remote-validation-requires-host-serverValidate\"],\"description\":\"Projects a validation rule into the step dynamic-form config or delegates it to the host serverValidate gate without redefining child component contracts.\"}}],\"validators\":[\"step-exists\",\"validation-rule-target-exists\",\"validation-rule-compatible\",\"server-validation-delegated\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"steps[].form.config\",\"steps[].form.config.sections\",\"steps[].form.config.fieldMetadata\",\"steps[].hasError\",\"steps[].errorMessage\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]},{\"operationId\":\"step.content.set\",\"title\":\"Set step content\",\"scope\":\"layout\",\"targetKind\":\"stepContent\",\"target\":{\"kind\":\"stepContent\",\"resolver\":\"step-content-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"steps[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"stepId\",\"id\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"optional\":{\"type\":\"boolean\"},\"editable\":{\"type\":\"boolean\"},\"completed\":{\"type\":\"boolean\"},\"hasError\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"stateIcon\":{\"type\":\"string\"},\"errorMessage\":{\"type\":\"string\"},\"form\":{\"type\":\"object\"},\"stepBlocksBeforeForm\":{\"type\":\"object\"},\"stepBlocksAfterForm\":{\"type\":\"object\"},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"steps[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"step-exists\",\"step-content-valid\",\"nested-widget-contract-delegated\"],\"affectedPaths\":[\"steps[].form\",\"steps[].stepBlocksBeforeForm\",\"steps[].stepBlocksAfterForm\",\"steps[].widgets\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-step-exists\"]}]}",
|
|
2319
2583
|
"sourcePointer": "projects/praxis-stepper/src/lib/ai/praxis-stepper-authoring-manifest.ts",
|
|
2320
|
-
"contentHash": "
|
|
2584
|
+
"contentHash": "6075384f9c9c9247ae726990cf3ea7e9438def771f9fc273ca3b04d31e786df2",
|
|
2321
2585
|
"sourceKind": "component_definition",
|
|
2322
2586
|
"sourceId": "praxis-stepper",
|
|
2323
2587
|
"corpusVersion": "1.0.0"
|
|
@@ -1848,7 +1848,7 @@ class PraxisStepper {
|
|
|
1848
1848
|
<mat-icon fontIcon="edit"></mat-icon>
|
|
1849
1849
|
</button>
|
|
1850
1850
|
}
|
|
1851
|
-
`, isInline: true, styles: [":host{display:block;position:relative}.praxis-stepper{width:100%;background:var(--md-sys-color-surface);border:1px solid var(--md-sys-color-outline-variant);border-radius:16px;padding:12px;box-shadow:var(--mat-elevation-level1)}.praxis-stepper.pdx-stepper-ft-light{background:transparent;border:none;border-radius:0;padding:0;box-shadow:none}:host(.density-compact) ::ng-deep .mat-step-header{min-height:36px}:host(.density-compact) .pdx-step-actions{padding-top:4px;gap:6px}:host(.density-comfortable) ::ng-deep .mat-step-header{min-height:44px}.pdx-step-content{padding:12px 4px 8px;color:var(--md-sys-color-on-surface)}.pdx-step-actions{display:flex;gap:8px;padding-top:8px}::ng-deep .praxis-stepper .mat-step-header{border-radius:999px;margin:4px 0;color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-label{color:var(--md-sys-color-on-surface);opacity:1}::ng-deep .praxis-stepper .mat-step-label.mat-step-label-active{color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-label.mat-step-label-selected{color:var(--md-sys-color-on-surface);font-weight:600}::ng-deep .praxis-stepper .mat-step-optional{color:var(--md-sys-color-on-surface);opacity:1}::ng-deep .praxis-stepper .mat-step-header.cdk-keyboard-focused,::ng-deep .praxis-stepper .mat-step-header.cdk-program-focused{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}::ng-deep .praxis-stepper .mat-step-icon{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-icon-selected{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}::ng-deep .praxis-stepper .mat-step-icon-state-done{background:var(--md-sys-color-tertiary);color:var(--md-sys-color-on-tertiary)}::ng-deep .praxis-stepper .mat-step-icon-state-error{background:var(--md-sys-color-error);color:var(--md-sys-color-on-error)}::ng-deep .praxis-stepper .mat-stepper-horizontal-line{border-top-color:var(--md-sys-color-outline-variant)}::ng-deep .praxis-stepper .mat-stepper-vertical-line:before{border-left-color:var(--md-sys-color-outline-variant)}::ng-deep .pdx-stepper-ft-light .mat-stepper-horizontal{background:transparent;--mat-stepper-header-hover-state-layer-color: color-mix( in srgb, var(--md-sys-color-on-surface) 8%, transparent );--mat-stepper-header-focus-state-layer-color: transparent;--mat-stepper-header-hover-state-layer-shape: 14px;--mat-stepper-header-focus-state-layer-shape: 14px}::ng-deep .pdx-stepper-ft-light .mat-step-header{margin:0}::ng-deep .pdx-stepper-ft-light .mat-step-header .mat-step-header-ripple{display:none}::ng-deep .ft-stepper{background:transparent}.ft-stepper-content{padding:0}.ft-stepper-content .form-section{border:none;padding:0;background:transparent}.nav-align-start{justify-content:flex-start}.nav-align-center{justify-content:center}.nav-align-end{justify-content:flex-end}.nav-align-space-between{justify-content:space-between}.edit-fab{position:absolute;right:12px;bottom:12px;z-index:2}.stepper-ai-assistant{position:absolute;right:12px;bottom:72px;z-index:3}.stepper-ai-assistant-trigger{box-shadow:var( --md-sys-elevation-level2, 0 4px 12px rgba(0, 0, 0, .18) )}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatStepperModule }, { kind: "component", type: i2.MatStep, selector: "mat-step", inputs: ["color"], exportAs: ["matStep"] }, { kind: "directive", type: i2.MatStepLabel, selector: "[matStepLabel]" }, { kind: "component", type: i2.MatStepper, selector: "mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]", inputs: ["disableRipple", "color", "labelPosition", "headerPosition", "aria-label", "headerPrefix", "animationDuration"], outputs: ["animationDone"], exportAs: ["matStepper", "matVerticalStepper", "matHorizontalStepper"] }, { kind: "directive", type: i2.MatStepperIcon, selector: "ng-template[matStepperIcon]", inputs: ["matStepperIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisDynamicForm, selector: "praxis-dynamic-form", inputs: ["resourcePath", "resourceId", "initialValue", "emptyState", "editorialContext", "mode", "config", "actions", "schemaSource", "actionId", "operationId", "schemaUrl", "readUrl", "submitUrl", "submitMethod", "submitIdempotencyKey", "submitCorrelationId", "submitResourceVersion", "submitResourceVersionTargetResourceKey", "submitResourceVersionTargetIdField", "responseSchemaUrl", "apiEndpointKey", "apiUrlEntry", "enableCustomization", "showAiAssistant", "formId", "componentInstanceId", "configPersistenceStrategy", "layout", "layoutMode", "formLayout", "generatedLayoutPreset", "layoutPolicy", "backConfig", "hooks", "removeEmptyContainersOnSave", "reactiveValidation", "reactiveValidationDebounceMs", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "readonlyModeGlobal", "disabledModeGlobal", "presentationModeGlobal", "presentation", "presentationPreset", "sectionDefaultAppearance", "sectionDivider", "visibleGlobal", "fieldIconPolicy", "domainRules", "customEndpoints"], outputs: ["formSubmit", "formCancel", "formReset", "configChange", "configPatchChange", "formReady", "valueChange", "payloadPreviewChange", "syncCompleted", "initializationError", "loadingStateChange", "enableCustomizationChange", "customAction", "actionConfirmation", "schemaStatusChange", "fieldRenderError", "ruleDiagnosticsChange", "reactiveDeterminationExecuted", "reactiveDeterminationPendingChange", "tabChange", "tabSelected"] }, { kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: EmptyStateCardComponent, selector: "praxis-empty-state-card", inputs: ["icon", "title", "description", "primaryAction", "secondaryActions", "inline", "tone", "variant", "alignment", "density", "iconContainer"] }, { kind: "component", type: PraxisAiAssistantShellComponent, selector: "praxis-ai-assistant-shell", inputs: ["labels", "mode", "state", "contextItems", "attachments", "messages", "quickReplies", "recommendedIntents", "prompt", "statusText", "errorText", "testIdPrefix", "panelTestId", "submitTestId", "applyTestId", "primaryAction", "secondaryActions", "governanceActions", "busy", "canSubmit", "canApply", "preview", "submitOnEnter", "showAttachAction", "enablePastedAttachments", "enableFileAttachments", "attachmentAccept", "attachmentMultiple", "voiceInputMode", "voiceLanguage", "draggable", "resizable", "minWidth", "minHeight", "margin", "layout"], outputs: ["promptChange", "submitPrompt", "apply", "retryTurn", "cancelTurn", "shellAction", "close", "attach", "attachmentsPasted", "attachmentsSelected", "removeAttachment", "messageAction", "editMessage", "resendMessage", "quickReply", "recommendedIntent", "layoutChange"] }, { kind: "component", type: PraxisRichContent, selector: "praxis-rich-content", inputs: ["document", "nodes", "context", "hostCapabilities", "layout", "rootClassName"], outputs: ["nodeAction"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1851
|
+
`, isInline: true, styles: [":host{display:block;position:relative}.praxis-stepper{width:100%;background:var(--md-sys-color-surface);border:1px solid var(--md-sys-color-outline-variant);border-radius:16px;padding:12px;box-shadow:var(--mat-elevation-level1)}.praxis-stepper.pdx-stepper-ft-light{background:transparent;border:none;border-radius:0;padding:0;box-shadow:none}:host(.density-compact) ::ng-deep .mat-step-header{min-height:36px}:host(.density-compact) .pdx-step-actions{padding-top:4px;gap:6px}:host(.density-comfortable) ::ng-deep .mat-step-header{min-height:44px}.pdx-step-content{padding:12px 4px 8px;color:var(--md-sys-color-on-surface)}.pdx-step-actions{display:flex;gap:8px;padding-top:8px}::ng-deep .praxis-stepper .mat-step-header{border-radius:999px;margin:4px 0;color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-label{color:var(--md-sys-color-on-surface);opacity:1}::ng-deep .praxis-stepper .mat-step-label.mat-step-label-active{color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-label.mat-step-label-selected{color:var(--md-sys-color-on-surface);font-weight:600}::ng-deep .praxis-stepper .mat-step-optional{color:var(--md-sys-color-on-surface);opacity:1}::ng-deep .praxis-stepper .mat-step-header.cdk-keyboard-focused,::ng-deep .praxis-stepper .mat-step-header.cdk-program-focused{outline:2px solid var(--md-sys-color-primary);outline-offset:2px}::ng-deep .praxis-stepper .mat-step-icon{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface)}::ng-deep .praxis-stepper .mat-step-icon-selected{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}::ng-deep .praxis-stepper .mat-step-icon-state-done{background:var(--md-sys-color-tertiary);color:var(--md-sys-color-on-tertiary)}::ng-deep .praxis-stepper .mat-step-icon-state-error{background:var(--md-sys-color-error);color:var(--md-sys-color-on-error)}::ng-deep .praxis-stepper .mat-stepper-horizontal-line{border-top-color:var(--md-sys-color-outline-variant)}::ng-deep .praxis-stepper .mat-stepper-vertical-line:before{border-left-color:var(--md-sys-color-outline-variant)}::ng-deep .pdx-stepper-ft-light .mat-stepper-horizontal{background:transparent;--mat-stepper-header-hover-state-layer-color: color-mix( in srgb, var(--md-sys-color-on-surface) 8%, transparent );--mat-stepper-header-focus-state-layer-color: transparent;--mat-stepper-header-hover-state-layer-shape: 14px;--mat-stepper-header-focus-state-layer-shape: 14px}::ng-deep .pdx-stepper-ft-light .mat-step-header{margin:0}::ng-deep .pdx-stepper-ft-light .mat-step-header .mat-step-header-ripple{display:none}::ng-deep .ft-stepper{background:transparent}.ft-stepper-content{padding:0}.ft-stepper-content .form-section{border:none;padding:0;background:transparent}.nav-align-start{justify-content:flex-start}.nav-align-center{justify-content:center}.nav-align-end{justify-content:flex-end}.nav-align-space-between{justify-content:space-between}.edit-fab{position:absolute;right:12px;bottom:12px;z-index:2}.stepper-ai-assistant{position:absolute;right:12px;bottom:72px;z-index:3}.stepper-ai-assistant-trigger{box-shadow:var( --md-sys-elevation-level2, 0 4px 12px rgba(0, 0, 0, .18) )}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatStepperModule }, { kind: "component", type: i2.MatStep, selector: "mat-step", inputs: ["color"], exportAs: ["matStep"] }, { kind: "directive", type: i2.MatStepLabel, selector: "[matStepLabel]" }, { kind: "component", type: i2.MatStepper, selector: "mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]", inputs: ["disableRipple", "color", "labelPosition", "headerPosition", "aria-label", "headerPrefix", "animationDuration"], outputs: ["animationDone"], exportAs: ["matStepper", "matVerticalStepper", "matHorizontalStepper"] }, { kind: "directive", type: i2.MatStepperIcon, selector: "ng-template[matStepperIcon]", inputs: ["matStepperIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatMiniFabButton, selector: "button[mat-mini-fab], a[mat-mini-fab], button[matMiniFab], a[matMiniFab]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i3.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: PraxisIconDirective, selector: "mat-icon[praxisIcon]", inputs: ["praxisIcon"] }, { kind: "component", type: PraxisDynamicForm, selector: "praxis-dynamic-form", inputs: ["resourcePath", "resourceId", "initialValue", "emptyState", "editorialContext", "mode", "config", "actions", "schemaSource", "actionId", "operationId", "schemaUrl", "readUrl", "submitUrl", "submitMethod", "submitIdempotencyKey", "submitCorrelationId", "submitResourceVersion", "submitResourceVersionTargetResourceKey", "submitResourceVersionTargetIdField", "responseSchemaUrl", "apiEndpointKey", "apiUrlEntry", "enableCustomization", "showAiAssistant", "formId", "componentInstanceId", "configPersistenceStrategy", "layout", "layoutMode", "formLayout", "generatedLayoutPreset", "layoutPolicy", "backConfig", "hooks", "removeEmptyContainersOnSave", "reactiveValidation", "reactiveValidationDebounceMs", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "readonlyModeGlobal", "disabledModeGlobal", "presentationModeGlobal", "presentation", "presentationPreset", "sectionDefaultAppearance", "sectionDivider", "visibleGlobal", "fieldIconPolicy", "domainRules", "customEndpoints"], outputs: ["formSubmit", "formCancel", "formReset", "configChange", "configPatchChange", "formReady", "valueChange", "payloadPreviewChange", "syncCompleted", "initializationError", "loadingStateChange", "enableCustomizationChange", "customAction", "actionConfirmation", "schemaStatusChange", "fieldRenderError", "ruleDiagnosticsChange", "reactiveDeterminationExecuted", "reactiveDeterminationPendingChange", "tabChange", "tabSelected"] }, { kind: "directive", type: DynamicWidgetLoaderDirective, selector: "[dynamicWidgetLoader]", inputs: ["dynamicWidgetLoader", "ownerWidgetKey", "context", "strictValidation", "autoWireOutputs"], outputs: ["widgetEvent", "widgetDiagnostic"], exportAs: ["dynamicWidgetLoader"] }, { kind: "component", type: EmptyStateCardComponent, selector: "praxis-empty-state-card", inputs: ["icon", "title", "description", "primaryAction", "secondaryActions", "inline", "tone", "variant", "alignment", "density", "iconContainer"] }, { kind: "component", type: PraxisAiAssistantShellComponent, selector: "praxis-ai-assistant-shell", inputs: ["labels", "mode", "state", "contextItems", "attachments", "messages", "quickReplies", "recommendedIntents", "prompt", "statusText", "errorText", "testIdPrefix", "panelTestId", "submitTestId", "applyTestId", "primaryAction", "secondaryActions", "governanceActions", "busy", "canSubmit", "canApply", "preview", "submitOnEnter", "showAttachAction", "enablePastedAttachments", "enableFileAttachments", "attachmentAccept", "attachmentMultiple", "voiceInputMode", "voiceLanguage", "draggable", "resizable", "minWidth", "minHeight", "margin", "layout"], outputs: ["promptChange", "submitPrompt", "apply", "retryTurn", "cancelTurn", "shellAction", "close", "attach", "attachmentsPasted", "attachmentsSelected", "removeAttachment", "messageAction", "editMessage", "resendMessage", "quickReply", "recommendedIntent", "layoutChange"] }, { kind: "component", type: PraxisRichContent, selector: "praxis-rich-content", inputs: ["document", "nodes", "context", "hostCapabilities", "clientSurfaceCapabilities", "layout", "rootClassName"], outputs: ["nodeAction"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1852
1852
|
}
|
|
1853
1853
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisStepper, decorators: [{
|
|
1854
1854
|
type: Component,
|
|
@@ -6421,6 +6421,33 @@ function applyPreferenceDefaults(cfg, values) {
|
|
|
6421
6421
|
return { ...cfg, steps };
|
|
6422
6422
|
}
|
|
6423
6423
|
|
|
6424
|
+
const stepsArrayRootResolutionSpec = {
|
|
6425
|
+
allowIndex: false,
|
|
6426
|
+
strategy: 'root-path',
|
|
6427
|
+
paths: ['steps[]', '$'],
|
|
6428
|
+
};
|
|
6429
|
+
const stepperNavigationRootResolutionSpec = {
|
|
6430
|
+
allowIndex: false,
|
|
6431
|
+
strategy: 'root-path',
|
|
6432
|
+
paths: ['navigation', '$'],
|
|
6433
|
+
};
|
|
6434
|
+
const stepperLayoutRootResolutionSpec = {
|
|
6435
|
+
allowIndex: false,
|
|
6436
|
+
strategy: 'root-path',
|
|
6437
|
+
paths: ['$'],
|
|
6438
|
+
};
|
|
6439
|
+
const stepByIdOrLabelResolutionSpec = {
|
|
6440
|
+
allowIndex: false,
|
|
6441
|
+
strategy: 'array-match',
|
|
6442
|
+
paths: ['steps[]'],
|
|
6443
|
+
matchFields: ['id', 'label', 'textLabel', 'title'],
|
|
6444
|
+
inputMatchFields: ['stepId', 'id', 'label'],
|
|
6445
|
+
};
|
|
6446
|
+
const stepperSelectionReconciliation = {
|
|
6447
|
+
selectedIndexPath: 'selectedIndex',
|
|
6448
|
+
itemKeyField: 'id',
|
|
6449
|
+
onRemovedActive: 'clamp',
|
|
6450
|
+
};
|
|
6424
6451
|
const stepItemSchema = {
|
|
6425
6452
|
type: 'object',
|
|
6426
6453
|
required: ['id', 'label'],
|
|
@@ -6479,13 +6506,13 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6479
6506
|
{ name: 'enableCustomization', type: 'boolean', description: 'Enables Settings Panel authoring surfaces.' },
|
|
6480
6507
|
],
|
|
6481
6508
|
editableTargets: [
|
|
6482
|
-
{ kind: 'step', resolver: 'step-by-id-or-label', description: 'A step in config.steps[].' },
|
|
6483
|
-
{ kind: 'stepLabel', resolver: 'step-by-id-or-label', description: 'The visible label of a step.' },
|
|
6484
|
-
{ kind: 'stepContent', resolver: 'step-content-by-id', description: 'Dynamic form, rich content or advanced widgets hosted inside a step.' },
|
|
6485
|
-
{ kind: 'navigation', resolver: 'stepper-navigation-config', description: 'Footer navigation labels, icons, variant, alignment and visibility.' },
|
|
6486
|
-
{ kind: 'completionRule', resolver: 'step-by-id-or-label', description: 'Optional/completed/error state metadata for a step.' },
|
|
6487
|
-
{ kind: 'validationGate', resolver: 'step-validation-by-id', description: 'Validation gate that controls linear navigation and remote validation delegation.' },
|
|
6488
|
-
{ kind: 'orientation', resolver: 'stepper-layout-config', description: 'Stepper orientation, header position and label position.' },
|
|
6509
|
+
{ kind: 'step', resolver: 'step-by-id-or-label', description: 'A step in config.steps[].', resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6510
|
+
{ kind: 'stepLabel', resolver: 'step-by-id-or-label', description: 'The visible label of a step.', resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6511
|
+
{ kind: 'stepContent', resolver: 'step-content-by-id', description: 'Dynamic form, rich content or advanced widgets hosted inside a step.', resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6512
|
+
{ kind: 'navigation', resolver: 'stepper-navigation-config', description: 'Footer navigation labels, icons, variant, alignment and visibility.', resolutionSpec: stepperNavigationRootResolutionSpec },
|
|
6513
|
+
{ kind: 'completionRule', resolver: 'step-by-id-or-label', description: 'Optional/completed/error state metadata for a step.', resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6514
|
+
{ kind: 'validationGate', resolver: 'step-validation-by-id', description: 'Validation gate that controls linear navigation and remote validation delegation.', resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6515
|
+
{ kind: 'orientation', resolver: 'stepper-layout-config', description: 'Stepper orientation, header position and label position.', resolutionSpec: stepperLayoutRootResolutionSpec },
|
|
6489
6516
|
],
|
|
6490
6517
|
operations: [
|
|
6491
6518
|
{
|
|
@@ -6493,7 +6520,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6493
6520
|
title: 'Add step',
|
|
6494
6521
|
scope: 'global',
|
|
6495
6522
|
targetKind: 'step',
|
|
6496
|
-
target: { kind: 'step', resolver: 'steps-array', ambiguityPolicy: 'fail', required: false },
|
|
6523
|
+
target: { kind: 'step', resolver: 'steps-array', ambiguityPolicy: 'fail', required: false, resolutionSpec: stepsArrayRootResolutionSpec },
|
|
6497
6524
|
inputSchema: stepItemSchema,
|
|
6498
6525
|
effects: [{ kind: 'append-unique', path: 'steps[]', key: 'id' }],
|
|
6499
6526
|
destructive: false,
|
|
@@ -6508,7 +6535,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6508
6535
|
title: 'Remove step',
|
|
6509
6536
|
scope: 'layout',
|
|
6510
6537
|
targetKind: 'step',
|
|
6511
|
-
target: { kind: 'step', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true },
|
|
6538
|
+
target: { kind: 'step', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6512
6539
|
inputSchema: {
|
|
6513
6540
|
type: 'object',
|
|
6514
6541
|
properties: {
|
|
@@ -6518,6 +6545,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6518
6545
|
effects: [{
|
|
6519
6546
|
kind: 'compile-domain-patch',
|
|
6520
6547
|
handler: 'stepper-step-remove',
|
|
6548
|
+
selectionReconciliation: stepperSelectionReconciliation,
|
|
6521
6549
|
handlerContract: {
|
|
6522
6550
|
reads: ['steps[]', 'selectedIndex'],
|
|
6523
6551
|
writes: ['steps[]', 'selectedIndex'],
|
|
@@ -6544,7 +6572,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6544
6572
|
title: 'Set step label',
|
|
6545
6573
|
scope: 'layout',
|
|
6546
6574
|
targetKind: 'stepLabel',
|
|
6547
|
-
target: { kind: 'stepLabel', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true },
|
|
6575
|
+
target: { kind: 'stepLabel', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6548
6576
|
inputSchema: { type: 'object', required: ['label'], properties: { label: { type: 'string' } } },
|
|
6549
6577
|
effects: [{ kind: 'merge-by-key', path: 'steps[]', key: 'id' }],
|
|
6550
6578
|
destructive: false,
|
|
@@ -6559,11 +6587,12 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6559
6587
|
title: 'Reorder steps',
|
|
6560
6588
|
scope: 'layout',
|
|
6561
6589
|
targetKind: 'step',
|
|
6562
|
-
target: { kind: 'step', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true },
|
|
6590
|
+
target: { kind: 'step', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6563
6591
|
inputSchema: { type: 'object', required: ['beforeStepId'], properties: { beforeStepId: { type: 'string' } } },
|
|
6564
6592
|
effects: [{
|
|
6565
6593
|
kind: 'compile-domain-patch',
|
|
6566
6594
|
handler: 'stepper-step-reorder',
|
|
6595
|
+
selectionReconciliation: stepperSelectionReconciliation,
|
|
6567
6596
|
handlerContract: {
|
|
6568
6597
|
reads: ['steps[]', 'selectedIndex'],
|
|
6569
6598
|
writes: ['steps[]', 'selectedIndex'],
|
|
@@ -6585,7 +6614,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6585
6614
|
title: 'Set optional state',
|
|
6586
6615
|
scope: 'interaction',
|
|
6587
6616
|
targetKind: 'completionRule',
|
|
6588
|
-
target: { kind: 'completionRule', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true },
|
|
6617
|
+
target: { kind: 'completionRule', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6589
6618
|
inputSchema: { type: 'object', required: ['optional'], properties: { optional: { type: 'boolean' } } },
|
|
6590
6619
|
effects: [{ kind: 'merge-by-key', path: 'steps[]', key: 'id' }],
|
|
6591
6620
|
destructive: false,
|
|
@@ -6600,7 +6629,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6600
6629
|
title: 'Set completed state',
|
|
6601
6630
|
scope: 'interaction',
|
|
6602
6631
|
targetKind: 'completionRule',
|
|
6603
|
-
target: { kind: 'completionRule', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true },
|
|
6632
|
+
target: { kind: 'completionRule', resolver: 'step-by-id-or-label', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6604
6633
|
inputSchema: { type: 'object', required: ['completed'], properties: { completed: { type: 'boolean' }, hasError: { type: 'boolean' }, errorMessage: { type: 'string' } } },
|
|
6605
6634
|
effects: [{ kind: 'merge-by-key', path: 'steps[]', key: 'id' }],
|
|
6606
6635
|
destructive: false,
|
|
@@ -6615,7 +6644,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6615
6644
|
title: 'Set navigation mode',
|
|
6616
6645
|
scope: 'interaction',
|
|
6617
6646
|
targetKind: 'navigation',
|
|
6618
|
-
target: { kind: 'navigation', resolver: 'stepper-navigation-config', ambiguityPolicy: 'fail', required: true },
|
|
6647
|
+
target: { kind: 'navigation', resolver: 'stepper-navigation-config', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepperNavigationRootResolutionSpec },
|
|
6619
6648
|
inputSchema: {
|
|
6620
6649
|
type: 'object',
|
|
6621
6650
|
properties: {
|
|
@@ -6643,7 +6672,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6643
6672
|
title: 'Set orientation',
|
|
6644
6673
|
scope: 'layout',
|
|
6645
6674
|
targetKind: 'orientation',
|
|
6646
|
-
target: { kind: 'orientation', resolver: 'stepper-layout-config', ambiguityPolicy: 'fail', required: true },
|
|
6675
|
+
target: { kind: 'orientation', resolver: 'stepper-layout-config', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepperLayoutRootResolutionSpec },
|
|
6647
6676
|
inputSchema: {
|
|
6648
6677
|
type: 'object',
|
|
6649
6678
|
required: ['orientation'],
|
|
@@ -6667,7 +6696,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6667
6696
|
title: 'Add validation rule',
|
|
6668
6697
|
scope: 'rule',
|
|
6669
6698
|
targetKind: 'validationGate',
|
|
6670
|
-
target: { kind: 'validationGate', resolver: 'step-validation-by-id', ambiguityPolicy: 'fail', required: true },
|
|
6699
|
+
target: { kind: 'validationGate', resolver: 'step-validation-by-id', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6671
6700
|
inputSchema: {
|
|
6672
6701
|
type: 'object',
|
|
6673
6702
|
required: ['stepId', 'rule'],
|
|
@@ -6720,7 +6749,7 @@ const PRAXIS_STEPPER_AUTHORING_MANIFEST = {
|
|
|
6720
6749
|
title: 'Set step content',
|
|
6721
6750
|
scope: 'layout',
|
|
6722
6751
|
targetKind: 'stepContent',
|
|
6723
|
-
target: { kind: 'stepContent', resolver: 'step-content-by-id', ambiguityPolicy: 'fail', required: true },
|
|
6752
|
+
target: { kind: 'stepContent', resolver: 'step-content-by-id', ambiguityPolicy: 'fail', required: true, resolutionSpec: stepByIdOrLabelResolutionSpec },
|
|
6724
6753
|
inputSchema: stepPatchSchema,
|
|
6725
6754
|
effects: [{ kind: 'merge-by-key', path: 'steps[]', key: 'id' }],
|
|
6726
6755
|
destructive: false,
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/stepper",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.45",
|
|
4
4
|
"description": "Stepper workflows for Praxis UI with integrated forms, lists, uploads and page builder support.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/material": "^21.0.0",
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/list": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/files-upload": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/page-builder": "^10.0.0-rc.
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.45",
|
|
11
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.45",
|
|
12
|
+
"@praxisui/rich-content": "^10.0.0-rc.45",
|
|
13
|
+
"@praxisui/settings-panel": "^10.0.0-rc.45",
|
|
14
|
+
"@praxisui/list": "^10.0.0-rc.45",
|
|
15
|
+
"@praxisui/files-upload": "^10.0.0-rc.45",
|
|
16
|
+
"@praxisui/page-builder": "^10.0.0-rc.45",
|
|
17
17
|
"@angular/forms": "^21.0.0",
|
|
18
18
|
"@angular/router": "^21.0.0",
|
|
19
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
19
|
+
"@praxisui/ai": "^10.0.0-rc.45",
|
|
20
20
|
"rxjs": "~7.8.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|