@praxisui/expansion 10.0.0-rc.44 → 10.0.0-rc.46
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 +300 -26
- package/fesm2022/praxisui-expansion.mjs +45 -18
- package/package.json +5 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-15T00:03:48.148Z",
|
|
4
4
|
"packageName": "@praxisui/expansion",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.46",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
@@ -832,37 +832,143 @@
|
|
|
832
832
|
{
|
|
833
833
|
"kind": "panel",
|
|
834
834
|
"resolver": "panel-by-id-or-title",
|
|
835
|
-
"description": "A panel in config.panels[]."
|
|
835
|
+
"description": "A panel in config.panels[].",
|
|
836
|
+
"resolutionSpec": {
|
|
837
|
+
"allowIndex": false,
|
|
838
|
+
"strategy": "array-match",
|
|
839
|
+
"paths": [
|
|
840
|
+
"panels[]"
|
|
841
|
+
],
|
|
842
|
+
"matchFields": [
|
|
843
|
+
"id",
|
|
844
|
+
"title",
|
|
845
|
+
"label"
|
|
846
|
+
],
|
|
847
|
+
"inputMatchFields": [
|
|
848
|
+
"panelId",
|
|
849
|
+
"id",
|
|
850
|
+
"title",
|
|
851
|
+
"label"
|
|
852
|
+
]
|
|
853
|
+
}
|
|
836
854
|
},
|
|
837
855
|
{
|
|
838
856
|
"kind": "panelHeader",
|
|
839
857
|
"resolver": "panel-by-id-or-title",
|
|
840
|
-
"description": "Header title, description, icon and heights for a panel."
|
|
858
|
+
"description": "Header title, description, icon and heights for a panel.",
|
|
859
|
+
"resolutionSpec": {
|
|
860
|
+
"allowIndex": false,
|
|
861
|
+
"strategy": "array-match",
|
|
862
|
+
"paths": [
|
|
863
|
+
"panels[]"
|
|
864
|
+
],
|
|
865
|
+
"matchFields": [
|
|
866
|
+
"id",
|
|
867
|
+
"title",
|
|
868
|
+
"label"
|
|
869
|
+
],
|
|
870
|
+
"inputMatchFields": [
|
|
871
|
+
"panelId",
|
|
872
|
+
"id",
|
|
873
|
+
"title",
|
|
874
|
+
"label"
|
|
875
|
+
]
|
|
876
|
+
}
|
|
841
877
|
},
|
|
842
878
|
{
|
|
843
879
|
"kind": "panelContent",
|
|
844
880
|
"resolver": "panel-content-by-id",
|
|
845
|
-
"description": "Lazy panel content hosted through fields, widgets or action buttons."
|
|
881
|
+
"description": "Lazy panel content hosted through fields, widgets or action buttons.",
|
|
882
|
+
"resolutionSpec": {
|
|
883
|
+
"allowIndex": false,
|
|
884
|
+
"strategy": "array-match",
|
|
885
|
+
"paths": [
|
|
886
|
+
"panels[]"
|
|
887
|
+
],
|
|
888
|
+
"matchFields": [
|
|
889
|
+
"id",
|
|
890
|
+
"title",
|
|
891
|
+
"label"
|
|
892
|
+
],
|
|
893
|
+
"inputMatchFields": [
|
|
894
|
+
"panelId",
|
|
895
|
+
"id",
|
|
896
|
+
"title",
|
|
897
|
+
"label"
|
|
898
|
+
]
|
|
899
|
+
}
|
|
846
900
|
},
|
|
847
901
|
{
|
|
848
902
|
"kind": "expandedState",
|
|
849
903
|
"resolver": "panel-by-id-or-title",
|
|
850
|
-
"description": "Panel expanded state and default expanded selection."
|
|
904
|
+
"description": "Panel expanded state and default expanded selection.",
|
|
905
|
+
"resolutionSpec": {
|
|
906
|
+
"allowIndex": false,
|
|
907
|
+
"strategy": "array-match",
|
|
908
|
+
"paths": [
|
|
909
|
+
"panels[]"
|
|
910
|
+
],
|
|
911
|
+
"matchFields": [
|
|
912
|
+
"id",
|
|
913
|
+
"title",
|
|
914
|
+
"label"
|
|
915
|
+
],
|
|
916
|
+
"inputMatchFields": [
|
|
917
|
+
"panelId",
|
|
918
|
+
"id",
|
|
919
|
+
"title",
|
|
920
|
+
"label"
|
|
921
|
+
]
|
|
922
|
+
}
|
|
851
923
|
},
|
|
852
924
|
{
|
|
853
925
|
"kind": "disabledState",
|
|
854
926
|
"resolver": "panel-by-id-or-title",
|
|
855
|
-
"description": "Panel disabled state."
|
|
927
|
+
"description": "Panel disabled state.",
|
|
928
|
+
"resolutionSpec": {
|
|
929
|
+
"allowIndex": false,
|
|
930
|
+
"strategy": "array-match",
|
|
931
|
+
"paths": [
|
|
932
|
+
"panels[]"
|
|
933
|
+
],
|
|
934
|
+
"matchFields": [
|
|
935
|
+
"id",
|
|
936
|
+
"title",
|
|
937
|
+
"label"
|
|
938
|
+
],
|
|
939
|
+
"inputMatchFields": [
|
|
940
|
+
"panelId",
|
|
941
|
+
"id",
|
|
942
|
+
"title",
|
|
943
|
+
"label"
|
|
944
|
+
]
|
|
945
|
+
}
|
|
856
946
|
},
|
|
857
947
|
{
|
|
858
948
|
"kind": "layout",
|
|
859
949
|
"resolver": "expansion-layout-config",
|
|
860
|
-
"description": "Accordion display mode, toggle position, density and visual layout."
|
|
950
|
+
"description": "Accordion display mode, toggle position, density and visual layout.",
|
|
951
|
+
"resolutionSpec": {
|
|
952
|
+
"allowIndex": false,
|
|
953
|
+
"strategy": "root-path",
|
|
954
|
+
"paths": [
|
|
955
|
+
"accordion",
|
|
956
|
+
"$"
|
|
957
|
+
]
|
|
958
|
+
}
|
|
861
959
|
},
|
|
862
960
|
{
|
|
863
961
|
"kind": "behavior",
|
|
864
962
|
"resolver": "expansion-behavior-config",
|
|
865
|
-
"description": "Accordion multi-expand and hide-toggle behavior."
|
|
963
|
+
"description": "Accordion multi-expand and hide-toggle behavior.",
|
|
964
|
+
"resolutionSpec": {
|
|
965
|
+
"allowIndex": false,
|
|
966
|
+
"strategy": "root-path",
|
|
967
|
+
"paths": [
|
|
968
|
+
"accordion",
|
|
969
|
+
"$"
|
|
970
|
+
]
|
|
971
|
+
}
|
|
866
972
|
}
|
|
867
973
|
],
|
|
868
974
|
"operations": [
|
|
@@ -875,7 +981,15 @@
|
|
|
875
981
|
"kind": "panel",
|
|
876
982
|
"resolver": "panels-array",
|
|
877
983
|
"ambiguityPolicy": "fail",
|
|
878
|
-
"required": false
|
|
984
|
+
"required": false,
|
|
985
|
+
"resolutionSpec": {
|
|
986
|
+
"allowIndex": false,
|
|
987
|
+
"strategy": "root-path",
|
|
988
|
+
"paths": [
|
|
989
|
+
"panels[]",
|
|
990
|
+
"$"
|
|
991
|
+
]
|
|
992
|
+
}
|
|
879
993
|
},
|
|
880
994
|
"inputSchema": {
|
|
881
995
|
"type": "object",
|
|
@@ -962,7 +1076,25 @@
|
|
|
962
1076
|
"kind": "panel",
|
|
963
1077
|
"resolver": "panel-by-id-or-title",
|
|
964
1078
|
"ambiguityPolicy": "fail",
|
|
965
|
-
"required": true
|
|
1079
|
+
"required": true,
|
|
1080
|
+
"resolutionSpec": {
|
|
1081
|
+
"allowIndex": false,
|
|
1082
|
+
"strategy": "array-match",
|
|
1083
|
+
"paths": [
|
|
1084
|
+
"panels[]"
|
|
1085
|
+
],
|
|
1086
|
+
"matchFields": [
|
|
1087
|
+
"id",
|
|
1088
|
+
"title",
|
|
1089
|
+
"label"
|
|
1090
|
+
],
|
|
1091
|
+
"inputMatchFields": [
|
|
1092
|
+
"panelId",
|
|
1093
|
+
"id",
|
|
1094
|
+
"title",
|
|
1095
|
+
"label"
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
966
1098
|
},
|
|
967
1099
|
"inputSchema": {
|
|
968
1100
|
"type": "object",
|
|
@@ -976,6 +1108,10 @@
|
|
|
976
1108
|
{
|
|
977
1109
|
"kind": "compile-domain-patch",
|
|
978
1110
|
"handler": "expansion-panel-remove",
|
|
1111
|
+
"selectionReconciliation": {
|
|
1112
|
+
"itemKeyField": "id",
|
|
1113
|
+
"onRemovedActive": "clamp"
|
|
1114
|
+
},
|
|
979
1115
|
"handlerContract": {
|
|
980
1116
|
"reads": [
|
|
981
1117
|
"accordion.multi",
|
|
@@ -1035,7 +1171,25 @@
|
|
|
1035
1171
|
"kind": "panelHeader",
|
|
1036
1172
|
"resolver": "panel-by-id-or-title",
|
|
1037
1173
|
"ambiguityPolicy": "fail",
|
|
1038
|
-
"required": true
|
|
1174
|
+
"required": true,
|
|
1175
|
+
"resolutionSpec": {
|
|
1176
|
+
"allowIndex": false,
|
|
1177
|
+
"strategy": "array-match",
|
|
1178
|
+
"paths": [
|
|
1179
|
+
"panels[]"
|
|
1180
|
+
],
|
|
1181
|
+
"matchFields": [
|
|
1182
|
+
"id",
|
|
1183
|
+
"title",
|
|
1184
|
+
"label"
|
|
1185
|
+
],
|
|
1186
|
+
"inputMatchFields": [
|
|
1187
|
+
"panelId",
|
|
1188
|
+
"id",
|
|
1189
|
+
"title",
|
|
1190
|
+
"label"
|
|
1191
|
+
]
|
|
1192
|
+
}
|
|
1039
1193
|
},
|
|
1040
1194
|
"inputSchema": {
|
|
1041
1195
|
"type": "object",
|
|
@@ -1079,7 +1233,25 @@
|
|
|
1079
1233
|
"kind": "panelHeader",
|
|
1080
1234
|
"resolver": "panel-by-id-or-title",
|
|
1081
1235
|
"ambiguityPolicy": "fail",
|
|
1082
|
-
"required": true
|
|
1236
|
+
"required": true,
|
|
1237
|
+
"resolutionSpec": {
|
|
1238
|
+
"allowIndex": false,
|
|
1239
|
+
"strategy": "array-match",
|
|
1240
|
+
"paths": [
|
|
1241
|
+
"panels[]"
|
|
1242
|
+
],
|
|
1243
|
+
"matchFields": [
|
|
1244
|
+
"id",
|
|
1245
|
+
"title",
|
|
1246
|
+
"label"
|
|
1247
|
+
],
|
|
1248
|
+
"inputMatchFields": [
|
|
1249
|
+
"panelId",
|
|
1250
|
+
"id",
|
|
1251
|
+
"title",
|
|
1252
|
+
"label"
|
|
1253
|
+
]
|
|
1254
|
+
}
|
|
1083
1255
|
},
|
|
1084
1256
|
"inputSchema": {
|
|
1085
1257
|
"type": "object",
|
|
@@ -1123,7 +1295,25 @@
|
|
|
1123
1295
|
"kind": "panelHeader",
|
|
1124
1296
|
"resolver": "panel-by-id-or-title",
|
|
1125
1297
|
"ambiguityPolicy": "fail",
|
|
1126
|
-
"required": true
|
|
1298
|
+
"required": true,
|
|
1299
|
+
"resolutionSpec": {
|
|
1300
|
+
"allowIndex": false,
|
|
1301
|
+
"strategy": "array-match",
|
|
1302
|
+
"paths": [
|
|
1303
|
+
"panels[]"
|
|
1304
|
+
],
|
|
1305
|
+
"matchFields": [
|
|
1306
|
+
"id",
|
|
1307
|
+
"title",
|
|
1308
|
+
"label"
|
|
1309
|
+
],
|
|
1310
|
+
"inputMatchFields": [
|
|
1311
|
+
"panelId",
|
|
1312
|
+
"id",
|
|
1313
|
+
"title",
|
|
1314
|
+
"label"
|
|
1315
|
+
]
|
|
1316
|
+
}
|
|
1127
1317
|
},
|
|
1128
1318
|
"inputSchema": {
|
|
1129
1319
|
"type": "object",
|
|
@@ -1168,7 +1358,25 @@
|
|
|
1168
1358
|
"kind": "panel",
|
|
1169
1359
|
"resolver": "panel-by-id-or-title",
|
|
1170
1360
|
"ambiguityPolicy": "fail",
|
|
1171
|
-
"required": true
|
|
1361
|
+
"required": true,
|
|
1362
|
+
"resolutionSpec": {
|
|
1363
|
+
"allowIndex": false,
|
|
1364
|
+
"strategy": "array-match",
|
|
1365
|
+
"paths": [
|
|
1366
|
+
"panels[]"
|
|
1367
|
+
],
|
|
1368
|
+
"matchFields": [
|
|
1369
|
+
"id",
|
|
1370
|
+
"title",
|
|
1371
|
+
"label"
|
|
1372
|
+
],
|
|
1373
|
+
"inputMatchFields": [
|
|
1374
|
+
"panelId",
|
|
1375
|
+
"id",
|
|
1376
|
+
"title",
|
|
1377
|
+
"label"
|
|
1378
|
+
]
|
|
1379
|
+
}
|
|
1172
1380
|
},
|
|
1173
1381
|
"inputSchema": {
|
|
1174
1382
|
"type": "object",
|
|
@@ -1185,7 +1393,11 @@
|
|
|
1185
1393
|
{
|
|
1186
1394
|
"kind": "reorder-by-key",
|
|
1187
1395
|
"path": "panels[]",
|
|
1188
|
-
"key": "id"
|
|
1396
|
+
"key": "id",
|
|
1397
|
+
"selectionReconciliation": {
|
|
1398
|
+
"itemKeyField": "id",
|
|
1399
|
+
"onRemovedActive": "clamp"
|
|
1400
|
+
}
|
|
1189
1401
|
}
|
|
1190
1402
|
],
|
|
1191
1403
|
"destructive": false,
|
|
@@ -1212,7 +1424,25 @@
|
|
|
1212
1424
|
"kind": "disabledState",
|
|
1213
1425
|
"resolver": "panel-by-id-or-title",
|
|
1214
1426
|
"ambiguityPolicy": "fail",
|
|
1215
|
-
"required": true
|
|
1427
|
+
"required": true,
|
|
1428
|
+
"resolutionSpec": {
|
|
1429
|
+
"allowIndex": false,
|
|
1430
|
+
"strategy": "array-match",
|
|
1431
|
+
"paths": [
|
|
1432
|
+
"panels[]"
|
|
1433
|
+
],
|
|
1434
|
+
"matchFields": [
|
|
1435
|
+
"id",
|
|
1436
|
+
"title",
|
|
1437
|
+
"label"
|
|
1438
|
+
],
|
|
1439
|
+
"inputMatchFields": [
|
|
1440
|
+
"panelId",
|
|
1441
|
+
"id",
|
|
1442
|
+
"title",
|
|
1443
|
+
"label"
|
|
1444
|
+
]
|
|
1445
|
+
}
|
|
1216
1446
|
},
|
|
1217
1447
|
"inputSchema": {
|
|
1218
1448
|
"type": "object",
|
|
@@ -1257,7 +1487,15 @@
|
|
|
1257
1487
|
"kind": "behavior",
|
|
1258
1488
|
"resolver": "expansion-behavior-config",
|
|
1259
1489
|
"ambiguityPolicy": "fail",
|
|
1260
|
-
"required": true
|
|
1490
|
+
"required": true,
|
|
1491
|
+
"resolutionSpec": {
|
|
1492
|
+
"allowIndex": false,
|
|
1493
|
+
"strategy": "root-path",
|
|
1494
|
+
"paths": [
|
|
1495
|
+
"accordion",
|
|
1496
|
+
"$"
|
|
1497
|
+
]
|
|
1498
|
+
}
|
|
1261
1499
|
},
|
|
1262
1500
|
"inputSchema": {
|
|
1263
1501
|
"type": "object",
|
|
@@ -1332,7 +1570,25 @@
|
|
|
1332
1570
|
"kind": "expandedState",
|
|
1333
1571
|
"resolver": "panel-by-id-or-title",
|
|
1334
1572
|
"ambiguityPolicy": "fail",
|
|
1335
|
-
"required": true
|
|
1573
|
+
"required": true,
|
|
1574
|
+
"resolutionSpec": {
|
|
1575
|
+
"allowIndex": false,
|
|
1576
|
+
"strategy": "array-match",
|
|
1577
|
+
"paths": [
|
|
1578
|
+
"panels[]"
|
|
1579
|
+
],
|
|
1580
|
+
"matchFields": [
|
|
1581
|
+
"id",
|
|
1582
|
+
"title",
|
|
1583
|
+
"label"
|
|
1584
|
+
],
|
|
1585
|
+
"inputMatchFields": [
|
|
1586
|
+
"panelId",
|
|
1587
|
+
"id",
|
|
1588
|
+
"title",
|
|
1589
|
+
"label"
|
|
1590
|
+
]
|
|
1591
|
+
}
|
|
1336
1592
|
},
|
|
1337
1593
|
"inputSchema": {
|
|
1338
1594
|
"type": "object",
|
|
@@ -1420,7 +1676,25 @@
|
|
|
1420
1676
|
"kind": "panelContent",
|
|
1421
1677
|
"resolver": "panel-content-by-id",
|
|
1422
1678
|
"ambiguityPolicy": "fail",
|
|
1423
|
-
"required": true
|
|
1679
|
+
"required": true,
|
|
1680
|
+
"resolutionSpec": {
|
|
1681
|
+
"allowIndex": false,
|
|
1682
|
+
"strategy": "array-match",
|
|
1683
|
+
"paths": [
|
|
1684
|
+
"panels[]"
|
|
1685
|
+
],
|
|
1686
|
+
"matchFields": [
|
|
1687
|
+
"id",
|
|
1688
|
+
"title",
|
|
1689
|
+
"label"
|
|
1690
|
+
],
|
|
1691
|
+
"inputMatchFields": [
|
|
1692
|
+
"panelId",
|
|
1693
|
+
"id",
|
|
1694
|
+
"title",
|
|
1695
|
+
"label"
|
|
1696
|
+
]
|
|
1697
|
+
}
|
|
1424
1698
|
},
|
|
1425
1699
|
"inputSchema": {
|
|
1426
1700
|
"type": "object",
|
|
@@ -1852,9 +2126,9 @@
|
|
|
1852
2126
|
{
|
|
1853
2127
|
"chunkIndex": 14,
|
|
1854
2128
|
"chunkKind": "authoring_manifest",
|
|
1855
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"A panel in config.panels[].\"},{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Header title, description, icon and heights for a panel.\"},{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"description\":\"Lazy panel content hosted through fields, widgets or action buttons.\"},{\"kind\":\"expandedState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel expanded state and default expanded selection.\"},{\"kind\":\"disabledState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel disabled state.\"},{\"kind\":\"layout\",\"resolver\":\"expansion-layout-config\",\"description\":\"Accordion display mode, toggle position, density and visual layout.\"},{\"kind\":\"behavior\",\"resolver\":\"expansion-behavior-config\",\"description\":\"Accordion multi-expand and hide-toggle behavior.\"}]}",
|
|
2129
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"A panel in config.panels[].\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Header title, description, icon and heights for a panel.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"description\":\"Lazy panel content hosted through fields, widgets or action buttons.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},{\"kind\":\"expandedState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel expanded state and default expanded selection.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},{\"kind\":\"disabledState\",\"resolver\":\"panel-by-id-or-title\",\"description\":\"Panel disabled state.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},{\"kind\":\"layout\",\"resolver\":\"expansion-layout-config\",\"description\":\"Accordion display mode, toggle position, density and visual layout.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"accordion\",\"$\"]}},{\"kind\":\"behavior\",\"resolver\":\"expansion-behavior-config\",\"description\":\"Accordion multi-expand and hide-toggle behavior.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"accordion\",\"$\"]}}]}",
|
|
1856
2130
|
"sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
|
|
1857
|
-
"contentHash": "
|
|
2131
|
+
"contentHash": "8f469c7ec1b4a23a72f0456d2933c695d77811a21403d7864e5f8bcf33ede7c1",
|
|
1858
2132
|
"sourceKind": "component_definition",
|
|
1859
2133
|
"sourceId": "praxis-expansion",
|
|
1860
2134
|
"corpusVersion": "1.0.0"
|
|
@@ -1862,9 +2136,9 @@
|
|
|
1862
2136
|
{
|
|
1863
2137
|
"chunkIndex": 15,
|
|
1864
2138
|
"chunkKind": "authoring_manifest",
|
|
1865
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.add\",\"title\":\"Add panel\",\"scope\":\"global\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panels-array\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"title\"],\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-id-unique\",\"panel-order-deterministic\",\"panel-content-valid\"],\"affectedPaths\":[\"panels[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.remove\",\"title\":\"Remove panel\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-panel-remove\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\"],\"writes\":[\"panels[]\",\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"failureModes\":[\"panel-not-found\",\"replacement-panel-not-found\",\"content-removal-not-confirmed\",\"single-expand-conflict\"],\"description\":\"Removes the target panel by stable id and applies replacement expanded state when the removed panel was expanded.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"panel-exists\",\"default-expanded-removal-safe\",\"panel-content-removal-confirmed\"],\"affectedPaths\":[\"panels[]\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\",\"confirmation-collected\"]},{\"operationId\":\"panel.title.set\",\"title\":\"Set panel title\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"title\"],\"properties\":{\"title\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-title-valid\"],\"affectedPaths\":[\"panels[].title\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.description.set\",\"title\":\"Set panel description\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"description\"],\"properties\":{\"description\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-description-valid\"],\"affectedPaths\":[\"panels[].description\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.icon.set\",\"title\":\"Set panel icon\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"required\":[\"icon\"],\"properties\":{\"icon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-icon-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"panels[].icon\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.order.set\",\"title\":\"Reorder panels\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true
|
|
2139
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.add\",\"title\":\"Add panel\",\"scope\":\"global\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panels-array\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"panels[]\",\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"title\"],\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-id-unique\",\"panel-order-deterministic\",\"panel-content-valid\"],\"affectedPaths\":[\"panels[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"panel.remove\",\"title\":\"Remove panel\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-panel-remove\",\"selectionReconciliation\":{\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"},\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\"],\"writes\":[\"panels[]\",\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementExpandedPanelId\":{\"type\":\"string\"}}},\"failureModes\":[\"panel-not-found\",\"replacement-panel-not-found\",\"content-removal-not-confirmed\",\"single-expand-conflict\"],\"description\":\"Removes the target panel by stable id and applies replacement expanded state when the removed panel was expanded.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"panel-exists\",\"default-expanded-removal-safe\",\"panel-content-removal-confirmed\"],\"affectedPaths\":[\"panels[]\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\",\"confirmation-collected\"]},{\"operationId\":\"panel.title.set\",\"title\":\"Set panel title\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"title\"],\"properties\":{\"title\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-title-valid\"],\"affectedPaths\":[\"panels[].title\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.description.set\",\"title\":\"Set panel description\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"description\"],\"properties\":{\"description\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-description-valid\"],\"affectedPaths\":[\"panels[].description\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.icon.set\",\"title\":\"Set panel icon\",\"scope\":\"layout\",\"targetKind\":\"panelHeader\",\"target\":{\"kind\":\"panelHeader\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"icon\"],\"properties\":{\"icon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-icon-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"panels[].icon\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.order.set\",\"title\":\"Reorder panels\",\"scope\":\"layout\",\"targetKind\":\"panel\",\"target\":{\"kind\":\"panel\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforePanelId\"],\"properties\":{\"beforePanelId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"reorder-by-key\",\"path\":\"panels[]\",\"key\":\"id\",\"selectionReconciliation\":{\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-order-deterministic\"],\"affectedPaths\":[\"panels[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.disabled.set\",\"title\":\"Set disabled state\",\"scope\":\"interaction\",\"targetKind\":\"disabledState\",\"target\":{\"kind\":\"disabledState\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"disabled\"],\"properties\":{\"disabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"disabled-expanded-compatible\"],\"affectedPaths\":[\"panels[].disabled\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"behavior.multiExpand.set\",\"title\":\"Set multi-expand behavior\",\"scope\":\"interaction\",\"targetKind\":\"behavior\",\"target\":{\"kind\":\"behavior\",\"resolver\":\"expansion-behavior-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"accordion\",\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"multi\"],\"properties\":{\"multi\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-multi-expand-set\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\"],\"writes\":[\"accordion.multi\",\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"multi\"],\"properties\":{\"multi\":{\"type\":\"boolean\"}}},\"failureModes\":[\"multiple-expanded-panels-conflict\",\"panel-id-missing\"],\"description\":\"Sets accordion.multi and collapses competing expanded panels when switching to single-expand behavior.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"multi-expand-default-compatible\",\"accordion-values-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"accordion.multi\",\"panels[].expanded\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]}]}",
|
|
1866
2140
|
"sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
|
|
1867
|
-
"contentHash": "
|
|
2141
|
+
"contentHash": "f0708a099fe2d0343656b2a19fb51288932e23054f111b5ba119fbfb132bf9de",
|
|
1868
2142
|
"sourceKind": "component_definition",
|
|
1869
2143
|
"sourceId": "praxis-expansion",
|
|
1870
2144
|
"corpusVersion": "1.0.0"
|
|
@@ -1872,9 +2146,9 @@
|
|
|
1872
2146
|
{
|
|
1873
2147
|
"chunkIndex": 16,
|
|
1874
2148
|
"chunkKind": "authoring_manifest",
|
|
1875
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"panel.content.set\",\"title\":\"Set panel content\",\"scope\":\"layout\",\"targetKind\":\"panelContent\",\"target\":{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-content-valid\",\"lazy-content-compatible\",\"nested-widget-contract-delegated\"],\"affectedPaths\":[\"panels[].content\",\"panels[].widgets\",\"panels[].actionButtons\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]}]}",
|
|
2149
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-expansion\",\"ownerPackage\":\"@praxisui/expansion\",\"configSchemaId\":\"ExpansionMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"behavior.defaultExpanded.set\",\"title\":\"Set default expanded panel\",\"scope\":\"interaction\",\"targetKind\":\"expandedState\",\"target\":{\"kind\":\"expandedState\",\"resolver\":\"panel-by-id-or-title\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"expanded\"],\"properties\":{\"expanded\":{\"type\":\"boolean\"},\"collapseOthers\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"expansion-default-expanded-upsert\",\"handlerContract\":{\"reads\":[\"accordion.multi\",\"panels[]\",\"panels[].id\",\"panels[].expanded\",\"panels[].disabled\"],\"writes\":[\"panels[].expanded\"],\"identityKeys\":[\"panels[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"panelId\",\"expanded\"],\"properties\":{\"panelId\":{\"type\":\"string\"},\"expanded\":{\"type\":\"boolean\"},\"collapseOthers\":{\"type\":\"boolean\"}}},\"failureModes\":[\"panel-not-found\",\"panel-disabled\",\"single-expand-conflict\"],\"description\":\"Sets a panel expanded state and collapses competing panels when accordion.multi is false.\"}}],\"validators\":[\"panel-exists\",\"default-expanded-panel-exists\",\"multi-expand-default-compatible\",\"disabled-expanded-compatible\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"panels[].expanded\",\"accordion.multi\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]},{\"operationId\":\"panel.content.set\",\"title\":\"Set panel content\",\"scope\":\"layout\",\"targetKind\":\"panelContent\",\"target\":{\"kind\":\"panelContent\",\"resolver\":\"panel-content-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"panels[]\"],\"matchFields\":[\"id\",\"title\",\"label\"],\"inputMatchFields\":[\"panelId\",\"id\",\"title\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"expanded\":{\"type\":\"boolean\"},\"hideToggle\":{\"type\":\"boolean\"},\"collapsedHeight\":{\"type\":\"string\"},\"expandedHeight\":{\"type\":\"string\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"actionButtons\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"panels[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"panel-exists\",\"panel-content-valid\",\"lazy-content-compatible\",\"nested-widget-contract-delegated\"],\"affectedPaths\":[\"panels[].content\",\"panels[].widgets\",\"panels[].actionButtons\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"config-initialized\",\"target-panel-exists\"]}]}",
|
|
1876
2150
|
"sourcePointer": "projects/praxis-expansion/src/lib/ai/praxis-expansion-authoring-manifest.ts",
|
|
1877
|
-
"contentHash": "
|
|
2151
|
+
"contentHash": "962cb680ff009f0c557a01192217aef55004e731924cc1b26cb09b291b904ba0",
|
|
1878
2152
|
"sourceKind": "component_definition",
|
|
1879
2153
|
"sourceId": "praxis-expansion",
|
|
1880
2154
|
"corpusVersion": "1.0.0"
|
|
@@ -2766,6 +2766,32 @@ function providePraxisExpansionDefaults(opts) {
|
|
|
2766
2766
|
return { provide: MAT_EXPANSION_PANEL_DEFAULT_OPTIONS, useValue: opts };
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
|
+
const panelsArrayRootResolutionSpec = {
|
|
2770
|
+
allowIndex: false,
|
|
2771
|
+
strategy: 'root-path',
|
|
2772
|
+
paths: ['panels[]', '$'],
|
|
2773
|
+
};
|
|
2774
|
+
const expansionLayoutRootResolutionSpec = {
|
|
2775
|
+
allowIndex: false,
|
|
2776
|
+
strategy: 'root-path',
|
|
2777
|
+
paths: ['accordion', '$'],
|
|
2778
|
+
};
|
|
2779
|
+
const expansionBehaviorRootResolutionSpec = {
|
|
2780
|
+
allowIndex: false,
|
|
2781
|
+
strategy: 'root-path',
|
|
2782
|
+
paths: ['accordion', '$'],
|
|
2783
|
+
};
|
|
2784
|
+
const panelByIdOrTitleResolutionSpec = {
|
|
2785
|
+
allowIndex: false,
|
|
2786
|
+
strategy: 'array-match',
|
|
2787
|
+
paths: ['panels[]'],
|
|
2788
|
+
matchFields: ['id', 'title', 'label'],
|
|
2789
|
+
inputMatchFields: ['panelId', 'id', 'title', 'label'],
|
|
2790
|
+
};
|
|
2791
|
+
const expansionSelectionReconciliation = {
|
|
2792
|
+
itemKeyField: 'id',
|
|
2793
|
+
onRemovedActive: 'clamp',
|
|
2794
|
+
};
|
|
2769
2795
|
const panelItemSchema = {
|
|
2770
2796
|
type: 'object',
|
|
2771
2797
|
required: ['id', 'title'],
|
|
@@ -2819,13 +2845,13 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2819
2845
|
{ name: 'enableCustomization', type: 'boolean', description: 'Enables Settings Panel authoring surfaces.' },
|
|
2820
2846
|
],
|
|
2821
2847
|
editableTargets: [
|
|
2822
|
-
{ kind: 'panel', resolver: 'panel-by-id-or-title', description: 'A panel in config.panels[].' },
|
|
2823
|
-
{ kind: 'panelHeader', resolver: 'panel-by-id-or-title', description: 'Header title, description, icon and heights for a panel.' },
|
|
2824
|
-
{ kind: 'panelContent', resolver: 'panel-content-by-id', description: 'Lazy panel content hosted through fields, widgets or action buttons.' },
|
|
2825
|
-
{ kind: 'expandedState', resolver: 'panel-by-id-or-title', description: 'Panel expanded state and default expanded selection.' },
|
|
2826
|
-
{ kind: 'disabledState', resolver: 'panel-by-id-or-title', description: 'Panel disabled state.' },
|
|
2827
|
-
{ kind: 'layout', resolver: 'expansion-layout-config', description: 'Accordion display mode, toggle position, density and visual layout.' },
|
|
2828
|
-
{ kind: 'behavior', resolver: 'expansion-behavior-config', description: 'Accordion multi-expand and hide-toggle behavior.' },
|
|
2848
|
+
{ kind: 'panel', resolver: 'panel-by-id-or-title', description: 'A panel in config.panels[].', resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2849
|
+
{ kind: 'panelHeader', resolver: 'panel-by-id-or-title', description: 'Header title, description, icon and heights for a panel.', resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2850
|
+
{ kind: 'panelContent', resolver: 'panel-content-by-id', description: 'Lazy panel content hosted through fields, widgets or action buttons.', resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2851
|
+
{ kind: 'expandedState', resolver: 'panel-by-id-or-title', description: 'Panel expanded state and default expanded selection.', resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2852
|
+
{ kind: 'disabledState', resolver: 'panel-by-id-or-title', description: 'Panel disabled state.', resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2853
|
+
{ kind: 'layout', resolver: 'expansion-layout-config', description: 'Accordion display mode, toggle position, density and visual layout.', resolutionSpec: expansionLayoutRootResolutionSpec },
|
|
2854
|
+
{ kind: 'behavior', resolver: 'expansion-behavior-config', description: 'Accordion multi-expand and hide-toggle behavior.', resolutionSpec: expansionBehaviorRootResolutionSpec },
|
|
2829
2855
|
],
|
|
2830
2856
|
operations: [
|
|
2831
2857
|
{
|
|
@@ -2833,7 +2859,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2833
2859
|
title: 'Add panel',
|
|
2834
2860
|
scope: 'global',
|
|
2835
2861
|
targetKind: 'panel',
|
|
2836
|
-
target: { kind: 'panel', resolver: 'panels-array', ambiguityPolicy: 'fail', required: false },
|
|
2862
|
+
target: { kind: 'panel', resolver: 'panels-array', ambiguityPolicy: 'fail', required: false, resolutionSpec: panelsArrayRootResolutionSpec },
|
|
2837
2863
|
inputSchema: panelItemSchema,
|
|
2838
2864
|
effects: [{ kind: 'append-unique', path: 'panels[]', key: 'id' }],
|
|
2839
2865
|
destructive: false,
|
|
@@ -2848,7 +2874,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2848
2874
|
title: 'Remove panel',
|
|
2849
2875
|
scope: 'layout',
|
|
2850
2876
|
targetKind: 'panel',
|
|
2851
|
-
target: { kind: 'panel', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2877
|
+
target: { kind: 'panel', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2852
2878
|
inputSchema: {
|
|
2853
2879
|
type: 'object',
|
|
2854
2880
|
properties: {
|
|
@@ -2858,6 +2884,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2858
2884
|
effects: [{
|
|
2859
2885
|
kind: 'compile-domain-patch',
|
|
2860
2886
|
handler: 'expansion-panel-remove',
|
|
2887
|
+
selectionReconciliation: expansionSelectionReconciliation,
|
|
2861
2888
|
handlerContract: {
|
|
2862
2889
|
reads: ['accordion.multi', 'panels[]', 'panels[].id', 'panels[].expanded'],
|
|
2863
2890
|
writes: ['panels[]', 'panels[].expanded'],
|
|
@@ -2884,7 +2911,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2884
2911
|
title: 'Set panel title',
|
|
2885
2912
|
scope: 'layout',
|
|
2886
2913
|
targetKind: 'panelHeader',
|
|
2887
|
-
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2914
|
+
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2888
2915
|
inputSchema: { type: 'object', required: ['title'], properties: { title: { type: 'string' } } },
|
|
2889
2916
|
effects: [{ kind: 'merge-by-key', path: 'panels[]', key: 'id' }],
|
|
2890
2917
|
destructive: false,
|
|
@@ -2899,7 +2926,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2899
2926
|
title: 'Set panel description',
|
|
2900
2927
|
scope: 'layout',
|
|
2901
2928
|
targetKind: 'panelHeader',
|
|
2902
|
-
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2929
|
+
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2903
2930
|
inputSchema: { type: 'object', required: ['description'], properties: { description: { type: 'string' } } },
|
|
2904
2931
|
effects: [{ kind: 'merge-by-key', path: 'panels[]', key: 'id' }],
|
|
2905
2932
|
destructive: false,
|
|
@@ -2914,7 +2941,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2914
2941
|
title: 'Set panel icon',
|
|
2915
2942
|
scope: 'layout',
|
|
2916
2943
|
targetKind: 'panelHeader',
|
|
2917
|
-
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2944
|
+
target: { kind: 'panelHeader', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2918
2945
|
inputSchema: { type: 'object', required: ['icon'], properties: { icon: { type: 'string' } } },
|
|
2919
2946
|
effects: [{ kind: 'merge-by-key', path: 'panels[]', key: 'id' }],
|
|
2920
2947
|
destructive: false,
|
|
@@ -2929,9 +2956,9 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2929
2956
|
title: 'Reorder panels',
|
|
2930
2957
|
scope: 'layout',
|
|
2931
2958
|
targetKind: 'panel',
|
|
2932
|
-
target: { kind: 'panel', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2959
|
+
target: { kind: 'panel', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2933
2960
|
inputSchema: { type: 'object', required: ['beforePanelId'], properties: { beforePanelId: { type: 'string' } } },
|
|
2934
|
-
effects: [{ kind: 'reorder-by-key', path: 'panels[]', key: 'id' }],
|
|
2961
|
+
effects: [{ kind: 'reorder-by-key', path: 'panels[]', key: 'id', selectionReconciliation: expansionSelectionReconciliation }],
|
|
2935
2962
|
destructive: false,
|
|
2936
2963
|
requiresConfirmation: false,
|
|
2937
2964
|
validators: ['panel-exists', 'panel-order-deterministic'],
|
|
@@ -2944,7 +2971,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2944
2971
|
title: 'Set disabled state',
|
|
2945
2972
|
scope: 'interaction',
|
|
2946
2973
|
targetKind: 'disabledState',
|
|
2947
|
-
target: { kind: 'disabledState', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
2974
|
+
target: { kind: 'disabledState', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2948
2975
|
inputSchema: { type: 'object', required: ['disabled'], properties: { disabled: { type: 'boolean' } } },
|
|
2949
2976
|
effects: [{ kind: 'merge-by-key', path: 'panels[]', key: 'id' }],
|
|
2950
2977
|
destructive: false,
|
|
@@ -2959,7 +2986,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2959
2986
|
title: 'Set multi-expand behavior',
|
|
2960
2987
|
scope: 'interaction',
|
|
2961
2988
|
targetKind: 'behavior',
|
|
2962
|
-
target: { kind: 'behavior', resolver: 'expansion-behavior-config', ambiguityPolicy: 'fail', required: true },
|
|
2989
|
+
target: { kind: 'behavior', resolver: 'expansion-behavior-config', ambiguityPolicy: 'fail', required: true, resolutionSpec: expansionBehaviorRootResolutionSpec },
|
|
2963
2990
|
inputSchema: { type: 'object', required: ['multi'], properties: { multi: { type: 'boolean' } } },
|
|
2964
2991
|
effects: [{
|
|
2965
2992
|
kind: 'compile-domain-patch',
|
|
@@ -2985,7 +3012,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
2985
3012
|
title: 'Set default expanded panel',
|
|
2986
3013
|
scope: 'interaction',
|
|
2987
3014
|
targetKind: 'expandedState',
|
|
2988
|
-
target: { kind: 'expandedState', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true },
|
|
3015
|
+
target: { kind: 'expandedState', resolver: 'panel-by-id-or-title', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
2989
3016
|
inputSchema: {
|
|
2990
3017
|
type: 'object',
|
|
2991
3018
|
required: ['expanded'],
|
|
@@ -3026,7 +3053,7 @@ const PRAXIS_EXPANSION_AUTHORING_MANIFEST = {
|
|
|
3026
3053
|
title: 'Set panel content',
|
|
3027
3054
|
scope: 'layout',
|
|
3028
3055
|
targetKind: 'panelContent',
|
|
3029
|
-
target: { kind: 'panelContent', resolver: 'panel-content-by-id', ambiguityPolicy: 'fail', required: true },
|
|
3056
|
+
target: { kind: 'panelContent', resolver: 'panel-content-by-id', ambiguityPolicy: 'fail', required: true, resolutionSpec: panelByIdOrTitleResolutionSpec },
|
|
3030
3057
|
inputSchema: panelPatchSchema,
|
|
3031
3058
|
effects: [{ kind: 'merge-by-key', path: 'panels[]', key: 'id' }],
|
|
3032
3059
|
destructive: false,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/expansion",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.46",
|
|
4
4
|
"description": "Expansion panel (accordion) components for Praxis UI with metadata configuration and editor integration.",
|
|
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-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.46",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.46",
|
|
12
|
+
"@praxisui/settings-panel": "^10.0.0-rc.46",
|
|
13
13
|
"@angular/forms": "^21.0.0",
|
|
14
14
|
"@angular/router": "^21.0.0",
|
|
15
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
15
|
+
"@praxisui/ai": "^10.0.0-rc.46",
|
|
16
16
|
"rxjs": "~7.8.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|