@praxisui/stepper 10.0.0-rc.5 → 10.0.0-rc.50
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/README.md +2 -0
- package/ai/component-registry.json +289 -25
- package/fesm2022/praxisui-stepper.mjs +257 -142
- package/package.json +9 -9
- package/types/praxisui-stepper.d.ts +6 -1
package/README.md
CHANGED
|
@@ -105,6 +105,8 @@ validateStep = async ({ step, stepIndex, formGroup, formData }) => {
|
|
|
105
105
|
|
|
106
106
|
Remote dynamic forms still require the effective host to provide the CRUD/resource services expected by `@praxisui/dynamic-form`.
|
|
107
107
|
|
|
108
|
+
When a workflow includes rich-content review blocks (`stepBlocksBeforeForm` or `stepBlocksAfterForm`), `PraxisStepper` reactively merges live form values from all steps into the rich-content evaluation context (`values`, root fields, and `forms[stepId | stepIndex]`). Review steps can therefore bind `recordReference`, `keyValueList`, `propertySheet` or `recordSummary` nodes with `quickView` (`ResourceQuickViewBinding`) to foreign-key IDs or `entity-lookup` selections made in earlier steps.
|
|
109
|
+
|
|
108
110
|
## Main Inputs And Outputs
|
|
109
111
|
|
|
110
112
|
- `stepperId: string`: required stable id for persisted configuration.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedAt": "2026-11-18T01:27:35.895Z",
|
|
4
4
|
"packageName": "@praxisui/stepper",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.50",
|
|
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"
|