@praxisui/crud 10.0.0-rc.53 → 10.0.0-rc.56
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 +910 -34
- package/fesm2022/{praxisui-crud-crud-route-form.component-WB40xi5m.mjs → praxisui-crud-crud-route-form.component-BDtPEq6c.mjs} +1 -1
- package/fesm2022/{praxisui-crud-praxisui-crud-Dwiyw5xM.mjs → praxisui-crud-praxisui-crud-CPteTjgI.mjs} +195 -27
- package/fesm2022/praxisui-crud.mjs +1 -1
- package/package.json +7 -7
- package/types/praxisui-crud.d.ts +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-19T10:38:31.259Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.56",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -6513,6 +6513,220 @@
|
|
|
6513
6513
|
},
|
|
6514
6514
|
"filter": {
|
|
6515
6515
|
"type": "object"
|
|
6516
|
+
},
|
|
6517
|
+
"visualization": {
|
|
6518
|
+
"type": "object",
|
|
6519
|
+
"required": [
|
|
6520
|
+
"kind"
|
|
6521
|
+
],
|
|
6522
|
+
"properties": {
|
|
6523
|
+
"kind": {
|
|
6524
|
+
"enum": [
|
|
6525
|
+
"line",
|
|
6526
|
+
"area",
|
|
6527
|
+
"column",
|
|
6528
|
+
"comparison",
|
|
6529
|
+
"stackedBar",
|
|
6530
|
+
"radial",
|
|
6531
|
+
"harveyBall",
|
|
6532
|
+
"bullet",
|
|
6533
|
+
"delta",
|
|
6534
|
+
"processFlow",
|
|
6535
|
+
"waterfall"
|
|
6536
|
+
]
|
|
6537
|
+
},
|
|
6538
|
+
"surface": {
|
|
6539
|
+
"enum": [
|
|
6540
|
+
"table-cell",
|
|
6541
|
+
"list-item",
|
|
6542
|
+
"object-header",
|
|
6543
|
+
"card-summary",
|
|
6544
|
+
"form-presentation"
|
|
6545
|
+
]
|
|
6546
|
+
},
|
|
6547
|
+
"size": {
|
|
6548
|
+
"enum": [
|
|
6549
|
+
"xs",
|
|
6550
|
+
"sm",
|
|
6551
|
+
"md",
|
|
6552
|
+
"lg",
|
|
6553
|
+
"responsive"
|
|
6554
|
+
]
|
|
6555
|
+
},
|
|
6556
|
+
"scaleScope": {
|
|
6557
|
+
"enum": [
|
|
6558
|
+
"row",
|
|
6559
|
+
"page"
|
|
6560
|
+
]
|
|
6561
|
+
},
|
|
6562
|
+
"title": {
|
|
6563
|
+
"type": "string"
|
|
6564
|
+
},
|
|
6565
|
+
"titleExpr": {
|
|
6566
|
+
"type": [
|
|
6567
|
+
"object",
|
|
6568
|
+
"string"
|
|
6569
|
+
]
|
|
6570
|
+
},
|
|
6571
|
+
"legend": {
|
|
6572
|
+
"type": "boolean"
|
|
6573
|
+
},
|
|
6574
|
+
"value": {},
|
|
6575
|
+
"valueExpr": {
|
|
6576
|
+
"type": [
|
|
6577
|
+
"object",
|
|
6578
|
+
"string"
|
|
6579
|
+
]
|
|
6580
|
+
},
|
|
6581
|
+
"valueSuffix": {
|
|
6582
|
+
"type": "string"
|
|
6583
|
+
},
|
|
6584
|
+
"valueSuffixExpr": {
|
|
6585
|
+
"type": [
|
|
6586
|
+
"object",
|
|
6587
|
+
"string"
|
|
6588
|
+
]
|
|
6589
|
+
},
|
|
6590
|
+
"compactValue": {
|
|
6591
|
+
"type": "boolean"
|
|
6592
|
+
},
|
|
6593
|
+
"min": {
|
|
6594
|
+
"type": "number"
|
|
6595
|
+
},
|
|
6596
|
+
"minExpr": {
|
|
6597
|
+
"type": [
|
|
6598
|
+
"object",
|
|
6599
|
+
"string"
|
|
6600
|
+
]
|
|
6601
|
+
},
|
|
6602
|
+
"max": {
|
|
6603
|
+
"type": "number"
|
|
6604
|
+
},
|
|
6605
|
+
"maxExpr": {
|
|
6606
|
+
"type": [
|
|
6607
|
+
"object",
|
|
6608
|
+
"string"
|
|
6609
|
+
]
|
|
6610
|
+
},
|
|
6611
|
+
"total": {
|
|
6612
|
+
"type": "number"
|
|
6613
|
+
},
|
|
6614
|
+
"totalExpr": {
|
|
6615
|
+
"type": [
|
|
6616
|
+
"object",
|
|
6617
|
+
"string"
|
|
6618
|
+
]
|
|
6619
|
+
},
|
|
6620
|
+
"target": {
|
|
6621
|
+
"type": "number"
|
|
6622
|
+
},
|
|
6623
|
+
"targetExpr": {
|
|
6624
|
+
"type": [
|
|
6625
|
+
"object",
|
|
6626
|
+
"string"
|
|
6627
|
+
]
|
|
6628
|
+
},
|
|
6629
|
+
"targetLabel": {
|
|
6630
|
+
"type": "string"
|
|
6631
|
+
},
|
|
6632
|
+
"targetLabelExpr": {
|
|
6633
|
+
"type": [
|
|
6634
|
+
"object",
|
|
6635
|
+
"string"
|
|
6636
|
+
]
|
|
6637
|
+
},
|
|
6638
|
+
"baseline": {
|
|
6639
|
+
"type": "number"
|
|
6640
|
+
},
|
|
6641
|
+
"baselineExpr": {
|
|
6642
|
+
"type": [
|
|
6643
|
+
"object",
|
|
6644
|
+
"string"
|
|
6645
|
+
]
|
|
6646
|
+
},
|
|
6647
|
+
"points": {
|
|
6648
|
+
"type": "array"
|
|
6649
|
+
},
|
|
6650
|
+
"pointsExpr": {
|
|
6651
|
+
"type": [
|
|
6652
|
+
"object",
|
|
6653
|
+
"string"
|
|
6654
|
+
]
|
|
6655
|
+
},
|
|
6656
|
+
"segments": {
|
|
6657
|
+
"type": "array"
|
|
6658
|
+
},
|
|
6659
|
+
"segmentsExpr": {
|
|
6660
|
+
"type": [
|
|
6661
|
+
"object",
|
|
6662
|
+
"string"
|
|
6663
|
+
]
|
|
6664
|
+
},
|
|
6665
|
+
"thresholds": {
|
|
6666
|
+
"type": "array"
|
|
6667
|
+
},
|
|
6668
|
+
"thresholdsExpr": {
|
|
6669
|
+
"type": [
|
|
6670
|
+
"object",
|
|
6671
|
+
"string"
|
|
6672
|
+
]
|
|
6673
|
+
},
|
|
6674
|
+
"items": {
|
|
6675
|
+
"type": "array"
|
|
6676
|
+
},
|
|
6677
|
+
"itemsExpr": {
|
|
6678
|
+
"type": [
|
|
6679
|
+
"object",
|
|
6680
|
+
"string"
|
|
6681
|
+
]
|
|
6682
|
+
},
|
|
6683
|
+
"tone": {
|
|
6684
|
+
"enum": [
|
|
6685
|
+
"neutral",
|
|
6686
|
+
"info",
|
|
6687
|
+
"success",
|
|
6688
|
+
"warning",
|
|
6689
|
+
"danger",
|
|
6690
|
+
"critical"
|
|
6691
|
+
]
|
|
6692
|
+
},
|
|
6693
|
+
"toneExpr": {
|
|
6694
|
+
"type": [
|
|
6695
|
+
"object",
|
|
6696
|
+
"string"
|
|
6697
|
+
]
|
|
6698
|
+
},
|
|
6699
|
+
"stepLabelWidth": {
|
|
6700
|
+
"type": [
|
|
6701
|
+
"number",
|
|
6702
|
+
"string"
|
|
6703
|
+
]
|
|
6704
|
+
},
|
|
6705
|
+
"stepLabelLineClamp": {
|
|
6706
|
+
"type": "integer"
|
|
6707
|
+
},
|
|
6708
|
+
"ariaLabel": {
|
|
6709
|
+
"type": "string"
|
|
6710
|
+
},
|
|
6711
|
+
"ariaLabelExpr": {
|
|
6712
|
+
"type": [
|
|
6713
|
+
"object",
|
|
6714
|
+
"string"
|
|
6715
|
+
]
|
|
6716
|
+
},
|
|
6717
|
+
"fallbackText": {
|
|
6718
|
+
"type": "string"
|
|
6719
|
+
},
|
|
6720
|
+
"fallbackTextExpr": {
|
|
6721
|
+
"type": [
|
|
6722
|
+
"object",
|
|
6723
|
+
"string"
|
|
6724
|
+
]
|
|
6725
|
+
},
|
|
6726
|
+
"suppressedCount": {
|
|
6727
|
+
"type": "integer"
|
|
6728
|
+
}
|
|
6729
|
+
}
|
|
6516
6730
|
}
|
|
6517
6731
|
}
|
|
6518
6732
|
}
|
|
@@ -6763,6 +6977,220 @@
|
|
|
6763
6977
|
},
|
|
6764
6978
|
"filter": {
|
|
6765
6979
|
"type": "object"
|
|
6980
|
+
},
|
|
6981
|
+
"visualization": {
|
|
6982
|
+
"type": "object",
|
|
6983
|
+
"required": [
|
|
6984
|
+
"kind"
|
|
6985
|
+
],
|
|
6986
|
+
"properties": {
|
|
6987
|
+
"kind": {
|
|
6988
|
+
"enum": [
|
|
6989
|
+
"line",
|
|
6990
|
+
"area",
|
|
6991
|
+
"column",
|
|
6992
|
+
"comparison",
|
|
6993
|
+
"stackedBar",
|
|
6994
|
+
"radial",
|
|
6995
|
+
"harveyBall",
|
|
6996
|
+
"bullet",
|
|
6997
|
+
"delta",
|
|
6998
|
+
"processFlow",
|
|
6999
|
+
"waterfall"
|
|
7000
|
+
]
|
|
7001
|
+
},
|
|
7002
|
+
"surface": {
|
|
7003
|
+
"enum": [
|
|
7004
|
+
"table-cell",
|
|
7005
|
+
"list-item",
|
|
7006
|
+
"object-header",
|
|
7007
|
+
"card-summary",
|
|
7008
|
+
"form-presentation"
|
|
7009
|
+
]
|
|
7010
|
+
},
|
|
7011
|
+
"size": {
|
|
7012
|
+
"enum": [
|
|
7013
|
+
"xs",
|
|
7014
|
+
"sm",
|
|
7015
|
+
"md",
|
|
7016
|
+
"lg",
|
|
7017
|
+
"responsive"
|
|
7018
|
+
]
|
|
7019
|
+
},
|
|
7020
|
+
"scaleScope": {
|
|
7021
|
+
"enum": [
|
|
7022
|
+
"row",
|
|
7023
|
+
"page"
|
|
7024
|
+
]
|
|
7025
|
+
},
|
|
7026
|
+
"title": {
|
|
7027
|
+
"type": "string"
|
|
7028
|
+
},
|
|
7029
|
+
"titleExpr": {
|
|
7030
|
+
"type": [
|
|
7031
|
+
"object",
|
|
7032
|
+
"string"
|
|
7033
|
+
]
|
|
7034
|
+
},
|
|
7035
|
+
"legend": {
|
|
7036
|
+
"type": "boolean"
|
|
7037
|
+
},
|
|
7038
|
+
"value": {},
|
|
7039
|
+
"valueExpr": {
|
|
7040
|
+
"type": [
|
|
7041
|
+
"object",
|
|
7042
|
+
"string"
|
|
7043
|
+
]
|
|
7044
|
+
},
|
|
7045
|
+
"valueSuffix": {
|
|
7046
|
+
"type": "string"
|
|
7047
|
+
},
|
|
7048
|
+
"valueSuffixExpr": {
|
|
7049
|
+
"type": [
|
|
7050
|
+
"object",
|
|
7051
|
+
"string"
|
|
7052
|
+
]
|
|
7053
|
+
},
|
|
7054
|
+
"compactValue": {
|
|
7055
|
+
"type": "boolean"
|
|
7056
|
+
},
|
|
7057
|
+
"min": {
|
|
7058
|
+
"type": "number"
|
|
7059
|
+
},
|
|
7060
|
+
"minExpr": {
|
|
7061
|
+
"type": [
|
|
7062
|
+
"object",
|
|
7063
|
+
"string"
|
|
7064
|
+
]
|
|
7065
|
+
},
|
|
7066
|
+
"max": {
|
|
7067
|
+
"type": "number"
|
|
7068
|
+
},
|
|
7069
|
+
"maxExpr": {
|
|
7070
|
+
"type": [
|
|
7071
|
+
"object",
|
|
7072
|
+
"string"
|
|
7073
|
+
]
|
|
7074
|
+
},
|
|
7075
|
+
"total": {
|
|
7076
|
+
"type": "number"
|
|
7077
|
+
},
|
|
7078
|
+
"totalExpr": {
|
|
7079
|
+
"type": [
|
|
7080
|
+
"object",
|
|
7081
|
+
"string"
|
|
7082
|
+
]
|
|
7083
|
+
},
|
|
7084
|
+
"target": {
|
|
7085
|
+
"type": "number"
|
|
7086
|
+
},
|
|
7087
|
+
"targetExpr": {
|
|
7088
|
+
"type": [
|
|
7089
|
+
"object",
|
|
7090
|
+
"string"
|
|
7091
|
+
]
|
|
7092
|
+
},
|
|
7093
|
+
"targetLabel": {
|
|
7094
|
+
"type": "string"
|
|
7095
|
+
},
|
|
7096
|
+
"targetLabelExpr": {
|
|
7097
|
+
"type": [
|
|
7098
|
+
"object",
|
|
7099
|
+
"string"
|
|
7100
|
+
]
|
|
7101
|
+
},
|
|
7102
|
+
"baseline": {
|
|
7103
|
+
"type": "number"
|
|
7104
|
+
},
|
|
7105
|
+
"baselineExpr": {
|
|
7106
|
+
"type": [
|
|
7107
|
+
"object",
|
|
7108
|
+
"string"
|
|
7109
|
+
]
|
|
7110
|
+
},
|
|
7111
|
+
"points": {
|
|
7112
|
+
"type": "array"
|
|
7113
|
+
},
|
|
7114
|
+
"pointsExpr": {
|
|
7115
|
+
"type": [
|
|
7116
|
+
"object",
|
|
7117
|
+
"string"
|
|
7118
|
+
]
|
|
7119
|
+
},
|
|
7120
|
+
"segments": {
|
|
7121
|
+
"type": "array"
|
|
7122
|
+
},
|
|
7123
|
+
"segmentsExpr": {
|
|
7124
|
+
"type": [
|
|
7125
|
+
"object",
|
|
7126
|
+
"string"
|
|
7127
|
+
]
|
|
7128
|
+
},
|
|
7129
|
+
"thresholds": {
|
|
7130
|
+
"type": "array"
|
|
7131
|
+
},
|
|
7132
|
+
"thresholdsExpr": {
|
|
7133
|
+
"type": [
|
|
7134
|
+
"object",
|
|
7135
|
+
"string"
|
|
7136
|
+
]
|
|
7137
|
+
},
|
|
7138
|
+
"items": {
|
|
7139
|
+
"type": "array"
|
|
7140
|
+
},
|
|
7141
|
+
"itemsExpr": {
|
|
7142
|
+
"type": [
|
|
7143
|
+
"object",
|
|
7144
|
+
"string"
|
|
7145
|
+
]
|
|
7146
|
+
},
|
|
7147
|
+
"tone": {
|
|
7148
|
+
"enum": [
|
|
7149
|
+
"neutral",
|
|
7150
|
+
"info",
|
|
7151
|
+
"success",
|
|
7152
|
+
"warning",
|
|
7153
|
+
"danger",
|
|
7154
|
+
"critical"
|
|
7155
|
+
]
|
|
7156
|
+
},
|
|
7157
|
+
"toneExpr": {
|
|
7158
|
+
"type": [
|
|
7159
|
+
"object",
|
|
7160
|
+
"string"
|
|
7161
|
+
]
|
|
7162
|
+
},
|
|
7163
|
+
"stepLabelWidth": {
|
|
7164
|
+
"type": [
|
|
7165
|
+
"number",
|
|
7166
|
+
"string"
|
|
7167
|
+
]
|
|
7168
|
+
},
|
|
7169
|
+
"stepLabelLineClamp": {
|
|
7170
|
+
"type": "integer"
|
|
7171
|
+
},
|
|
7172
|
+
"ariaLabel": {
|
|
7173
|
+
"type": "string"
|
|
7174
|
+
},
|
|
7175
|
+
"ariaLabelExpr": {
|
|
7176
|
+
"type": [
|
|
7177
|
+
"object",
|
|
7178
|
+
"string"
|
|
7179
|
+
]
|
|
7180
|
+
},
|
|
7181
|
+
"fallbackText": {
|
|
7182
|
+
"type": "string"
|
|
7183
|
+
},
|
|
7184
|
+
"fallbackTextExpr": {
|
|
7185
|
+
"type": [
|
|
7186
|
+
"object",
|
|
7187
|
+
"string"
|
|
7188
|
+
]
|
|
7189
|
+
},
|
|
7190
|
+
"suppressedCount": {
|
|
7191
|
+
"type": "integer"
|
|
7192
|
+
}
|
|
7193
|
+
}
|
|
6766
7194
|
}
|
|
6767
7195
|
}
|
|
6768
7196
|
}
|
|
@@ -6987,6 +7415,220 @@
|
|
|
6987
7415
|
},
|
|
6988
7416
|
"filter": {
|
|
6989
7417
|
"type": "object"
|
|
7418
|
+
},
|
|
7419
|
+
"visualization": {
|
|
7420
|
+
"type": "object",
|
|
7421
|
+
"required": [
|
|
7422
|
+
"kind"
|
|
7423
|
+
],
|
|
7424
|
+
"properties": {
|
|
7425
|
+
"kind": {
|
|
7426
|
+
"enum": [
|
|
7427
|
+
"line",
|
|
7428
|
+
"area",
|
|
7429
|
+
"column",
|
|
7430
|
+
"comparison",
|
|
7431
|
+
"stackedBar",
|
|
7432
|
+
"radial",
|
|
7433
|
+
"harveyBall",
|
|
7434
|
+
"bullet",
|
|
7435
|
+
"delta",
|
|
7436
|
+
"processFlow",
|
|
7437
|
+
"waterfall"
|
|
7438
|
+
]
|
|
7439
|
+
},
|
|
7440
|
+
"surface": {
|
|
7441
|
+
"enum": [
|
|
7442
|
+
"table-cell",
|
|
7443
|
+
"list-item",
|
|
7444
|
+
"object-header",
|
|
7445
|
+
"card-summary",
|
|
7446
|
+
"form-presentation"
|
|
7447
|
+
]
|
|
7448
|
+
},
|
|
7449
|
+
"size": {
|
|
7450
|
+
"enum": [
|
|
7451
|
+
"xs",
|
|
7452
|
+
"sm",
|
|
7453
|
+
"md",
|
|
7454
|
+
"lg",
|
|
7455
|
+
"responsive"
|
|
7456
|
+
]
|
|
7457
|
+
},
|
|
7458
|
+
"scaleScope": {
|
|
7459
|
+
"enum": [
|
|
7460
|
+
"row",
|
|
7461
|
+
"page"
|
|
7462
|
+
]
|
|
7463
|
+
},
|
|
7464
|
+
"title": {
|
|
7465
|
+
"type": "string"
|
|
7466
|
+
},
|
|
7467
|
+
"titleExpr": {
|
|
7468
|
+
"type": [
|
|
7469
|
+
"object",
|
|
7470
|
+
"string"
|
|
7471
|
+
]
|
|
7472
|
+
},
|
|
7473
|
+
"legend": {
|
|
7474
|
+
"type": "boolean"
|
|
7475
|
+
},
|
|
7476
|
+
"value": {},
|
|
7477
|
+
"valueExpr": {
|
|
7478
|
+
"type": [
|
|
7479
|
+
"object",
|
|
7480
|
+
"string"
|
|
7481
|
+
]
|
|
7482
|
+
},
|
|
7483
|
+
"valueSuffix": {
|
|
7484
|
+
"type": "string"
|
|
7485
|
+
},
|
|
7486
|
+
"valueSuffixExpr": {
|
|
7487
|
+
"type": [
|
|
7488
|
+
"object",
|
|
7489
|
+
"string"
|
|
7490
|
+
]
|
|
7491
|
+
},
|
|
7492
|
+
"compactValue": {
|
|
7493
|
+
"type": "boolean"
|
|
7494
|
+
},
|
|
7495
|
+
"min": {
|
|
7496
|
+
"type": "number"
|
|
7497
|
+
},
|
|
7498
|
+
"minExpr": {
|
|
7499
|
+
"type": [
|
|
7500
|
+
"object",
|
|
7501
|
+
"string"
|
|
7502
|
+
]
|
|
7503
|
+
},
|
|
7504
|
+
"max": {
|
|
7505
|
+
"type": "number"
|
|
7506
|
+
},
|
|
7507
|
+
"maxExpr": {
|
|
7508
|
+
"type": [
|
|
7509
|
+
"object",
|
|
7510
|
+
"string"
|
|
7511
|
+
]
|
|
7512
|
+
},
|
|
7513
|
+
"total": {
|
|
7514
|
+
"type": "number"
|
|
7515
|
+
},
|
|
7516
|
+
"totalExpr": {
|
|
7517
|
+
"type": [
|
|
7518
|
+
"object",
|
|
7519
|
+
"string"
|
|
7520
|
+
]
|
|
7521
|
+
},
|
|
7522
|
+
"target": {
|
|
7523
|
+
"type": "number"
|
|
7524
|
+
},
|
|
7525
|
+
"targetExpr": {
|
|
7526
|
+
"type": [
|
|
7527
|
+
"object",
|
|
7528
|
+
"string"
|
|
7529
|
+
]
|
|
7530
|
+
},
|
|
7531
|
+
"targetLabel": {
|
|
7532
|
+
"type": "string"
|
|
7533
|
+
},
|
|
7534
|
+
"targetLabelExpr": {
|
|
7535
|
+
"type": [
|
|
7536
|
+
"object",
|
|
7537
|
+
"string"
|
|
7538
|
+
]
|
|
7539
|
+
},
|
|
7540
|
+
"baseline": {
|
|
7541
|
+
"type": "number"
|
|
7542
|
+
},
|
|
7543
|
+
"baselineExpr": {
|
|
7544
|
+
"type": [
|
|
7545
|
+
"object",
|
|
7546
|
+
"string"
|
|
7547
|
+
]
|
|
7548
|
+
},
|
|
7549
|
+
"points": {
|
|
7550
|
+
"type": "array"
|
|
7551
|
+
},
|
|
7552
|
+
"pointsExpr": {
|
|
7553
|
+
"type": [
|
|
7554
|
+
"object",
|
|
7555
|
+
"string"
|
|
7556
|
+
]
|
|
7557
|
+
},
|
|
7558
|
+
"segments": {
|
|
7559
|
+
"type": "array"
|
|
7560
|
+
},
|
|
7561
|
+
"segmentsExpr": {
|
|
7562
|
+
"type": [
|
|
7563
|
+
"object",
|
|
7564
|
+
"string"
|
|
7565
|
+
]
|
|
7566
|
+
},
|
|
7567
|
+
"thresholds": {
|
|
7568
|
+
"type": "array"
|
|
7569
|
+
},
|
|
7570
|
+
"thresholdsExpr": {
|
|
7571
|
+
"type": [
|
|
7572
|
+
"object",
|
|
7573
|
+
"string"
|
|
7574
|
+
]
|
|
7575
|
+
},
|
|
7576
|
+
"items": {
|
|
7577
|
+
"type": "array"
|
|
7578
|
+
},
|
|
7579
|
+
"itemsExpr": {
|
|
7580
|
+
"type": [
|
|
7581
|
+
"object",
|
|
7582
|
+
"string"
|
|
7583
|
+
]
|
|
7584
|
+
},
|
|
7585
|
+
"tone": {
|
|
7586
|
+
"enum": [
|
|
7587
|
+
"neutral",
|
|
7588
|
+
"info",
|
|
7589
|
+
"success",
|
|
7590
|
+
"warning",
|
|
7591
|
+
"danger",
|
|
7592
|
+
"critical"
|
|
7593
|
+
]
|
|
7594
|
+
},
|
|
7595
|
+
"toneExpr": {
|
|
7596
|
+
"type": [
|
|
7597
|
+
"object",
|
|
7598
|
+
"string"
|
|
7599
|
+
]
|
|
7600
|
+
},
|
|
7601
|
+
"stepLabelWidth": {
|
|
7602
|
+
"type": [
|
|
7603
|
+
"number",
|
|
7604
|
+
"string"
|
|
7605
|
+
]
|
|
7606
|
+
},
|
|
7607
|
+
"stepLabelLineClamp": {
|
|
7608
|
+
"type": "integer"
|
|
7609
|
+
},
|
|
7610
|
+
"ariaLabel": {
|
|
7611
|
+
"type": "string"
|
|
7612
|
+
},
|
|
7613
|
+
"ariaLabelExpr": {
|
|
7614
|
+
"type": [
|
|
7615
|
+
"object",
|
|
7616
|
+
"string"
|
|
7617
|
+
]
|
|
7618
|
+
},
|
|
7619
|
+
"fallbackText": {
|
|
7620
|
+
"type": "string"
|
|
7621
|
+
},
|
|
7622
|
+
"fallbackTextExpr": {
|
|
7623
|
+
"type": [
|
|
7624
|
+
"object",
|
|
7625
|
+
"string"
|
|
7626
|
+
]
|
|
7627
|
+
},
|
|
7628
|
+
"suppressedCount": {
|
|
7629
|
+
"type": "integer"
|
|
7630
|
+
}
|
|
7631
|
+
}
|
|
6990
7632
|
}
|
|
6991
7633
|
}
|
|
6992
7634
|
}
|
|
@@ -7089,6 +7731,220 @@
|
|
|
7089
7731
|
},
|
|
7090
7732
|
"filter": {
|
|
7091
7733
|
"type": "object"
|
|
7734
|
+
},
|
|
7735
|
+
"visualization": {
|
|
7736
|
+
"type": "object",
|
|
7737
|
+
"required": [
|
|
7738
|
+
"kind"
|
|
7739
|
+
],
|
|
7740
|
+
"properties": {
|
|
7741
|
+
"kind": {
|
|
7742
|
+
"enum": [
|
|
7743
|
+
"line",
|
|
7744
|
+
"area",
|
|
7745
|
+
"column",
|
|
7746
|
+
"comparison",
|
|
7747
|
+
"stackedBar",
|
|
7748
|
+
"radial",
|
|
7749
|
+
"harveyBall",
|
|
7750
|
+
"bullet",
|
|
7751
|
+
"delta",
|
|
7752
|
+
"processFlow",
|
|
7753
|
+
"waterfall"
|
|
7754
|
+
]
|
|
7755
|
+
},
|
|
7756
|
+
"surface": {
|
|
7757
|
+
"enum": [
|
|
7758
|
+
"table-cell",
|
|
7759
|
+
"list-item",
|
|
7760
|
+
"object-header",
|
|
7761
|
+
"card-summary",
|
|
7762
|
+
"form-presentation"
|
|
7763
|
+
]
|
|
7764
|
+
},
|
|
7765
|
+
"size": {
|
|
7766
|
+
"enum": [
|
|
7767
|
+
"xs",
|
|
7768
|
+
"sm",
|
|
7769
|
+
"md",
|
|
7770
|
+
"lg",
|
|
7771
|
+
"responsive"
|
|
7772
|
+
]
|
|
7773
|
+
},
|
|
7774
|
+
"scaleScope": {
|
|
7775
|
+
"enum": [
|
|
7776
|
+
"row",
|
|
7777
|
+
"page"
|
|
7778
|
+
]
|
|
7779
|
+
},
|
|
7780
|
+
"title": {
|
|
7781
|
+
"type": "string"
|
|
7782
|
+
},
|
|
7783
|
+
"titleExpr": {
|
|
7784
|
+
"type": [
|
|
7785
|
+
"object",
|
|
7786
|
+
"string"
|
|
7787
|
+
]
|
|
7788
|
+
},
|
|
7789
|
+
"legend": {
|
|
7790
|
+
"type": "boolean"
|
|
7791
|
+
},
|
|
7792
|
+
"value": {},
|
|
7793
|
+
"valueExpr": {
|
|
7794
|
+
"type": [
|
|
7795
|
+
"object",
|
|
7796
|
+
"string"
|
|
7797
|
+
]
|
|
7798
|
+
},
|
|
7799
|
+
"valueSuffix": {
|
|
7800
|
+
"type": "string"
|
|
7801
|
+
},
|
|
7802
|
+
"valueSuffixExpr": {
|
|
7803
|
+
"type": [
|
|
7804
|
+
"object",
|
|
7805
|
+
"string"
|
|
7806
|
+
]
|
|
7807
|
+
},
|
|
7808
|
+
"compactValue": {
|
|
7809
|
+
"type": "boolean"
|
|
7810
|
+
},
|
|
7811
|
+
"min": {
|
|
7812
|
+
"type": "number"
|
|
7813
|
+
},
|
|
7814
|
+
"minExpr": {
|
|
7815
|
+
"type": [
|
|
7816
|
+
"object",
|
|
7817
|
+
"string"
|
|
7818
|
+
]
|
|
7819
|
+
},
|
|
7820
|
+
"max": {
|
|
7821
|
+
"type": "number"
|
|
7822
|
+
},
|
|
7823
|
+
"maxExpr": {
|
|
7824
|
+
"type": [
|
|
7825
|
+
"object",
|
|
7826
|
+
"string"
|
|
7827
|
+
]
|
|
7828
|
+
},
|
|
7829
|
+
"total": {
|
|
7830
|
+
"type": "number"
|
|
7831
|
+
},
|
|
7832
|
+
"totalExpr": {
|
|
7833
|
+
"type": [
|
|
7834
|
+
"object",
|
|
7835
|
+
"string"
|
|
7836
|
+
]
|
|
7837
|
+
},
|
|
7838
|
+
"target": {
|
|
7839
|
+
"type": "number"
|
|
7840
|
+
},
|
|
7841
|
+
"targetExpr": {
|
|
7842
|
+
"type": [
|
|
7843
|
+
"object",
|
|
7844
|
+
"string"
|
|
7845
|
+
]
|
|
7846
|
+
},
|
|
7847
|
+
"targetLabel": {
|
|
7848
|
+
"type": "string"
|
|
7849
|
+
},
|
|
7850
|
+
"targetLabelExpr": {
|
|
7851
|
+
"type": [
|
|
7852
|
+
"object",
|
|
7853
|
+
"string"
|
|
7854
|
+
]
|
|
7855
|
+
},
|
|
7856
|
+
"baseline": {
|
|
7857
|
+
"type": "number"
|
|
7858
|
+
},
|
|
7859
|
+
"baselineExpr": {
|
|
7860
|
+
"type": [
|
|
7861
|
+
"object",
|
|
7862
|
+
"string"
|
|
7863
|
+
]
|
|
7864
|
+
},
|
|
7865
|
+
"points": {
|
|
7866
|
+
"type": "array"
|
|
7867
|
+
},
|
|
7868
|
+
"pointsExpr": {
|
|
7869
|
+
"type": [
|
|
7870
|
+
"object",
|
|
7871
|
+
"string"
|
|
7872
|
+
]
|
|
7873
|
+
},
|
|
7874
|
+
"segments": {
|
|
7875
|
+
"type": "array"
|
|
7876
|
+
},
|
|
7877
|
+
"segmentsExpr": {
|
|
7878
|
+
"type": [
|
|
7879
|
+
"object",
|
|
7880
|
+
"string"
|
|
7881
|
+
]
|
|
7882
|
+
},
|
|
7883
|
+
"thresholds": {
|
|
7884
|
+
"type": "array"
|
|
7885
|
+
},
|
|
7886
|
+
"thresholdsExpr": {
|
|
7887
|
+
"type": [
|
|
7888
|
+
"object",
|
|
7889
|
+
"string"
|
|
7890
|
+
]
|
|
7891
|
+
},
|
|
7892
|
+
"items": {
|
|
7893
|
+
"type": "array"
|
|
7894
|
+
},
|
|
7895
|
+
"itemsExpr": {
|
|
7896
|
+
"type": [
|
|
7897
|
+
"object",
|
|
7898
|
+
"string"
|
|
7899
|
+
]
|
|
7900
|
+
},
|
|
7901
|
+
"tone": {
|
|
7902
|
+
"enum": [
|
|
7903
|
+
"neutral",
|
|
7904
|
+
"info",
|
|
7905
|
+
"success",
|
|
7906
|
+
"warning",
|
|
7907
|
+
"danger",
|
|
7908
|
+
"critical"
|
|
7909
|
+
]
|
|
7910
|
+
},
|
|
7911
|
+
"toneExpr": {
|
|
7912
|
+
"type": [
|
|
7913
|
+
"object",
|
|
7914
|
+
"string"
|
|
7915
|
+
]
|
|
7916
|
+
},
|
|
7917
|
+
"stepLabelWidth": {
|
|
7918
|
+
"type": [
|
|
7919
|
+
"number",
|
|
7920
|
+
"string"
|
|
7921
|
+
]
|
|
7922
|
+
},
|
|
7923
|
+
"stepLabelLineClamp": {
|
|
7924
|
+
"type": "integer"
|
|
7925
|
+
},
|
|
7926
|
+
"ariaLabel": {
|
|
7927
|
+
"type": "string"
|
|
7928
|
+
},
|
|
7929
|
+
"ariaLabelExpr": {
|
|
7930
|
+
"type": [
|
|
7931
|
+
"object",
|
|
7932
|
+
"string"
|
|
7933
|
+
]
|
|
7934
|
+
},
|
|
7935
|
+
"fallbackText": {
|
|
7936
|
+
"type": "string"
|
|
7937
|
+
},
|
|
7938
|
+
"fallbackTextExpr": {
|
|
7939
|
+
"type": [
|
|
7940
|
+
"object",
|
|
7941
|
+
"string"
|
|
7942
|
+
]
|
|
7943
|
+
},
|
|
7944
|
+
"suppressedCount": {
|
|
7945
|
+
"type": "integer"
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7092
7948
|
}
|
|
7093
7949
|
}
|
|
7094
7950
|
}
|
|
@@ -9376,9 +10232,9 @@
|
|
|
9376
10232
|
{
|
|
9377
10233
|
"chunkIndex": 15,
|
|
9378
10234
|
"chunkKind": "authoring_manifest",
|
|
9379
|
-
"content": "{\"operationId\":\"list.surface.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure CRUD list surface Effects: compile-domain-patch. Filter the list by active employees using the canonical query context.\",\"scope\":\"interaction\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"tablePatch\",\"queryContext\",\"filterCriteria\",\"pageHeader\",\"kpiBand\",\"filterBar\"],\"semanticTerms\":[\"tablePatch\",\"queryContext\",\"filterCriteria\",\"pageHeader\",\"kpiBand\",\"filterBar\",\"pageHeader.title\",\"pageHeader.subtitle\",\"pageHeader.domain\",\"kpiBand.enabled\",\"kpiBand.columns\",\"kpiBand.source\",\"kpiBand.method\",\"kpiBand.payload\",\"kpiBand.cards\",\"filterBar.inlineFields\",\"filterBar.quickFilters\",\"filterBar.includeDiscoveredQuickFilters\",\"filterBar.showAdvanced\",\"filterBar.placement\",\"pageHeader.domain.label\",\"pageHeader.domain.icon\",\"pageHeader.domain.tone\",\"2\",\"3\",\"4\",\"GET\",\"POST\",\"table-toolbar\",\"scope-bar\",\"primary\",\"accent\",\"info\",\"success\",\"warning\",\"danger\",\"neutral\",\"warn\",\"kpiBand.cards.id\",\"kpiBand.cards.label\",\"kpiBand.cards.value\",\"kpiBand.cards.valueExpr\",\"kpiBand.cards.caption\",\"kpiBand.cards.captionExpr\",\"kpiBand.cards.icon\",\"kpiBand.cards.variant\",\"kpiBand.cards.tone\",\"kpiBand.cards.filter\",\"default\",\"
|
|
10235
|
+
"content": "{\"operationId\":\"list.surface.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure CRUD list surface Effects: compile-domain-patch. Filter the list by active employees using the canonical query context.\",\"scope\":\"interaction\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"tablePatch\",\"queryContext\",\"filterCriteria\",\"pageHeader\",\"kpiBand\",\"filterBar\"],\"semanticTerms\":[\"tablePatch\",\"queryContext\",\"filterCriteria\",\"pageHeader\",\"kpiBand\",\"filterBar\",\"pageHeader.title\",\"pageHeader.subtitle\",\"pageHeader.domain\",\"kpiBand.enabled\",\"kpiBand.columns\",\"kpiBand.source\",\"kpiBand.method\",\"kpiBand.payload\",\"kpiBand.cards\",\"filterBar.inlineFields\",\"filterBar.quickFilters\",\"filterBar.includeDiscoveredQuickFilters\",\"filterBar.showAdvanced\",\"filterBar.placement\",\"pageHeader.domain.label\",\"pageHeader.domain.icon\",\"pageHeader.domain.tone\",\"2\",\"3\",\"4\",\"GET\",\"POST\",\"table-toolbar\",\"scope-bar\",\"primary\",\"accent\",\"info\",\"success\",\"warning\",\"danger\",\"neutral\",\"warn\",\"kpiBand.cards.id\",\"kpiBand.cards.label\",\"kpiBand.cards.value\",\"kpiBand.cards.valueExpr\",\"kpiBand.cards.caption\",\"kpiBand.cards.captionExpr\",\"kpiBand.cards.icon\",\"kpiBand.cards.variant\",\"kpiBand.cards.tone\",\"kpiBand.cards.filter\",\"kpiBand.cards.visualization\",\"default\",\"kpiBand.cards.visualization.kind\",\"kpiBand.cards.visualization.surface\",\"kpiBand.cards.visualization.size\",\"kpiBand.cards.visualization.scaleScope\",\"kpiBand.cards.visualization.title\",\"kpiBand.cards.visualization.titleExpr\",\"kpiBand.cards.visualization.legend\",\"kpiBand.cards.visualization.value\",\"kpiBand.cards.visualization.valueExpr\",\"kpiBand.cards.visualization.valueSuffix\",\"kpiBand.cards.visualization.valueSuffixExpr\",\"kpiBand.cards.visualization.compactValue\",\"kpiBand.cards.visualization.min\",\"kpiBand.cards.visualization.minExpr\",\"kpiBand.cards.visualization.max\",\"kpiBand.cards.visualization.maxExpr\",\"kpiBand.cards.visualization.total\",\"kpiBand.cards.visualization.totalExpr\",\"kpiBand.cards.visualization.target\",\"kpiBand.cards.visualization.targetExpr\",\"kpiBand.cards.visualization.targetLabel\",\"kpiBand.cards.visualization.targetLabelExpr\",\"kpiBand.cards.visualization.baseline\",\"kpiBand.cards.visualization.baselineExpr\",\"kpiBand.cards.visualization.points\",\"kpiBand.cards.visualization.pointsExpr\",\"kpiBand.cards.visualization.segments\",\"kpiBand.cards.visualization.segmentsExpr\",\"kpiBand.cards.visualization.thresholds\",\"kpiBand.cards.visualization.thresholdsExpr\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"table\",\"queryContext\",\"filterCriteria\",\"kpiBand\",\"filterBar\"],\"validators\":[{\"validatorId\":\"table-child-operation-delegated\",\"level\":\"error\",\"code\":\"CRUD_TABLE_CHILD_DELEGATED\",\"description\":\"Table semantics must be delegated to praxis-table.\"},{\"validatorId\":\"query-context-valid\",\"level\":\"error\",\"code\":\"CRUD_QUERY_CONTEXT_VALID\",\"description\":\"Query context must be valid for the bound resource.\"},{\"validatorId\":\"filter-criteria-bridge-valid\",\"level\":\"warning\",\"code\":\"CRUD_FILTER_CRITERIA_BRIDGE_VALID\",\"description\":\"filterCriteria is a bridge; prefer queryContext for new remote authoring.\"},{\"validatorId\":\"crud-context-stable\",\"level\":\"error\",\"code\":\"CRUD_CONTEXT_STABLE\",\"description\":\"Authoring must not break stable crudContext references.\"}],\"preconditions\":[\"crud-metadata-loaded\",\"praxis-table-manifest-available\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"crud-list-query-context\",\"request\":\"Filter the list by active employees using the canonical query context.\",\"operationId\":\"list.surface.configure\",\"target\":\"listSurface\",\"params\":{\"queryContext\":{\"filters\":[{\"field\":\"active\",\"operator\":\"eq\",\"value\":true}]}},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
9380
10236
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9381
|
-
"contentHash": "
|
|
10237
|
+
"contentHash": "86a72630116b868e1046c8b059b44c33968fd0cda99d66798bb10d5a2301f260",
|
|
9382
10238
|
"sourceKind": "component_definition",
|
|
9383
10239
|
"sourceId": "praxis-crud",
|
|
9384
10240
|
"corpusVersion": "1.0.0"
|
|
@@ -9386,9 +10242,9 @@
|
|
|
9386
10242
|
{
|
|
9387
10243
|
"chunkIndex": 16,
|
|
9388
10244
|
"chunkKind": "authoring_manifest",
|
|
9389
|
-
"content": "{\"operationId\":\"list.kpiBand.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure CRUD KPI band Effects: compile-domain-patch.\",\"scope\":\"interaction\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"enabled\",\"columns\",\"source\",\"method\",\"payload\",\"cards\"],\"semanticTerms\":[\"enabled\",\"columns\",\"source\",\"method\",\"payload\",\"cards\",\"2\",\"3\",\"4\",\"GET\",\"POST\",\"cards.id\",\"cards.label\",\"cards.value\",\"cards.valueExpr\",\"cards.caption\",\"cards.captionExpr\",\"cards.icon\",\"cards.variant\",\"cards.tone\",\"cards.filter\",\"default\",\"primary\",\"success\",\"warning\",\"danger\",\"neutral\",\"info\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"kpiBand\"],\"validators\":[{\"validatorId\":\"crud-context-stable\",\"level\":\"error\",\"code\":\"CRUD_CONTEXT_STABLE\",\"description\":\"Authoring must not break stable crudContext references.\"}],\"preconditions\":[\"crud-metadata-loaded\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[],\"negativeExamples\":[]}",
|
|
10245
|
+
"content": "{\"operationId\":\"list.kpiBand.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure CRUD KPI band Effects: compile-domain-patch.\",\"scope\":\"interaction\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"enabled\",\"columns\",\"source\",\"method\",\"payload\",\"cards\"],\"semanticTerms\":[\"enabled\",\"columns\",\"source\",\"method\",\"payload\",\"cards\",\"2\",\"3\",\"4\",\"GET\",\"POST\",\"cards.id\",\"cards.label\",\"cards.value\",\"cards.valueExpr\",\"cards.caption\",\"cards.captionExpr\",\"cards.icon\",\"cards.variant\",\"cards.tone\",\"cards.filter\",\"cards.visualization\",\"default\",\"primary\",\"success\",\"warning\",\"danger\",\"neutral\",\"info\",\"cards.visualization.kind\",\"cards.visualization.surface\",\"cards.visualization.size\",\"cards.visualization.scaleScope\",\"cards.visualization.title\",\"cards.visualization.titleExpr\",\"cards.visualization.legend\",\"cards.visualization.value\",\"cards.visualization.valueExpr\",\"cards.visualization.valueSuffix\",\"cards.visualization.valueSuffixExpr\",\"cards.visualization.compactValue\",\"cards.visualization.min\",\"cards.visualization.minExpr\",\"cards.visualization.max\",\"cards.visualization.maxExpr\",\"cards.visualization.total\",\"cards.visualization.totalExpr\",\"cards.visualization.target\",\"cards.visualization.targetExpr\",\"cards.visualization.targetLabel\",\"cards.visualization.targetLabelExpr\",\"cards.visualization.baseline\",\"cards.visualization.baselineExpr\",\"cards.visualization.points\",\"cards.visualization.pointsExpr\",\"cards.visualization.segments\",\"cards.visualization.segmentsExpr\",\"cards.visualization.thresholds\",\"cards.visualization.thresholdsExpr\",\"cards.visualization.items\",\"cards.visualization.itemsExpr\",\"cards.visualization.tone\",\"cards.visualization.toneExpr\",\"cards.visualization.stepLabelWidth\",\"cards.visualization.stepLabelLineClamp\",\"cards.visualization.ariaLabel\",\"cards.visualization.ariaLabelExpr\",\"cards.visualization.fallbackText\",\"cards.visualization.fallbackTextExpr\",\"cards.visualization.suppressedCount\",\"line\",\"area\",\"column\",\"comparison\",\"stackedBar\",\"radial\",\"harveyBall\",\"bullet\",\"delta\",\"processFlow\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"kpiBand\"],\"validators\":[{\"validatorId\":\"crud-context-stable\",\"level\":\"error\",\"code\":\"CRUD_CONTEXT_STABLE\",\"description\":\"Authoring must not break stable crudContext references.\"}],\"preconditions\":[\"crud-metadata-loaded\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[],\"negativeExamples\":[]}",
|
|
9390
10246
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9391
|
-
"contentHash": "
|
|
10247
|
+
"contentHash": "ac52bfd9405c3258a52b9d44f6462b56e709df6f3d0bac88d83e5759b959bcf2",
|
|
9392
10248
|
"sourceKind": "component_definition",
|
|
9393
10249
|
"sourceId": "praxis-crud",
|
|
9394
10250
|
"corpusVersion": "1.0.0"
|
|
@@ -9516,9 +10372,9 @@
|
|
|
9516
10372
|
{
|
|
9517
10373
|
"chunkIndex": 29,
|
|
9518
10374
|
"chunkKind": "authoring_manifest",
|
|
9519
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":
|
|
10375
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations[2]\",\"fragmentPath\":\"operations[2]\",\"fragmentIdentity\":{\"operationId\":\"list.surface.configure\"},\"fragment\":{\"operationId\":\"list.surface.configure\",\"title\":\"Configure CRUD list surface\",\"scope\":\"interaction\",\"targetKind\":\"listSurface\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"tablePatch\":{\"type\":\"object\"},\"queryContext\":{\"type\":\"object\"},\"filterCriteria\":{\"type\":\"object\"},\"pageHeader\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"subtitle\":{\"type\":\"string\"},\"domain\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"tone\":{\"enum\":[\"primary\",\"accent\",\"info\",\"success\",\"warning\",\"danger\",\"neutral\",\"warn\"]}}}}},\"kpiBand\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"columns\":{\"enum\":[2,3,4]},\"source\":{\"type\":\"string\",\"description\":\"Endpoint de telemetria agregada (/stats/group-by ou /filter?page=0&size=1) ou 'schema' para auto-hidratação via /schemas/filtered, x-ui.resourceFacts, capabilities.stats e @QuickFilter.\"},\"method\":{\"enum\":[\"GET\",\"POST\"]},\"payload\":{\"type\":\"object\"},\"cards\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"value\":{\"type\":[\"string\",\"number\"]},\"valueExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe com pipes declarativos (ex.: '${totalCount | number | default:0} Registros').\"},\"caption\":{\"type\":\"string\"},\"captionExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe para legenda com pipes declarativos (ex.: '(${((byKey.true / totalCount) * 100) | round:1 | default:0}%)').\"},\"icon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"default\",\"primary\",\"success\",\"warning\",\"danger\"]},\"tone\":{\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\"]},\"filter\":{\"type\":\"object\"},\"visualization\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"line\",\"area\",\"column\",\"comparison\",\"stackedBar\",\"radial\",\"harveyBall\",\"bullet\",\"delta\",\"processFlow\",\"waterfall\"]},\"surface\":{\"enum\":[\"table-cell\",\"list-item\",\"object-header\",\"card-summary\",\"form-presentation\"]},\"size\":{\"enum\":[\"xs\",\"sm\",\"md\",\"lg\",\"responsive\"]},\"scaleScope\":{\"enum\":[\"row\",\"page\"]},\"title\":{\"type\":\"string\"},\"titleExpr\":{\"type\":[\"object\",\"string\"]},\"legend\":{\"type\":\"boolean\"},\"value\":{},\"valueExpr\":{\"type\":[\"object\",\"string\"]},\"valueSuffix\":{\"type\":\"string\"},\"valueSuffixExpr\":{\"type\":[\"object\",\"string\"]},\"compactValue\":{\"type\":\"boolean\"},\"min\":{\"type\":\"number\"},\"minExpr\":{\"type\":[\"object\",\"string\"]},\"max\":{\"type\":\"number\"},\"maxExpr\":{\"type\":[\"object\",\"string\"]},\"total\":{\"type\":\"number\"},\"totalExpr\":{\"type\":[\"object\",\"string\"]},\"target\":{\"type\":\"number\"},\"targetExpr\":{\"type\":[\"object\",\"string\"]},\"targetLabel\":{\"type\":\"string\"},\"targetLabelExpr\":{\"type\":[\"object\",\"string\"]},\"baseline\":{\"type\":\"number\"},\"baselineExpr\":{\"type\":[\"object\",\"string\"]},\"points\":{\"type\":\"array\"},\"pointsExpr\":{\"type\":[\"object\",\"string\"]},\"segments\":{\"type\":\"array\"},\"segmentsExpr\":{\"type\":[\"object\",\"string\"]},\"thresholds\":{\"type\":\"array\"},\"thresholdsExpr\":{\"type\":[\"object\",\"string\"]},\"items\":{\"type\":\"array\"},\"itemsExpr\":{\"type\":[\"object\",\"string\"]},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"toneExpr\":{\"type\":[\"object\",\"string\"]},\"stepLabelWidth\":{\"type\":[\"number\",\"string\"]},\"stepLabelLineClamp\":{\"type\":\"integer\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelExpr\":{\"type\":[\"object\",\"string\"]},\"fallbackText\":{\"type\":\"string\"},\"fallbackTextExpr\":{\"type\":[\"object\",\"string\"]},\"suppressedCount\":{\"type\":\"integer\"}}}}}}}},\"filterBar\":{\"type\":\"object\",\"properties\":{\"inlineFields\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"quickFilters\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"label\",\"filter\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"filter\":{\"type\":\"object\",\"description\":\"Critérios estruturados do FilterDTO (chave = campo @Filterable; valor escalar ou lista). Strings legadas não são aceitas.\"},\"tone\":{\"enum\":[\"default\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"ready\"]},\"badge\":{\"type\":[\"string\",\"number\"]},\"count\":{\"type\":\"number\"},\"isDefault\":{\"type\":\"boolean\"},\"description\":{\"type\":\"string\"},\"tooltip\":{\"type\":\"string\"},\"order\":{\"type\":\"integer\"}}}}]},\"includeDiscoveredQuickFilters\":{\"type\":\"boolean\"},\"showAdvanced\":{\"type\":\"boolean\"},\"placement\":{\"enum\":[\"table-toolbar\",\"scope-bar\"]}}}}}}}",
|
|
9520
10376
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9521
|
-
"contentHash": "
|
|
10377
|
+
"contentHash": "c2199c72fd1ba40338056602a8535cc57c5b11ba419079fe2d660bea087c12ba",
|
|
9522
10378
|
"sourceKind": "component_definition",
|
|
9523
10379
|
"sourceId": "praxis-crud",
|
|
9524
10380
|
"corpusVersion": "1.0.0"
|
|
@@ -9526,9 +10382,9 @@
|
|
|
9526
10382
|
{
|
|
9527
10383
|
"chunkIndex": 30,
|
|
9528
10384
|
"chunkKind": "authoring_manifest",
|
|
9529
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":
|
|
10385
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations[2]\",\"fragmentPath\":\"operations[2]\",\"fragmentIdentity\":{\"operationId\":\"list.surface.configure\"},\"fragment\":{\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-list-surface-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.table\",\"CrudMetadata.queryContext\",\"CrudMetadata.kpiBand\",\"CrudMetadata.filterBar\",\"PRAXIS_TABLE_AUTHORING_MANIFEST\",\"CRUD_AI_CAPABILITIES\"],\"writes\":[\"CrudMetadata.table\",\"CrudMetadata.queryContext\",\"CrudMetadata.filterCriteria\",\"CrudMetadata.kpiBand\",\"CrudMetadata.filterBar\"],\"identityKeys\":[\"crudId\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"tablePatch\":{\"type\":\"object\"},\"queryContext\":{\"type\":\"object\"},\"filterCriteria\":{\"type\":\"object\"},\"pageHeader\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"subtitle\":{\"type\":\"string\"},\"domain\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"tone\":{\"enum\":[\"primary\",\"accent\",\"info\",\"success\",\"warning\",\"danger\",\"neutral\",\"warn\"]}}}}},\"kpiBand\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"columns\":{\"enum\":[2,3,4]},\"source\":{\"type\":\"string\",\"description\":\"Endpoint de telemetria agregada (/stats/group-by ou /filter?page=0&size=1) ou 'schema' para auto-hidratação via /schemas/filtered, x-ui.resourceFacts, capabilities.stats e @QuickFilter.\"},\"method\":{\"enum\":[\"GET\",\"POST\"]},\"payload\":{\"type\":\"object\"},\"cards\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"value\":{\"type\":[\"string\",\"number\"]},\"valueExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe com pipes declarativos (ex.: '${totalCount | number | default:0} Registros').\"},\"caption\":{\"type\":\"string\"},\"captionExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe para legenda com pipes declarativos (ex.: '(${((byKey.true / totalCount) * 100) | round:1 | default:0}%)').\"},\"icon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"default\",\"primary\",\"success\",\"warning\",\"danger\"]},\"tone\":{\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\"]},\"filter\":{\"type\":\"object\"},\"visualization\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"line\",\"area\",\"column\",\"comparison\",\"stackedBar\",\"radial\",\"harveyBall\",\"bullet\",\"delta\",\"processFlow\",\"waterfall\"]},\"surface\":{\"enum\":[\"table-cell\",\"list-item\",\"object-header\",\"card-summary\",\"form-presentation\"]},\"size\":{\"enum\":[\"xs\",\"sm\",\"md\",\"lg\",\"responsive\"]},\"scaleScope\":{\"enum\":[\"row\",\"page\"]},\"title\":{\"type\":\"string\"},\"titleExpr\":{\"type\":[\"object\",\"string\"]},\"legend\":{\"type\":\"boolean\"},\"value\":{},\"valueExpr\":{\"type\":[\"object\",\"string\"]},\"valueSuffix\":{\"type\":\"string\"},\"valueSuffixExpr\":{\"type\":[\"object\",\"string\"]},\"compactValue\":{\"type\":\"boolean\"},\"min\":{\"type\":\"number\"},\"minExpr\":{\"type\":[\"object\",\"string\"]},\"max\":{\"type\":\"number\"},\"maxExpr\":{\"type\":[\"object\",\"string\"]},\"total\":{\"type\":\"number\"},\"totalExpr\":{\"type\":[\"object\",\"string\"]},\"target\":{\"type\":\"number\"},\"targetExpr\":{\"type\":[\"object\",\"string\"]},\"targetLabel\":{\"type\":\"string\"},\"targetLabelExpr\":{\"type\":[\"object\",\"string\"]},\"baseline\":{\"type\":\"number\"},\"baselineExpr\":{\"type\":[\"object\",\"string\"]},\"points\":{\"type\":\"array\"},\"pointsExpr\":{\"type\":[\"object\",\"string\"]},\"segments\":{\"type\":\"array\"},\"segmentsExpr\":{\"type\":[\"object\",\"string\"]},\"thresholds\":{\"type\":\"array\"},\"thresholdsExpr\":{\"type\":[\"object\",\"string\"]},\"items\":{\"type\":\"array\"},\"itemsExpr\":{\"type\":[\"object\",\"string\"]},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"toneExpr\":{\"type\":[\"object\",\"string\"]},\"stepLabelWidth\":{\"type\":[\"number\",\"string\"]},\"stepLabelLineClamp\":{\"type\":\"integer\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelExpr\":{\"type\":[\"object\",\"string\"]},\"fallbackText\":{\"type\":\"string\"},\"fallbackTextExpr\":{\"type\":[\"object\",\"string\"]},\"suppressedCount\":{\"type\":\"integer\"}}}}}}}},\"filterBar\":{\"type\":\"object\",\"properties\":{\"inlineFields\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"quickFilters\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"label\",\"filter\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"filter\":{\"type\":\"object\",\"description\":\"Critérios estruturados do FilterDTO (chave = campo @Filterable; valor escalar ou lista). Strings legadas não são aceitas.\"},\"tone\":{\"enum\":[\"default\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"ready\"]},\"badge\":{\"type\":[\"string\",\"number\"]},\"count\":{\"type\":\"number\"},\"isDefault\":{\"type\":\"boolean\"},\"description\":{\"type\":\"string\"},\"tooltip\":{\"type\":\"string\"},\"order\":{\"type\":\"integer\"}}}}]},\"includeDiscoveredQuickFilters\":{\"type\":\"boolean\"},\"showAdvanced\":{\"type\":\"boolean\"},\"placement\":{\"enum\":[\"table-toolbar\",\"scope-bar\"]}}}}},\"failureModes\":[\"table-operation-not-delegated\",\"table-patch-not-supported\",\"query-context-invalid\"],\"description\":\"Configures CRUD-owned list orchestration (including KPI band and filter bar shortcuts) while routing table semantics to the praxis-table manifest.\"}}],\"validators\":[\"table-child-operation-delegated\",\"query-context-valid\",\"filter-criteria-bridge-valid\",\"crud-context-stable\"],\"affectedPaths\":[\"table\",\"queryContext\",\"filterCriteria\",\"kpiBand\",\"filterBar\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\",\"praxis-table-manifest-available\"]}}",
|
|
9530
10386
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9531
|
-
"contentHash": "
|
|
10387
|
+
"contentHash": "e1a89a149be7c9e7393371564151b7a7ab3e9329f9be57a4c74db7ef27dab511",
|
|
9532
10388
|
"sourceKind": "component_definition",
|
|
9533
10389
|
"sourceId": "praxis-crud",
|
|
9534
10390
|
"corpusVersion": "1.0.0"
|
|
@@ -9536,9 +10392,9 @@
|
|
|
9536
10392
|
{
|
|
9537
10393
|
"chunkIndex": 31,
|
|
9538
10394
|
"chunkKind": "authoring_manifest",
|
|
9539
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"
|
|
10395
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"list.kpiBand.configure\",\"title\":\"Configure CRUD KPI band\",\"scope\":\"interaction\",\"targetKind\":\"listSurface\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"columns\":{\"enum\":[2,3,4]},\"source\":{\"type\":\"string\",\"description\":\"Endpoint de telemetria agregada (/stats/group-by ou /filter?page=0&size=1) ou 'schema' para auto-hidratação via /schemas/filtered, x-ui.resourceFacts, capabilities.stats e @QuickFilter.\"},\"method\":{\"enum\":[\"GET\",\"POST\"]},\"payload\":{\"type\":\"object\"},\"cards\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"value\":{\"type\":[\"string\",\"number\"]},\"valueExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe com pipes declarativos (ex.: '${totalCount | number | default:0} Registros').\"},\"caption\":{\"type\":\"string\"},\"captionExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe para legenda com pipes declarativos (ex.: '(${((byKey.true / totalCount) * 100) | round:1 | default:0}%)').\"},\"icon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"default\",\"primary\",\"success\",\"warning\",\"danger\"]},\"tone\":{\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\"]},\"filter\":{\"type\":\"object\"},\"visualization\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"line\",\"area\",\"column\",\"comparison\",\"stackedBar\",\"radial\",\"harveyBall\",\"bullet\",\"delta\",\"processFlow\",\"waterfall\"]},\"surface\":{\"enum\":[\"table-cell\",\"list-item\",\"object-header\",\"card-summary\",\"form-presentation\"]},\"size\":{\"enum\":[\"xs\",\"sm\",\"md\",\"lg\",\"responsive\"]},\"scaleScope\":{\"enum\":[\"row\",\"page\"]},\"title\":{\"type\":\"string\"},\"titleExpr\":{\"type\":[\"object\",\"string\"]},\"legend\":{\"type\":\"boolean\"},\"value\":{},\"valueExpr\":{\"type\":[\"object\",\"string\"]},\"valueSuffix\":{\"type\":\"string\"},\"valueSuffixExpr\":{\"type\":[\"object\",\"string\"]},\"compactValue\":{\"type\":\"boolean\"},\"min\":{\"type\":\"number\"},\"minExpr\":{\"type\":[\"object\",\"string\"]},\"max\":{\"type\":\"number\"},\"maxExpr\":{\"type\":[\"object\",\"string\"]},\"total\":{\"type\":\"number\"},\"totalExpr\":{\"type\":[\"object\",\"string\"]},\"target\":{\"type\":\"number\"},\"targetExpr\":{\"type\":[\"object\",\"string\"]},\"targetLabel\":{\"type\":\"string\"},\"targetLabelExpr\":{\"type\":[\"object\",\"string\"]},\"baseline\":{\"type\":\"number\"},\"baselineExpr\":{\"type\":[\"object\",\"string\"]},\"points\":{\"type\":\"array\"},\"pointsExpr\":{\"type\":[\"object\",\"string\"]},\"segments\":{\"type\":\"array\"},\"segmentsExpr\":{\"type\":[\"object\",\"string\"]},\"thresholds\":{\"type\":\"array\"},\"thresholdsExpr\":{\"type\":[\"object\",\"string\"]},\"items\":{\"type\":\"array\"},\"itemsExpr\":{\"type\":[\"object\",\"string\"]},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"toneExpr\":{\"type\":[\"object\",\"string\"]},\"stepLabelWidth\":{\"type\":[\"number\",\"string\"]},\"stepLabelLineClamp\":{\"type\":\"integer\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelExpr\":{\"type\":[\"object\",\"string\"]},\"fallbackText\":{\"type\":\"string\"},\"fallbackTextExpr\":{\"type\":[\"object\",\"string\"]},\"suppressedCount\":{\"type\":\"integer\"}}}}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-kpi-band-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.kpiBand\",\"CrudMetadata.resource\"],\"writes\":[\"CrudMetadata.kpiBand\"],\"identityKeys\":[\"crudId\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"columns\":{\"enum\":[2,3,4]},\"source\":{\"type\":\"string\",\"description\":\"Endpoint de telemetria agregada (/stats/group-by ou /filter?page=0&size=1) ou 'schema' para auto-hidratação via /schemas/filtered, x-ui.resourceFacts, capabilities.stats e @QuickFilter.\"},\"method\":{\"enum\":[\"GET\",\"POST\"]},\"payload\":{\"type\":\"object\"},\"cards\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"label\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"value\":{\"type\":[\"string\",\"number\"]},\"valueExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe com pipes declarativos (ex.: '${totalCount | number | default:0} Registros').\"},\"caption\":{\"type\":\"string\"},\"captionExpr\":{\"type\":\"string\",\"description\":\"Expressão ou template CSP-safe para legenda com pipes declarativos (ex.: '(${((byKey.true / totalCount) * 100) | round:1 | default:0}%)').\"},\"icon\":{\"type\":\"string\"},\"variant\":{\"enum\":[\"default\",\"primary\",\"success\",\"warning\",\"danger\"]},\"tone\":{\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\"]},\"filter\":{\"type\":\"object\"},\"visualization\":{\"type\":\"object\",\"required\":[\"kind\"],\"properties\":{\"kind\":{\"enum\":[\"line\",\"area\",\"column\",\"comparison\",\"stackedBar\",\"radial\",\"harveyBall\",\"bullet\",\"delta\",\"processFlow\",\"waterfall\"]},\"surface\":{\"enum\":[\"table-cell\",\"list-item\",\"object-header\",\"card-summary\",\"form-presentation\"]},\"size\":{\"enum\":[\"xs\",\"sm\",\"md\",\"lg\",\"responsive\"]},\"scaleScope\":{\"enum\":[\"row\",\"page\"]},\"title\":{\"type\":\"string\"},\"titleExpr\":{\"type\":[\"object\",\"string\"]},\"legend\":{\"type\":\"boolean\"},\"value\":{},\"valueExpr\":{\"type\":[\"object\",\"string\"]},\"valueSuffix\":{\"type\":\"string\"},\"valueSuffixExpr\":{\"type\":[\"object\",\"string\"]},\"compactValue\":{\"type\":\"boolean\"},\"min\":{\"type\":\"number\"},\"minExpr\":{\"type\":[\"object\",\"string\"]},\"max\":{\"type\":\"number\"},\"maxExpr\":{\"type\":[\"object\",\"string\"]},\"total\":{\"type\":\"number\"},\"totalExpr\":{\"type\":[\"object\",\"string\"]},\"target\":{\"type\":\"number\"},\"targetExpr\":{\"type\":[\"object\",\"string\"]},\"targetLabel\":{\"type\":\"string\"},\"targetLabelExpr\":{\"type\":[\"object\",\"string\"]},\"baseline\":{\"type\":\"number\"},\"baselineExpr\":{\"type\":[\"object\",\"string\"]},\"points\":{\"type\":\"array\"},\"pointsExpr\":{\"type\":[\"object\",\"string\"]},\"segments\":{\"type\":\"array\"},\"segmentsExpr\":{\"type\":[\"object\",\"string\"]},\"thresholds\":{\"type\":\"array\"},\"thresholdsExpr\":{\"type\":[\"object\",\"string\"]},\"items\":{\"type\":\"array\"},\"itemsExpr\":{\"type\":[\"object\",\"string\"]},\"tone\":{\"enum\":[\"neutral\",\"info\",\"success\",\"warning\",\"danger\",\"critical\"]},\"toneExpr\":{\"type\":[\"object\",\"string\"]},\"stepLabelWidth\":{\"type\":[\"number\",\"string\"]},\"stepLabelLineClamp\":{\"type\":\"integer\"},\"ariaLabel\":{\"type\":\"string\"},\"ariaLabelExpr\":{\"type\":[\"object\",\"string\"]},\"fallbackText\":{\"type\":\"string\"},\"fallbackTextExpr\":{\"type\":[\"object\",\"string\"]},\"suppressedCount\":{\"type\":\"integer\"}}}}}}}},\"failureModes\":[\"kpi-card-label-missing\",\"kpi-card-value-missing\",\"kpi-card-filter-invalid\"],\"description\":\"Configures the CRUD KPI summary band and optional click-to-filter card criteria.\"}}],\"validators\":[\"crud-context-stable\"],\"affectedPaths\":[\"kpiBand\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\"]}]}",
|
|
9540
10396
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9541
|
-
"contentHash": "
|
|
10397
|
+
"contentHash": "cce3677f4ef8966cdc54d8311011a39d6864f8e6e514540ce50d7e1dfa1c4c3c",
|
|
9542
10398
|
"sourceKind": "component_definition",
|
|
9543
10399
|
"sourceId": "praxis-crud",
|
|
9544
10400
|
"corpusVersion": "1.0.0"
|
|
@@ -9546,9 +10402,9 @@
|
|
|
9546
10402
|
{
|
|
9547
10403
|
"chunkIndex": 32,
|
|
9548
10404
|
"chunkKind": "authoring_manifest",
|
|
9549
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"
|
|
10405
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"list.filterBar.configure\",\"title\":\"Configure CRUD filter bar\",\"scope\":\"interaction\",\"targetKind\":\"listSurface\",\"target\":{\"kind\":\"listSurface\",\"resolver\":\"crud-list-surface\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"inlineFields\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"quickFilters\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"label\",\"filter\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"filter\":{\"type\":\"object\",\"description\":\"Critérios estruturados do FilterDTO (chave = campo @Filterable; valor escalar ou lista). Strings legadas não são aceitas.\"},\"tone\":{\"enum\":[\"default\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"ready\"]},\"badge\":{\"type\":[\"string\",\"number\"]},\"count\":{\"type\":\"number\"},\"isDefault\":{\"type\":\"boolean\"},\"description\":{\"type\":\"string\"},\"tooltip\":{\"type\":\"string\"},\"order\":{\"type\":\"integer\"}}}}]},\"includeDiscoveredQuickFilters\":{\"type\":\"boolean\"},\"showAdvanced\":{\"type\":\"boolean\"},\"placement\":{\"enum\":[\"table-toolbar\",\"scope-bar\"]}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-filter-bar-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.filterBar\",\"CrudMetadata.resource\"],\"writes\":[\"CrudMetadata.filterBar\"],\"identityKeys\":[\"crudId\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"inlineFields\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"quickFilters\":{\"oneOf\":[{\"type\":\"boolean\"},{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"label\",\"filter\"],\"properties\":{\"id\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"filter\":{\"type\":\"object\",\"description\":\"Critérios estruturados do FilterDTO (chave = campo @Filterable; valor escalar ou lista). Strings legadas não são aceitas.\"},\"tone\":{\"enum\":[\"default\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"ready\"]},\"badge\":{\"type\":[\"string\",\"number\"]},\"count\":{\"type\":\"number\"},\"isDefault\":{\"type\":\"boolean\"},\"description\":{\"type\":\"string\"},\"tooltip\":{\"type\":\"string\"},\"order\":{\"type\":\"integer\"}}}}]},\"includeDiscoveredQuickFilters\":{\"type\":\"boolean\"},\"showAdvanced\":{\"type\":\"boolean\"},\"placement\":{\"enum\":[\"table-toolbar\",\"scope-bar\"]}}},\"failureModes\":[\"quick-filter-id-missing\",\"quick-filter-label-missing\",\"quick-filter-condition-invalid\"],\"description\":\"Configures CRUD filterBar shorthand (inlineFields, quickFilters, showAdvanced) expanded into the internal table runtime.\"}}],\"validators\":[\"crud-context-stable\"],\"affectedPaths\":[\"filterBar\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\"]},{\"operationId\":\"surface.create.configure\",\"title\":\"Configure create surface\",\"scope\":\"interaction\",\"targetKind\":\"createSurface\",\"target\":{\"kind\":\"createSurface\",\"resolver\":\"crud-action-by-id:create\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions[]\"],\"matchFields\":[\"id\",\"name\",\"action\"],\"inputMatchFields\":[\"actionId\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-create-surface-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.actions\",\"CrudLauncherService.resolveOpenMode\",\"DynamicFormDialogHostComponent\",\"api_metadata\"],\"writes\":[\"CrudMetadata.actions[]\",\"CrudMetadata.actions[].form\",\"CrudMetadata.actions[].params\",\"CrudMetadata.actions[].back\"],\"identityKeys\":[\"actionId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"failureModes\":[\"action-not-found\",\"open-mode-binding-incomplete\",\"schema-url-not-canonical\",\"submit-url-not-canonical\",\"resource-create-not-supported\"],\"description\":\"Configures create action binding and launcher inputs without editing the child FormConfig.\"}}],\"validators\":[\"action-exists\",\"open-mode-binding-complete\",\"schema-url-canonical\",\"submit-url-canonical\",\"resource-create-supported\",\"form-child-operation-delegated\"],\"affectedPaths\":[\"actions[].openMode\",\"actions[].route\",\"actions[].formId\",\"actions[].form\",\"actions[].params\",\"actions[].back\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"crud-metadata-loaded\",\"resource-capabilities-resolved\"]}]}",
|
|
9550
10406
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9551
|
-
"contentHash": "
|
|
10407
|
+
"contentHash": "c895b5c3b78708f5c461c46bdc07a492eabd39517f20352bde67a9fc538054b1",
|
|
9552
10408
|
"sourceKind": "component_definition",
|
|
9553
10409
|
"sourceId": "praxis-crud",
|
|
9554
10410
|
"corpusVersion": "1.0.0"
|
|
@@ -9556,9 +10412,9 @@
|
|
|
9556
10412
|
{
|
|
9557
10413
|
"chunkIndex": 33,
|
|
9558
10414
|
"chunkKind": "authoring_manifest",
|
|
9559
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"
|
|
10415
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"surface.edit.configure\",\"title\":\"Configure edit surface\",\"scope\":\"interaction\",\"targetKind\":\"editSurface\",\"target\":{\"kind\":\"editSurface\",\"resolver\":\"crud-action-by-id:edit\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions[]\"],\"matchFields\":[\"id\",\"name\",\"action\"],\"inputMatchFields\":[\"actionId\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-edit-surface-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.actions\",\"CrudMetadata.resource.idField\",\"CrudLauncherService.resolveOpenMode\",\"api_metadata\"],\"writes\":[\"CrudMetadata.actions[]\",\"CrudMetadata.actions[].form\",\"CrudMetadata.actions[].params\",\"CrudMetadata.actions[].back\"],\"identityKeys\":[\"actionId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"failureModes\":[\"action-not-found\",\"id-param-missing\",\"open-mode-binding-incomplete\",\"resource-edit-not-supported\",\"submit-url-not-canonical\"],\"description\":\"Configures edit action routing/form binding and ensures id parameter mapping is available to the launcher.\"}}],\"validators\":[\"action-exists\",\"id-field-known\",\"id-param-mapping-valid\",\"open-mode-binding-complete\",\"schema-url-canonical\",\"submit-url-canonical\",\"resource-edit-supported\",\"form-child-operation-delegated\"],\"affectedPaths\":[\"actions[].openMode\",\"actions[].route\",\"actions[].formId\",\"actions[].form\",\"actions[].params\",\"actions[].back\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"crud-metadata-loaded\",\"resource-capabilities-resolved\"]},{\"operationId\":\"surface.view.configure\",\"title\":\"Configure view surface\",\"scope\":\"interaction\",\"targetKind\":\"viewSurface\",\"target\":{\"kind\":\"viewSurface\",\"resolver\":\"crud-action-by-id:view\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions[]\"],\"matchFields\":[\"id\",\"name\",\"action\"],\"inputMatchFields\":[\"actionId\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-view-surface-configure\",\"handlerContract\":{\"reads\":[\"CrudMetadata.actions\",\"CrudLauncherService.resolveOpenMode\",\"DynamicFormDialogHostComponent\",\"api_metadata\"],\"writes\":[\"CrudMetadata.actions[]\",\"CrudMetadata.actions[].form\",\"CrudMetadata.actions[].params\",\"CrudMetadata.actions[].back\"],\"identityKeys\":[\"actionId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"actionId\",\"openMode\"],\"properties\":{\"actionId\":{\"enum\":[\"create\",\"edit\",\"view\"]},\"openMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"route\":{\"type\":\"string\"},\"formId\":{\"type\":\"string\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitLabel\":{\"type\":\"string\"},\"schemaUrl\":{\"type\":\"string\"},\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"post\",\"put\",\"patch\",\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"},\"initialValue\":{\"type\":\"object\"},\"layoutPolicy\":{\"type\":\"object\"}}},\"params\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"from\",\"to\",\"name\"],\"properties\":{\"from\":{\"type\":\"string\"},\"to\":{\"enum\":[\"routeParam\",\"query\",\"input\"]},\"name\":{\"type\":\"string\"}}}},\"back\":{\"type\":\"object\"}}},\"failureModes\":[\"action-not-found\",\"open-mode-binding-incomplete\",\"resource-view-not-supported\",\"readonly-form-delegation-missing\"],\"description\":\"Configures view action binding and delegates readonly form behavior to the dynamic-form manifest.\"}}],\"validators\":[\"action-exists\",\"open-mode-binding-complete\",\"schema-url-canonical\",\"resource-view-supported\",\"form-child-operation-delegated\",\"readonly-form-delegation-valid\"],\"affectedPaths\":[\"actions[].openMode\",\"actions[].route\",\"actions[].formId\",\"actions[].form\",\"actions[].params\",\"actions[].back\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\",\"resource-capabilities-resolved\"]}]}",
|
|
9560
10416
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9561
|
-
"contentHash": "
|
|
10417
|
+
"contentHash": "1db155c9a68051df93f7ca4b2cc85960f147b00a7eacb712c13626b3e92cc3c3",
|
|
9562
10418
|
"sourceKind": "component_definition",
|
|
9563
10419
|
"sourceId": "praxis-crud",
|
|
9564
10420
|
"corpusVersion": "1.0.0"
|
|
@@ -9566,6 +10422,26 @@
|
|
|
9566
10422
|
{
|
|
9567
10423
|
"chunkIndex": 34,
|
|
9568
10424
|
"chunkKind": "authoring_manifest",
|
|
10425
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"delete.enabled.set\",\"title\":\"Configure delete behavior\",\"scope\":\"interaction\",\"targetKind\":\"deleteBehavior\",\"target\":{\"kind\":\"deleteBehavior\",\"resolver\":\"crud-action-by-id:delete\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions[]\"],\"matchFields\":[\"id\",\"name\",\"action\"],\"inputMatchFields\":[\"actionId\",\"id\",\"value\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"actionId\":{\"type\":\"string\"},\"requiresConfirmation\":{\"type\":\"boolean\"},\"autoDelete\":{\"type\":\"boolean\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"}}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-delete-behavior-set\",\"handlerContract\":{\"reads\":[\"CrudMetadata.actions\",\"CrudMetadata.resource\",\"GET /{resource}/{id}/capabilities\"],\"writes\":[\"CrudMetadata.actions[]\",\"CrudMetadata.actions[].requiresConfirmation\",\"CrudMetadata.actions[].autoDelete\",\"CrudMetadata.actions[].form\"],\"identityKeys\":[\"actionId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"enabled\"],\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"actionId\":{\"type\":\"string\"},\"requiresConfirmation\":{\"type\":\"boolean\"},\"autoDelete\":{\"type\":\"boolean\"},\"form\":{\"type\":\"object\",\"properties\":{\"submitUrl\":{\"type\":\"string\"},\"submitMethod\":{\"enum\":[\"delete\"]},\"apiEndpointKey\":{\"type\":\"string\"}}}}},\"failureModes\":[\"delete-action-not-found\",\"resource-delete-not-supported\",\"destructive-delete-not-confirmed\",\"delete-submit-url-not-canonical\"],\"description\":\"Enables or disables delete behavior with capability checks and explicit confirmation for destructive changes.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"delete-action-exists\",\"resource-delete-supported\",\"destructive-delete-confirmed\",\"submit-url-canonical\",\"permissions-delete-valid\"],\"affectedPaths\":[\"actions[].disabled\",\"actions[].requiresConfirmation\",\"actions[].autoDelete\",\"actions[].form\",\"actions[].form.submitUrl\",\"actions[].form.submitMethod\",\"actions[].form.apiEndpointKey\"],\"submissionImpact\":\"affects-schema-backed-data\",\"preconditions\":[\"crud-metadata-loaded\",\"resource-capabilities-resolved\",\"explicit-confirmation-provided\"]},{\"operationId\":\"dialog.size.set\",\"title\":\"Configure CRUD dialog host defaults\",\"scope\":\"interaction\",\"targetKind\":\"dialogHost\",\"target\":{\"kind\":\"dialogHost\",\"resolver\":\"crud-dialog-host-defaults\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"defaults\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"defaultOpenMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"modal\":{\"type\":\"object\",\"properties\":{\"width\":{\"type\":\"string\"},\"height\":{\"type\":\"string\"},\"minWidth\":{\"type\":\"string\"},\"minHeight\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"maxHeight\":{\"type\":\"string\"},\"density\":{\"type\":\"string\"},\"backdropStyle\":{\"enum\":[\"blur\",\"dim\",\"transparent\"]},\"canMaximize\":{\"type\":\"boolean\"},\"rememberLastState\":{\"type\":\"boolean\"},\"closeOnSave\":{\"type\":\"boolean\"},\"startMaximized\":{\"type\":\"boolean\"},\"disableCloseOnEsc\":{\"type\":\"boolean\"},\"disableCloseOnBackdrop\":{\"type\":\"boolean\"},\"fullscreenBreakpoint\":{\"type\":\"number\"},\"position\":{\"type\":\"object\",\"properties\":{\"top\":{\"type\":\"string\"},\"bottom\":{\"type\":\"string\"},\"left\":{\"type\":\"string\"},\"right\":{\"type\":\"string\"}}},\"edgeGap\":{\"type\":\"number\"}}},\"back\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-dialog-host-set\",\"handlerContract\":{\"reads\":[\"CrudMetadata.defaults\",\"CrudLauncherService.resolveOpenMode\",\"DialogService\",\"DynamicFormDialogHostComponent\",\"CRUD_DRAWER_ADAPTER\"],\"writes\":[\"CrudMetadata.defaults.openMode\",\"CrudMetadata.defaults.modal\",\"CrudMetadata.defaults.back\"],\"identityKeys\":[\"crudId\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"defaultOpenMode\":{\"enum\":[\"route\",\"modal\",\"drawer\"]},\"modal\":{\"type\":\"object\",\"properties\":{\"width\":{\"type\":\"string\"},\"height\":{\"type\":\"string\"},\"minWidth\":{\"type\":\"string\"},\"minHeight\":{\"type\":\"string\"},\"maxWidth\":{\"type\":\"string\"},\"maxHeight\":{\"type\":\"string\"},\"density\":{\"type\":\"string\"},\"backdropStyle\":{\"enum\":[\"blur\",\"dim\",\"transparent\"]},\"canMaximize\":{\"type\":\"boolean\"},\"rememberLastState\":{\"type\":\"boolean\"},\"closeOnSave\":{\"type\":\"boolean\"},\"startMaximized\":{\"type\":\"boolean\"},\"disableCloseOnEsc\":{\"type\":\"boolean\"},\"disableCloseOnBackdrop\":{\"type\":\"boolean\"},\"fullscreenBreakpoint\":{\"type\":\"number\"},\"position\":{\"type\":\"object\",\"properties\":{\"top\":{\"type\":\"string\"},\"bottom\":{\"type\":\"string\"},\"left\":{\"type\":\"string\"},\"right\":{\"type\":\"string\"}}},\"edgeGap\":{\"type\":\"number\"}}},\"back\":{\"type\":\"object\"}}},\"failureModes\":[\"open-mode-unsupported\",\"drawer-runtime-unavailable\",\"modal-size-invalid\",\"drawer-position-lifecycle-unstable\",\"back-policy-invalid\"],\"description\":\"Configures CRUD-owned route/modal/drawer defaults consumed by the launcher, default dialog-backed drawer runtime and optional host drawer adapter.\"}}],\"validators\":[\"open-mode-supported\",\"modal-size-valid\",\"drawer-runtime-available\",\"drawer-position-lifecycle-stable\",\"back-policy-valid\",\"settings-panel-shell-compatible\"],\"affectedPaths\":[\"defaults.openMode\",\"defaults.modal\",\"defaults.back\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\"]},{\"operationId\":\"permissions.set\",\"title\":\"Configure CRUD permissions\",\"scope\":\"interaction\",\"targetKind\":\"permissions\",\"target\":{\"kind\":\"permissions\",\"resolver\":\"crud-resource-capabilities\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"requiredCapabilities\":{\"type\":\"array\",\"items\":{\"enum\":[\"create\",\"view\",\"edit\",\"delete\"]}},\"actionPermissions\":{\"type\":\"object\"},\"denyWhenMissingCapability\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-permissions-set\",\"handlerContract\":{\"reads\":[\"GET /{resource}/capabilities\",\"GET /{resource}/{id}/capabilities\",\"CrudMetadata.actions\"],\"writes\":[\"CrudMetadata.actions[].disabled\",\"CrudMetadata.actions[].visibleWhen\",\"CrudMetadata.actions[].requiresConfirmation\"],\"identityKeys\":[\"resourcePath\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"requiredCapabilities\":{\"type\":\"array\",\"items\":{\"enum\":[\"create\",\"view\",\"edit\",\"delete\"]}},\"actionPermissions\":{\"type\":\"object\"},\"denyWhenMissingCapability\":{\"type\":\"boolean\"}}},\"failureModes\":[\"capability-not-found\",\"action-permission-conflict\",\"delete-permission-without-confirmation\"],\"description\":\"Aligns CRUD action visibility/disablement with resource capabilities without inventing a second permission source.\"}}],\"validators\":[\"resource-capabilities-resolvable\",\"action-permission-supported\",\"delete-permission-requires-confirmation\",\"permissions-do-not-shadow-backend\"],\"affectedPaths\":[\"actions[].disabled\",\"actions[].visibleWhen\",\"actions[].requiresConfirmation\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"crud-metadata-loaded\",\"resource-capabilities-resolved\"]}]}",
|
|
10426
|
+
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
10427
|
+
"contentHash": "2909e346da692fed313cc7b436259e1da858b4c9ad07e7e7b937cfbbf9c8e029",
|
|
10428
|
+
"sourceKind": "component_definition",
|
|
10429
|
+
"sourceId": "praxis-crud",
|
|
10430
|
+
"corpusVersion": "1.0.0"
|
|
10431
|
+
},
|
|
10432
|
+
{
|
|
10433
|
+
"chunkIndex": 35,
|
|
10434
|
+
"chunkKind": "authoring_manifest",
|
|
10435
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"form.childOperation.delegate\",\"title\":\"Delegate child form/table/dialog authoring operation\",\"scope\":\"global\",\"targetKind\":\"childOperation\",\"target\":{\"kind\":\"childOperation\",\"resolver\":\"child-authoring-manifest-operation\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"childComponentId\",\"childOperationId\",\"reason\"],\"properties\":{\"childComponentId\":{\"enum\":[\"praxis-dynamic-form\",\"praxis-table\",\"praxis-dialog\",\"praxis-settings-panel\"]},\"childOperationId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"childTarget\":{\"type\":\"object\"},\"childParams\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"crud-child-operation-delegate\",\"handlerContract\":{\"reads\":[\"PRAXIS_DYNAMIC_FORM_AUTHORING_MANIFEST\",\"PRAXIS_TABLE_AUTHORING_MANIFEST\",\"PRAXIS_DIALOG_AUTHORING_MANIFEST\",\"PRAXIS_SETTINGS_PANEL_AUTHORING_MANIFEST\"],\"writes\":[\"delegatedAuthoringOperations[]\"],\"identityKeys\":[\"childComponentId\",\"childOperationId\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"childComponentId\",\"childOperationId\",\"reason\"],\"properties\":{\"childComponentId\":{\"enum\":[\"praxis-dynamic-form\",\"praxis-table\",\"praxis-dialog\",\"praxis-settings-panel\"]},\"childOperationId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"childTarget\":{\"type\":\"object\"},\"childParams\":{\"type\":\"object\"}}},\"failureModes\":[\"child-manifest-missing\",\"child-operation-not-found\",\"attempted-local-child-config-write\"],\"description\":\"Records explicit delegation when requested edits belong to child manifests instead of CRUD orchestration.\"}}],\"validators\":[\"child-manifest-available\",\"child-operation-known\",\"no-local-form-config-write\",\"no-local-table-config-write\",\"delegation-target-valid\"],\"affectedPaths\":[\"delegatedAuthoringOperations\"],\"submissionImpact\":\"none\",\"preconditions\":[\"child-manifest-available\"]}]}",
|
|
10436
|
+
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
10437
|
+
"contentHash": "42458a3473364b1e2ea1fef0c617f670f2ec0ed86091245a3ab91312357e19c0",
|
|
10438
|
+
"sourceKind": "component_definition",
|
|
10439
|
+
"sourceId": "praxis-crud",
|
|
10440
|
+
"corpusVersion": "1.0.0"
|
|
10441
|
+
},
|
|
10442
|
+
{
|
|
10443
|
+
"chunkIndex": 36,
|
|
10444
|
+
"chunkKind": "authoring_manifest",
|
|
9569
10445
|
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"resource-exists-in-api-metadata\",\"level\":\"error\",\"code\":\"CRUD_RESOURCE_EXISTS\",\"description\":\"Resource must exist in api_metadata or resource discovery.\"},{\"validatorId\":\"resource-path-canonical\",\"level\":\"error\",\"code\":\"CRUD_RESOURCE_PATH_CANONICAL\",\"description\":\"Resource path must be canonical and not a local alias.\"},{\"validatorId\":\"resource-key-stable\",\"level\":\"error\",\"code\":\"CRUD_RESOURCE_KEY_STABLE\",\"description\":\"Resource key must remain stable for surfaces/actions/capabilities.\"},{\"validatorId\":\"id-field-known\",\"level\":\"error\",\"code\":\"CRUD_ID_FIELD_KNOWN\",\"description\":\"CRUD id field must exist for edit/view/delete flows.\"},{\"validatorId\":\"resource-capabilities-resolvable\",\"level\":\"error\",\"code\":\"CRUD_CAPABILITIES_RESOLVABLE\",\"description\":\"Resource capabilities must be resolvable before action enablement is authored.\"},{\"validatorId\":\"domain-catalog-context-resolvable\",\"level\":\"error\",\"code\":\"CRUD_DOMAIN_CATALOG_CONTEXT_RESOLVABLE\",\"description\":\"Domain Catalog governance context must resolve for the resource key and requested probe before authoring uses it.\"},{\"validatorId\":\"domain-catalog-read-only\",\"level\":\"error\",\"code\":\"CRUD_DOMAIN_CATALOG_READ_ONLY\",\"description\":\"Domain Catalog is read-only semantic context; CRUD may reference a probe but must not persist copied catalog rules.\"},{\"validatorId\":\"ai-usage-visibility-respected\",\"level\":\"error\",\"code\":\"CRUD_AI_USAGE_VISIBILITY_RESPECTED\",\"description\":\"Authoring must respect Domain Catalog aiUsage.visibility before exposing field data, prompts or generated patches.\"},{\"validatorId\":\"no-form-config-rule-materialization\",\"level\":\"error\",\"code\":\"CRUD_NO_FORM_RULE_MATERIALIZATION\",\"description\":\"Shared domain governance must not be materialized into FormConfig rules unless a backend policy explicitly authorizes it.\"},{\"validatorId\":\"table-child-operation-delegated\",\"level\":\"error\",\"code\":\"CRUD_TABLE_CHILD_DELEGATED\",\"description\":\"Table semantics must be delegated to praxis-table.\"},{\"validatorId\":\"query-context-valid\",\"level\":\"error\",\"code\":\"CRUD_QUERY_CONTEXT_VALID\",\"description\":\"Query context must be valid for the bound resource.\"},{\"validatorId\":\"filter-criteria-bridge-valid\",\"level\":\"warning\",\"code\":\"CRUD_FILTER_CRITERIA_BRIDGE_VALID\",\"description\":\"filterCriteria is a bridge; prefer queryContext for new remote authoring.\"},{\"validatorId\":\"crud-context-stable\",\"level\":\"error\",\"code\":\"CRUD_CONTEXT_STABLE\",\"description\":\"Authoring must not break stable crudContext references.\"},{\"validatorId\":\"action-exists\",\"level\":\"error\",\"code\":\"CRUD_ACTION_EXISTS\",\"description\":\"Target action must exist or be created through CRUD action orchestration.\"},{\"validatorId\":\"open-mode-binding-complete\",\"level\":\"error\",\"code\":\"CRUD_OPEN_MODE_BINDING_COMPLETE\",\"description\":\"route requires route; modal/drawer require formId unless resolved by governed overrides.\"},{\"validatorId\":\"schema-url-canonical\",\"level\":\"error\",\"code\":\"CRUD_SCHEMA_URL_CANONICAL\",\"description\":\"Schema URLs must be canonical for the bound resource/action.\"},{\"validatorId\":\"submit-url-canonical\",\"level\":\"error\",\"code\":\"CRUD_SUBMIT_URL_CANONICAL\",\"description\":\"Submit URL and method must be canonical and declared together.\"},{\"validatorId\":\"resource-create-supported\",\"level\":\"error\",\"code\":\"CRUD_CREATE_SUPPORTED\",\"description\":\"Create surface requires resource create capability.\"},{\"validatorId\":\"resource-edit-supported\",\"level\":\"error\",\"code\":\"CRUD_EDIT_SUPPORTED\",\"description\":\"Edit surface requires resource edit capability.\"},{\"validatorId\":\"resource-view-supported\",\"level\":\"error\",\"code\":\"CRUD_VIEW_SUPPORTED\",\"description\":\"View surface requires resource view capability.\"},{\"validatorId\":\"form-child-operation-delegated\",\"level\":\"error\",\"code\":\"CRUD_FORM_CHILD_DELEGATED\",\"description\":\"FormConfig and FieldMetadata edits must delegate to dynamic-form/metadata-editor manifests.\"},{\"validatorId\":\"id-param-mapping-valid\",\"level\":\"error\",\"code\":\"CRUD_ID_PARAM_MAPPING_VALID\",\"description\":\"Edit/view actions must map resource id into route/query/input as required.\"},{\"validatorId\":\"readonly-form-delegation-valid\",\"level\":\"error\",\"code\":\"CRUD_READONLY_FORM_DELEGATED\",\"description\":\"Readonly form behavior belongs to the dynamic-form manifest.\"},{\"validatorId\":\"delete-action-exists\",\"level\":\"error\",\"code\":\"CRUD_DELETE_ACTION_EXISTS\",\"description\":\"Delete behavior requires a delete action target.\"},{\"validatorId\":\"resource-delete-supported\",\"level\":\"error\",\"code\":\"CRUD_DELETE_SUPPORTED\",\"description\":\"Delete behavior requires resource delete capability.\"},{\"validatorId\":\"destructive-delete-confirmed\",\"level\":\"error\",\"code\":\"CRUD_DELETE_CONFIRMED\",\"description\":\"Destructive delete behavior requires explicit confirmation.\"},{\"validatorId\":\"permissions-delete-valid\",\"level\":\"error\",\"code\":\"CRUD_DELETE_PERMISSION_VALID\",\"description\":\"Delete permission cannot bypass resource capabilities or confirmation policy.\"},{\"validatorId\":\"open-mode-supported\",\"level\":\"error\",\"code\":\"CRUD_OPEN_MODE_SUPPORTED\",\"description\":\"Open mode must be route, modal or drawer.\"},{\"validatorId\":\"modal-size-valid\",\"level\":\"error\",\"code\":\"CRUD_MODAL_SIZE_VALID\",\"description\":\"Modal sizing defaults must be valid DialogConfig values.\"},{\"validatorId\":\"drawer-runtime-available\",\"level\":\"error\",\"code\":\"CRUD_DRAWER_RUNTIME_AVAILABLE\",\"description\":\"Drawer open mode uses the default dialog-backed drawer runtime with CRUD-owned chrome, responsive right-panel sizing, Escape/backdrop handling and semantic close/save results; a host drawer adapter is optional only for shell-specific presentation.\"},{\"validatorId\":\"drawer-position-lifecycle-stable\",\"level\":\"error\",\"code\":\"CRUD_DRAWER_POSITION_LIFECYCLE_STABLE\",\"description\":\"A drawer must preserve its configured viewport edge through open, remembered-size restoration, maximize and restore.\"},{\"validatorId\":\"back-policy-valid\",\"level\":\"error\",\"code\":\"CRUD_BACK_POLICY_VALID\",\"description\":\"Back policy must be valid for route/modal/drawer behavior.\"},{\"validatorId\":\"settings-panel-shell-compatible\",\"level\":\"warning\",\"code\":\"CRUD_SETTINGS_PANEL_COMPATIBLE\",\"description\":\"Authoring shell must preserve apply/save/reset semantics.\"},{\"validatorId\":\"action-permission-supported\",\"level\":\"error\",\"code\":\"CRUD_ACTION_PERMISSION_SUPPORTED\",\"description\":\"Action permissions must map to supported resource capabilities.\"},{\"validatorId\":\"delete-permission-requires-confirmation\",\"level\":\"error\",\"code\":\"CRUD_DELETE_PERMISSION_CONFIRMATION\",\"description\":\"Delete permission enablement requires confirmation policy.\"},{\"validatorId\":\"permissions-do-not-shadow-backend\",\"level\":\"error\",\"code\":\"CRUD_PERMISSIONS_NO_BACKEND_SHADOW\",\"description\":\"UI permissions must not shadow backend capability denial.\"},{\"validatorId\":\"child-manifest-available\",\"level\":\"error\",\"code\":\"CRUD_CHILD_MANIFEST_AVAILABLE\",\"description\":\"Delegated child manifest must be available.\"},{\"validatorId\":\"child-operation-known\",\"level\":\"error\",\"code\":\"CRUD_CHILD_OPERATION_KNOWN\",\"description\":\"Delegated operation must exist in the child manifest.\"},{\"validatorId\":\"no-local-form-config-write\",\"level\":\"error\",\"code\":\"CRUD_NO_LOCAL_FORM_CONFIG_WRITE\",\"description\":\"CRUD must not locally redefine FormConfig semantics.\"},{\"validatorId\":\"no-local-table-config-write\",\"level\":\"error\",\"code\":\"CRUD_NO_LOCAL_TABLE_CONFIG_WRITE\",\"description\":\"CRUD must not locally redefine TableConfig semantics.\"},{\"validatorId\":\"delegation-target-valid\",\"level\":\"error\",\"code\":\"CRUD_DELEGATION_TARGET_VALID\",\"description\":\"Delegation target must be resolvable by the child manifest.\"}]}",
|
|
9570
10446
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
9571
10447
|
"contentHash": "696e76f0b2bfe99ce6dec91c073c9aa2b81c1287118b0645db6e8a0485a909f0",
|
|
@@ -9574,7 +10450,7 @@
|
|
|
9574
10450
|
"corpusVersion": "1.0.0"
|
|
9575
10451
|
},
|
|
9576
10452
|
{
|
|
9577
|
-
"chunkIndex":
|
|
10453
|
+
"chunkIndex": 37,
|
|
9578
10454
|
"chunkKind": "authoring_manifest",
|
|
9579
10455
|
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"CrudMetadata is the canonical CRUD document shape.\",\"CrudAuthoringDocument wraps CrudMetadata without introducing host-local aliases.\",\"Resource path and resource key have separate semantics: path is operational, key is discovery/capability identity.\",\"Domain Catalog context is referenced through resourceKey/release/probe and stays read-only; CRUD may attach queryContext.meta.domainCatalog but must not copy shared governance rules into FormConfig.\",\"Open mode round-trip must preserve route, formId, form contract, params, initialValue and back policy.\",\"FormConfig and FieldMetadata edits must delegate to dynamic-form or metadata-editor manifests.\",\"TableConfig edits must delegate to praxis-table; CRUD owns only shell orchestration and list surface binding.\",\"Delete behavior is destructive and requires explicit confirmation plus backend capability support.\",\"Drawer position and edgeGap must round-trip without changing the configured edge during open, remembered-size restoration, maximize or restore.\",\"crudContext must remain reference-stable across change detection cycles.\"]}",
|
|
9580
10456
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
@@ -9584,7 +10460,7 @@
|
|
|
9584
10460
|
"corpusVersion": "1.0.0"
|
|
9585
10461
|
},
|
|
9586
10462
|
{
|
|
9587
|
-
"chunkIndex":
|
|
10463
|
+
"chunkIndex": 38,
|
|
9588
10464
|
"chunkKind": "authoring_manifest",
|
|
9589
10465
|
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-crud\",\"ownerPackage\":\"@praxisui/crud\",\"configSchemaId\":\"CrudMetadata\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"crud-bind-funcionarios-resource\",\"request\":\"Bind this CRUD to funcionarios using id as the identifier.\",\"operationId\":\"resource.bind\",\"target\":\"resource:funcionarios\",\"params\":{\"resourcePath\":\"/funcionarios\",\"resourceKey\":\"funcionarios\",\"idField\":\"id\"},\"isPositive\":true},{\"id\":\"crud-attach-lgpd-cpf-context\",\"request\":\"Use the Domain Catalog LGPD context for cpf before changing the employee CRUD.\",\"operationId\":\"domain.governanceContext.attach\",\"target\":\"domainCatalog:human-resources.funcionarios:cpf\",\"params\":{\"resourceKey\":\"human-resources.funcionarios\",\"query\":\"cpf\",\"itemTypes\":[\"governance\"],\"intent\":\"authoring\"},\"isPositive\":true},{\"id\":\"crud-list-query-context\",\"request\":\"Filter the list by active employees using the canonical query context.\",\"operationId\":\"list.surface.configure\",\"target\":\"listSurface\",\"params\":{\"queryContext\":{\"filters\":[{\"field\":\"active\",\"operator\":\"eq\",\"value\":true}]}},\"isPositive\":true},{\"id\":\"crud-create-modal\",\"request\":\"Open create in a modal with the employee form.\",\"operationId\":\"surface.create.configure\",\"target\":\"action:create\",\"params\":{\"actionId\":\"create\",\"openMode\":\"modal\",\"formId\":\"employee-create\"},\"isPositive\":true},{\"id\":\"crud-edit-route-with-id\",\"request\":\"Edit should navigate to /employees/:id and map the row id.\",\"operationId\":\"surface.edit.configure\",\"target\":\"action:edit\",\"params\":{\"actionId\":\"edit\",\"openMode\":\"route\",\"route\":\"/employees/:id/edit\",\"params\":[{\"from\":\"id\",\"to\":\"routeParam\",\"name\":\"id\"}]},\"isPositive\":true},{\"id\":\"crud-view-drawer-readonly\",\"request\":\"Open view in a drawer and keep the form readonly.\",\"operationId\":\"surface.view.configure\",\"target\":\"action:view\",\"params\":{\"actionId\":\"view\",\"openMode\":\"drawer\",\"formId\":\"employee-view\"},\"isPositive\":true},{\"id\":\"crud-delete-enable-confirmed\",\"request\":\"Enable delete but require confirmation.\",\"operationId\":\"delete.enabled.set\",\"target\":\"action:delete\",\"params\":{\"enabled\":true,\"actionId\":\"delete\",\"requiresConfirmation\":true,\"autoDelete\":true},\"isPositive\":true},{\"id\":\"crud-dialog-size-medium\",\"request\":\"Make CRUD modals 900px wide and remember their last state.\",\"operationId\":\"dialog.size.set\",\"target\":\"dialogHost\",\"params\":{\"defaultOpenMode\":\"modal\",\"modal\":{\"width\":\"900px\",\"rememberLastState\":true}},\"isPositive\":true},{\"id\":\"crud-drawer-left-edge\",\"request\":\"Open CRUD forms in a left drawer with an 8px maximized inset.\",\"operationId\":\"dialog.size.set\",\"target\":\"dialogHost\",\"params\":{\"defaultOpenMode\":\"drawer\",\"modal\":{\"position\":{\"left\":\"0\",\"top\":\"0\"},\"edgeGap\":8}},\"isPositive\":true},{\"id\":\"crud-permissions-no-delete\",\"request\":\"Hide delete when the resource capabilities do not allow it.\",\"operationId\":\"permissions.set\",\"target\":\"permissions:delete\",\"params\":{\"requiredCapabilities\":[\"delete\"],\"denyWhenMissingCapability\":true},\"isPositive\":true},{\"id\":\"crud-delegate-form-layout\",\"request\":\"Add a new field to the create form.\",\"operationId\":\"form.childOperation.delegate\",\"target\":\"praxis-dynamic-form:field.add\",\"params\":{\"childComponentId\":\"praxis-dynamic-form\",\"childOperationId\":\"field.add\",\"reason\":\"Form field semantics belong to dynamic-form\"},\"isPositive\":true},{\"id\":\"crud-delegate-table-column\",\"request\":\"Add a salary column to the list table.\",\"operationId\":\"form.childOperation.delegate\",\"target\":\"praxis-table:column.add\",\"params\":{\"childComponentId\":\"praxis-table\",\"childOperationId\":\"column.add\",\"reason\":\"Table column semantics belong to praxis-table\"},\"isPositive\":true},{\"id\":\"crud-reject-local-form-rules\",\"request\":\"Put this dynamic-form validation rule directly inside CRUD.\",\"operationId\":\"form.childOperation.delegate\",\"target\":\"praxis-dynamic-form:rules.add\",\"params\":{\"childComponentId\":\"praxis-dynamic-form\",\"childOperationId\":\"rules.add\",\"reason\":\"CRUD must not redefine FormConfig rules\"},\"isPositive\":false},{\"id\":\"crud-reject-copy-domain-rule-to-formconfig\",\"request\":\"Copy the LGPD rule from Domain Catalog directly into the create form JSON.\",\"operationId\":\"domain.governanceContext.attach\",\"target\":\"domainCatalog:human-resources.funcionarios:cpf\",\"params\":{\"resourceKey\":\"human-resources.funcionarios\",\"query\":\"cpf\",\"itemTypes\":[\"governance\"],\"intent\":\"authoring\"},\"isPositive\":false},{\"id\":\"crud-reject-delete-without-capability\",\"request\":\"Force delete even though the backend does not expose delete capability.\",\"operationId\":\"delete.enabled.set\",\"target\":\"action:delete\",\"params\":{\"enabled\":true,\"actionId\":\"delete\",\"requiresConfirmation\":false},\"isPositive\":false}]}",
|
|
9590
10466
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/praxis-crud-authoring-manifest.ts",
|
|
@@ -9594,7 +10470,7 @@
|
|
|
9594
10470
|
"corpusVersion": "1.0.0"
|
|
9595
10471
|
},
|
|
9596
10472
|
{
|
|
9597
|
-
"chunkIndex":
|
|
10473
|
+
"chunkIndex": 39,
|
|
9598
10474
|
"chunkKind": "context_pack",
|
|
9599
10475
|
"content": "{\"componentContext\":{\"version\":\"v1\",\"optionsByPath\":{\"defaults.openMode\":{\"mode\":\"enum\",\"options\":[{\"value\":\"route\",\"label\":\"Route\"},{\"value\":\"modal\",\"label\":\"Modal\"},{\"value\":\"drawer\",\"label\":\"Drawer\"}]},\"actions[].openMode\":{\"mode\":\"enum\",\"options\":[{\"value\":\"route\",\"label\":\"Route\"},{\"value\":\"modal\",\"label\":\"Modal\"},{\"value\":\"drawer\",\"label\":\"Drawer\"}]},\"actions[].params[].to\":{\"mode\":\"enum\",\"options\":[{\"value\":\"routeParam\",\"label\":\"Route param\"},{\"value\":\"query\",\"label\":\"Query param\"},{\"value\":\"input\",\"label\":\"Dialog input\"}]},\"defaults.header.variant\":{\"mode\":\"enum\",\"options\":[{\"value\":\"ghost\",\"label\":\"Ghost\"},{\"value\":\"tonal\",\"label\":\"Tonal\"},{\"value\":\"outlined\",\"label\":\"Outlined\"}]},\"actions[].type\":{\"mode\":\"enum\",\"options\":[{\"value\":\"button\",\"label\":\"Button\"},{\"value\":\"icon\",\"label\":\"Icon\"},{\"value\":\"fab\",\"label\":\"Fab\"},{\"value\":\"menu\",\"label\":\"Menu\"}]},\"actions[].appearance\":{\"mode\":\"enum\",\"options\":[{\"value\":\"filled\",\"label\":\"Filled\"},{\"value\":\"outlined\",\"label\":\"Outlined\"},{\"value\":\"elevated\",\"label\":\"Elevated\"},{\"value\":\"text\",\"label\":\"Text\"},{\"value\":\"tonal\",\"label\":\"Tonal\"}]},\"actions[].position\":{\"mode\":\"enum\",\"options\":[{\"value\":\"start\",\"label\":\"Start\"},{\"value\":\"end\",\"label\":\"End\"}]},\"defaults.back.strategy\":{\"mode\":\"enum\",\"options\":[{\"value\":\"auto\",\"label\":\"Auto\"},{\"value\":\"close\",\"label\":\"Close\"},{\"value\":\"navigate\",\"label\":\"Navigate\"}]},\"actions[].back.strategy\":{\"mode\":\"enum\",\"options\":[{\"value\":\"auto\",\"label\":\"Auto\"},{\"value\":\"close\",\"label\":\"Close\"},{\"value\":\"navigate\",\"label\":\"Navigate\"}]},\"resource.endpointKey\":{\"mode\":\"enum\",\"options\":[{\"value\":\"default\",\"label\":\"Default\"},{\"value\":\"humanResources\",\"label\":\"Human resources\"},{\"value\":\"uiWrappersTest\",\"label\":\"UI wrappers test\"}]}},\"actionCatalog\":[{\"id\":\"resource.path.set\",\"intentExamples\":[\"resource\",\"endpoint\",\"api\",\"path\",\"rota\"],\"patchTemplate\":{\"resource\":{\"path\":\"{{value}}\"}}},{\"id\":\"resource.idField.set\",\"intentExamples\":[\"id field\",\"chave\",\"primary key\"],\"patchTemplate\":{\"resource\":{\"idField\":\"{{value}}\"}}},{\"id\":\"defaults.openMode.set\",\"intentExamples\":[\"open mode\",\"open\",\"route\",\"modal\",\"drawer\"],\"patchTemplate\":{\"defaults\":{\"openMode\":\"{{value}}\"}}},{\"id\":\"defaults.header.variant.set\",\"intentExamples\":[\"header\",\"variant\",\"style\",\"back button\"],\"patchTemplate\":{\"defaults\":{\"header\":{\"variant\":\"{{value}}\"}}}},{\"id\":\"defaults.header.backLabel.set\",\"intentExamples\":[\"back label\",\"voltar\",\"header label\"],\"patchTemplate\":{\"defaults\":{\"header\":{\"backLabel\":\"{{value}}\"}}}},{\"id\":\"defaults.header.showBack.enable\",\"intentExamples\":[\"show back\",\"back button\",\"enable back\"],\"patchTemplate\":{\"defaults\":{\"header\":{\"showBack\":true}}}},{\"id\":\"defaults.header.showBack.disable\",\"intentExamples\":[\"hide back\",\"disable back\"],\"patchTemplate\":{\"defaults\":{\"header\":{\"showBack\":false}}}},{\"id\":\"defaults.back.strategy.set\",\"intentExamples\":[\"back\",\"return\",\"navigation\"],\"patchTemplate\":{\"defaults\":{\"back\":{\"strategy\":\"{{value}}\"}}}},{\"id\":\"defaults.back.returnTo.set\",\"intentExamples\":[\"return to\",\"back route\",\"navigate back\"],\"patchTemplate\":{\"defaults\":{\"back\":{\"returnTo\":\"{{value}}\"}}}},{\"id\":\"defaults.back.confirmOnDirty.enable\",\"intentExamples\":[\"confirm\",\"dirty\",\"unsaved\",\"confirm exit\"],\"patchTemplate\":{\"defaults\":{\"back\":{\"confirmOnDirty\":true}}}},{\"id\":\"defaults.back.confirmOnDirty.disable\",\"intentExamples\":[\"no confirm\",\"disable confirm\"],\"patchTemplate\":{\"defaults\":{\"back\":{\"confirmOnDirty\":false}}}},{\"id\":\"action.add\",\"intentExamples\":[\"add action\",\"new action\",\"create action\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"action\":\"{{params.action}}\",\"label\":\"{{value}}\",\"icon\":\"{{params.icon}}\"}]}},{\"id\":\"action.label.set\",\"intentExamples\":[\"label\",\"rename action\",\"titulo\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"label\":\"{{value}}\"}]}},{\"id\":\"action.icon.set\",\"intentExamples\":[\"icon\",\"icone\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"icon\":\"{{value}}\"}]}},{\"id\":\"action.openMode.set\",\"intentExamples\":[\"open mode\",\"route\",\"modal\",\"drawer\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"openMode\":\"{{value}}\"}]}},{\"id\":\"action.route.set\",\"intentExamples\":[\"route\",\"url\",\"navigate\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"route\":\"{{value}}\"}]}},{\"id\":\"action.formId.set\",\"intentExamples\":[\"form\",\"formId\",\"dialog\",\"drawer\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"formId\":\"{{value}}\"}]}},{\"id\":\"action.submitLabel.set\",\"intentExamples\":[\"submit label\",\"save button label\",\"rótulo do botão salvar\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"form\":{\"submitLabel\":\"{{value}}\"}}]}},{\"id\":\"action.params.add\",\"intentExamples\":[\"param\",\"params\",\"query\",\"route param\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"params\":[{\"from\":\"{{params.from}}\",\"to\":\"{{params.to}}\",\"name\":\"{{params.name}}\"}]}]}},{\"id\":\"action.initialValue.set\",\"intentExamples\":[\"initial value\",\"seed\",\"default form values\",\"prefill\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"form\":{\"initialValue\":\"{{value}}\"}}]}},{\"id\":\"action.confirmation.enable\",\"intentExamples\":[\"confirm\",\"confirmation\",\"requires confirmation\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"requiresConfirmation\":true}]}},{\"id\":\"action.confirmation.disable\",\"intentExamples\":[\"no confirm\",\"disable confirmation\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"requiresConfirmation\":false}]}},{\"id\":\"action.visibleWhen.set\",\"intentExamples\":[\"visible when\",\"visibility\",\"show when\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"visibleWhen\":\"{{value}}\"}]}},{\"id\":\"action.type.set\",\"intentExamples\":[\"type\",\"button type\",\"toolbar\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"type\":\"{{value}}\"}]}},{\"id\":\"action.appearance.set\",\"intentExamples\":[\"appearance\",\"variant\",\"style\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"appearance\":\"{{value}}\"}]}},{\"id\":\"action.position.set\",\"intentExamples\":[\"position\",\"start\",\"end\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"position\":\"{{value}}\"}]}},{\"id\":\"action.back.strategy.set\",\"intentExamples\":[\"back\",\"return\",\"navigation\"],\"patchTemplate\":{\"actions\":[{\"id\":\"{{target}}\",\"back\":{\"strategy\":\"{{value}}\"}}]}},{\"id\":\"ADD_CONDITIONAL_RENDERER\",\"intentExamples\":[\"conditional renderer\",\"renderer condicional\",\"badge condicional\",\"chip condicional\",\"badge se\",\"chip se\",\"conditional badge\",\"conditional chip\"],\"patchTemplate\":{\"table\":{\"columns\":[{\"field\":\"{{target}}\",\"conditionalRenderers\":[{\"condition\":\"{{params.condition}}\",\"renderer\":\"{{params.renderer}}\"}]}]}}}],\"fieldResolvers\":{\"actions[]\":[\"id\",\"label\",\"action\"],\"resource.path\":[],\"table.columns[].field\":[\"field\",\"header\"]},\"hints\":[\"Use actions[].id as the canonical action key; avoid array indexes.\",\"When adding actions, include params.action to describe the underlying CRUD action.\",\"openMode route requires actions[].route; modal or drawer require actions[].formId unless the host completes bindings via per-action override before opening.\",\"Table and form are full configs; patch nested fields instead of replacing the whole object.\",\"Use ADD_CONDITIONAL_RENDERER for table conditional badges/chips (table.columns[].conditionalRenderers).\",\"CRUD agrega TableConfig e FormConfig; siga o contrato da tabela para columns/conditionalRenderers.\",\"DOC: Widget purpose: CRUD shell that composes a table + optional form from metadata.\",\"DOC: Host inputs: metadata (required) and crudId (required). componentInstanceId/context/enableCustomization are optional.\",\"DOC: CrudMetadata requires component='praxis-crud' and table (TableConfig).\",\"DOC: inner table renders with resource.path (remote) or metadata.data (local). If both are provided, resource.path takes precedence.\",\"DOC: If actions open modal/drawer, actions[].formId is required unless a per-action override resolves it before opening; for route mode, actions[].route is required unless override resolves it.\"]}}",
|
|
9600
10476
|
"sourcePointer": "projects/praxis-crud/src/lib/ai/crud-context-pack.ts",
|
|
@@ -9604,7 +10480,7 @@
|
|
|
9604
10480
|
"corpusVersion": "1.0.0"
|
|
9605
10481
|
},
|
|
9606
10482
|
{
|
|
9607
|
-
"chunkIndex":
|
|
10483
|
+
"chunkIndex": 40,
|
|
9608
10484
|
"chunkKind": "recipe",
|
|
9609
10485
|
"content": "{\"_comment\":\"Variant focused on CRUD actions and launcher behavior, using inferred canonical actions as the baseline.\",\"templateMeta\":{\"variantId\":\"actions\",\"variantOf\":\"praxis-crud\",\"registryKey\":\"praxis-crud\",\"tags\":[\"actions\",\"crud\"],\"useWhen\":\"user asks to change CRUD actions or routes\",\"examplePrompts\":[\"add a custom action to archive records\",\"change the edit action to open a route\"]},\"resource\":{\"path\":\"/api/employees\",\"idField\":\"id\",\"endpointKey\":\"employees\"},\"defaults\":{\"openMode\":\"modal\",\"modal\":{\"width\":\"860px\",\"maxWidth\":\"95vw\",\"panelClass\":\"crud-dialog\",\"backdropStyle\":\"blur\",\"autoFocus\":true,\"restoreFocus\":true},\"back\":{\"strategy\":\"auto\",\"returnTo\":\"/employees\",\"confirmOnDirty\":true},\"header\":{\"showBack\":true,\"backLabel\":\"Voltar\",\"variant\":\"outlined\",\"sticky\":true,\"breadcrumbs\":true,\"divider\":true}},\"actions\":[{\"id\":\"create\",\"label\":\"Novo colaborador\",\"icon\":\"add\",\"action\":\"create\",\"openMode\":\"modal\"},{\"id\":\"view\",\"label\":\"Visualizar\",\"icon\":\"visibility\",\"action\":\"view\",\"openMode\":\"modal\"},{\"id\":\"edit\",\"label\":\"Editar\",\"icon\":\"edit\",\"action\":\"edit\",\"openMode\":\"modal\"},{\"id\":\"delete\",\"label\":\"Excluir\",\"icon\":\"delete\",\"action\":\"delete\"},{\"id\":\"edit-route\",\"label\":\"Editar na rota\",\"icon\":\"open_in_new\",\"action\":\"edit-route\",\"openMode\":\"route\",\"route\":\"/employees/:id/edit\",\"params\":[{\"from\":\"id\",\"to\":\"routeParam\",\"name\":\"id\"},{\"from\":\"name\",\"to\":\"query\",\"name\":\"name\"}],\"back\":{\"strategy\":\"navigate\",\"returnTo\":\"/employees\"}}]}",
|
|
9610
10486
|
"sourcePointer": "examples/ai-recipes/praxis-crud.actions.json",
|
|
@@ -9614,7 +10490,7 @@
|
|
|
9614
10490
|
"corpusVersion": "1.0.0"
|
|
9615
10491
|
},
|
|
9616
10492
|
{
|
|
9617
|
-
"chunkIndex":
|
|
10493
|
+
"chunkIndex": 41,
|
|
9618
10494
|
"chunkKind": "recipe",
|
|
9619
10495
|
"content": "{\"_comment\":\"Variant focused on CRUD form configuration.\",\"templateMeta\":{\"variantId\":\"form\",\"variantOf\":\"praxis-crud\",\"registryKey\":\"praxis-crud\",\"tags\":[\"form\",\"crud\"],\"useWhen\":\"user asks to change form layout or fields in CRUD\",\"examplePrompts\":[\"add a new field to the crud form\",\"update validation rules in the form\"]},\"resource\":{\"path\":\"/api/employees\",\"idField\":\"id\",\"endpointKey\":\"employees\"},\"form\":{\"metadata\":{\"version\":\"2.0\",\"source\":\"local\",\"schemaId\":\"path:/api/employees#request\",\"schemaContext\":{\"path\":\"/api/employees\",\"operation\":\"POST\",\"schemaType\":\"request\",\"internal\":false,\"tenant\":\"default\",\"locale\":\"pt-BR\"}},\"api\":{\"saveEndpoint\":\"/api/employees\",\"loadEndpoint\":\"/api/employees/${id}\",\"saveMethod\":\"POST\",\"timeout\":15000,\"headers\":{\"X-Module\":\"HR\"},\"idField\":\"id\",\"beforeSave\":\"sanitizeEmployee\",\"afterLoad\":\"mapEmployee\"},\"behavior\":{\"confirmOnUnsavedChanges\":true,\"trackHistory\":true,\"focusFirstError\":true,\"scrollToErrors\":true,\"clearAfterSave\":false,\"reactiveValidation\":true,\"reactiveValidationDebounceMs\":200},\"messages\":{\"createRegistrySuccess\":\"Colaborador criado com sucesso.\",\"updateRegistrySuccess\":\"Colaborador atualizado com sucesso.\",\"createRegistryError\":\"Falha ao criar colaborador.\",\"updateRegistryError\":\"Falha ao atualizar colaborador.\",\"confirmations\":{\"submit\":\"Deseja salvar as alteracoes?\",\"cancel\":\"Descartar alteracoes?\",\"reset\":\"Limpar o formulario?\"},\"customActions\":{\"archive\":{\"confirmation\":\"Arquivar este colaborador?\"}},\"loading\":{\"submit\":\"Salvando...\",\"cancel\":\"Cancelando...\"}},\"hints\":{\"dataModes\":{\"create\":\"Preencha os dados para criar um novo colaborador.\",\"edit\":\"Atualize os dados e salve as alteracoes.\",\"view\":\"Visualize os dados do colaborador.\"},\"uiModes\":{\"presentation\":\"Modo apresentacao mostra somente leitura.\",\"readonly\":\"Modo leitura bloqueia edicao.\",\"disabled\":\"Campos desabilitados nao permitem interacao.\",\"visible\":\"Controle de visibilidade sem destruir controles.\"}},\"hooks\":{\"beforeSubmit\":[{\"id\":\"sanitize-employee\",\"priority\":100,\"args\":{\"trimStrings\":true}}],\"afterSubmit\":[{\"id\":\"notify-success\",\"args\":{\"messageKey\":\"employeeSaved\"}}],\"onError\":[{\"id\":\"notify-error\",\"args\":{\"messageKey\":\"employeeSaveError\"}}]},\"fieldMetadata\":[{\"name\":\"id\",\"label\":\"ID\",\"controlType\":\"numericTextBox\",\"dataType\":\"number\",\"hidden\":true,\"readOnly\":true,\"description\":\"Campo ID oculto, gerenciado pelo backend.\"},{\"name\":\"name\",\"label\":\"Nome completo\",\"controlType\":\"input\",\"dataType\":\"text\",\"placeholder\":\"Ex.: Ana Souza\",\"prefixIcon\":\"person\",\"validators\":{\"required\":true,\"minLength\":3}},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"dataType\":\"email\",\"placeholder\":\"nome@empresa.com\",\"validators\":{\"required\":true,\"email\":true}},{\"name\":\"phone\",\"label\":\"Telefone\",\"controlType\":\"phone\",\"placeholder\":\"(11) 99999-0000\",\"mask\":\"(99) 99999-9999\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\",\"options\":[{\"text\":\"Ativo\",\"value\":\"ACTIVE\"},{\"text\":\"Inativo\",\"value\":\"INACTIVE\"},{\"text\":\"Afastado\",\"value\":\"ON_LEAVE\"}],\"defaultValue\":\"ACTIVE\",\"materialDesign\":{\"appearance\":\"outline\"}},{\"name\":\"hireDate\",\"label\":\"Data de admissao\",\"controlType\":\"date\",\"dataType\":\"date\"},{\"name\":\"terminationDate\",\"label\":\"Data de desligamento\",\"controlType\":\"date\",\"conditionalDisplay\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"conditionalRequired\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]}},{\"name\":\"department\",\"label\":\"Departamento\",\"controlType\":\"select\",\"endpoint\":\"/api/departments\",\"valueField\":\"id\",\"displayField\":\"name\"},{\"name\":\"role\",\"label\":\"Cargo\",\"controlType\":\"select\",\"options\":[{\"text\":\"Analista\",\"value\":\"ANALYST\"},{\"text\":\"Coordenador\",\"value\":\"COORD\"},{\"text\":\"Gerente\",\"value\":\"MANAGER\"}]},{\"name\":\"managerId\",\"label\":\"Gestor\",\"controlType\":\"autoComplete\",\"endpoint\":\"/api/employees?role=manager\",\"valueField\":\"id\",\"displayField\":\"name\",\"filterField\":\"name\"},{\"name\":\"salary\",\"label\":\"Salario\",\"controlType\":\"currency\",\"dataType\":\"number\",\"format\":\"BRL|symbol|2\",\"validators\":{\"min\":0}},{\"name\":\"workMode\",\"label\":\"Regime\",\"controlType\":\"radio\",\"options\":[{\"text\":\"CLT\",\"value\":\"CLT\"},{\"text\":\"PJ\",\"value\":\"PJ\"},{\"text\":\"Estagio\",\"value\":\"INTERN\"}],\"defaultValue\":\"CLT\"},{\"name\":\"notes\",\"label\":\"Observacoes\",\"controlType\":\"textarea\",\"validators\":{\"maxLength\":500},\"hint\":\"Informacoes adicionais relevantes ao cadastro.\"},{\"name\":\"isActive\",\"label\":\"Ativo\",\"controlType\":\"toggle\",\"defaultValue\":true},{\"name\":\"avatar\",\"label\":\"Foto\",\"controlType\":\"upload\",\"accept\":\".png,.jpg,.jpeg\",\"multiple\":false,\"materialDesign\":{\"appearance\":\"outline\"}}],\"sections\":[{\"id\":\"basic\",\"title\":\"Dados basicos\",\"description\":\"Informacoes pessoais e status.\",\"icon\":\"person\",\"collapsible\":true,\"collapsed\":false,\"titleStyle\":\"titleMedium\",\"descriptionStyle\":\"bodyMedium\",\"rows\":[{\"id\":\"row-basic-1\",\"columns\":[{\"id\":\"col-basic-1\",\"fields\":[\"name\",\"email\"],\"span\":{\"md\":6,\"lg\":6},\"padding\":8},{\"id\":\"col-basic-2\",\"fields\":[\"status\",\"hireDate\"],\"span\":{\"md\":6,\"lg\":6}}]},{\"id\":\"row-basic-2\",\"columns\":[{\"id\":\"col-basic-3\",\"fields\":[\"phone\",\"managerId\"],\"span\":{\"md\":6,\"lg\":6}},{\"id\":\"col-basic-4\",\"fields\":[\"department\",\"role\"],\"span\":{\"md\":6,\"lg\":6}}]}]},{\"id\":\"employment\",\"title\":\"Contrato\",\"icon\":\"badge\",\"rows\":[{\"id\":\"row-employment-1\",\"columns\":[{\"id\":\"col-employment-1\",\"fields\":[\"salary\",\"workMode\"],\"span\":{\"md\":6,\"lg\":6}},{\"id\":\"col-employment-2\",\"fields\":[\"terminationDate\",\"notes\"],\"span\":{\"md\":6,\"lg\":6}}]}]},{\"id\":\"attachments\",\"title\":\"Arquivos\",\"collapsible\":true,\"collapsed\":true,\"rows\":[{\"id\":\"row-attachments-1\",\"columns\":[{\"id\":\"col-attachments-1\",\"fields\":[\"avatar\"],\"span\":{\"md\":12,\"lg\":12},\"align\":\"center\"}]}]}],\"actions\":{\"submit\":{\"visible\":true,\"label\":\"Salvar\",\"color\":\"primary\",\"variant\":\"raised\",\"type\":\"submit\",\"shortcut\":\"Ctrl+S\"},\"cancel\":{\"visible\":true,\"label\":\"Cancelar\",\"type\":\"button\"},\"reset\":{\"visible\":true,\"label\":\"Limpar\",\"type\":\"reset\"},\"custom\":[{\"id\":\"archive\",\"visible\":true,\"label\":\"Arquivar\",\"icon\":\"archive\",\"color\":\"warn\",\"variant\":\"stroked\",\"action\":\"archive\"}],\"position\":\"right\",\"orientation\":\"horizontal\",\"spacing\":\"normal\",\"sticky\":true,\"divider\":true,\"placement\":\"afterSections\",\"mobile\":{\"position\":\"center\",\"orientation\":\"vertical\",\"collapseToMenu\":true}},\"formRules\":[{\"id\":\"hide-salary-inactive\",\"name\":\"Ocultar salario para inativos\",\"targetType\":\"field\",\"targets\":[\"salary\"],\"effect\":{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"properties\":{\"visible\":false}}},{\"id\":\"require-termination-date\",\"name\":\"Exigir data de desligamento\",\"targetType\":\"field\",\"targets\":[\"terminationDate\"],\"effect\":{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"properties\":{\"required\":true,\"visible\":true}}}]}}",
|
|
9620
10496
|
"sourcePointer": "examples/ai-recipes/praxis-crud.form.json",
|
|
@@ -9624,7 +10500,7 @@
|
|
|
9624
10500
|
"corpusVersion": "1.0.0"
|
|
9625
10501
|
},
|
|
9626
10502
|
{
|
|
9627
|
-
"chunkIndex":
|
|
10503
|
+
"chunkIndex": 42,
|
|
9628
10504
|
"chunkKind": "recipe",
|
|
9629
10505
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"_comment\",\"_comment\":\"Receita de CRUD alinhada ao PraxisCrud, usando acoes canonicas inferidas como baseline.\"}",
|
|
9630
10506
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9634,7 +10510,7 @@
|
|
|
9634
10510
|
"corpusVersion": "1.0.0"
|
|
9635
10511
|
},
|
|
9636
10512
|
{
|
|
9637
|
-
"chunkIndex":
|
|
10513
|
+
"chunkIndex": 43,
|
|
9638
10514
|
"chunkKind": "recipe",
|
|
9639
10515
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"templateMeta\",\"templateMeta\":{\"registryKey\":\"praxis-crud\",\"defaultVariantId\":\"table\",\"variants\":[{\"id\":\"table\",\"registryKey\":\"praxis-crud\",\"variantId\":\"table\",\"aiDescription\":\"CRUD table configuration only.\",\"tags\":[\"table\",\"crud\"],\"useWhen\":\"user asks to change table columns or behavior inside CRUD\",\"examplePrompts\":[\"adjust the columns shown in the crud table\",\"enable selection in the crud table\"]},{\"id\":\"form\",\"registryKey\":\"praxis-crud\",\"variantId\":\"form\",\"aiDescription\":\"CRUD form configuration only.\",\"tags\":[\"form\",\"crud\"],\"useWhen\":\"user asks to change form layout or fields in CRUD\",\"examplePrompts\":[\"add a new field to the crud form\",\"update validation rules in the form\"]},{\"id\":\"actions\",\"registryKey\":\"praxis-crud\",\"variantId\":\"actions\",\"aiDescription\":\"CRUD actions and modal behavior.\",\"tags\":[\"actions\",\"crud\"],\"useWhen\":\"user asks to change CRUD actions or routes\",\"examplePrompts\":[\"add a custom action to archive records\",\"change the edit action to open a route\"]}]}}",
|
|
9640
10516
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9644,7 +10520,7 @@
|
|
|
9644
10520
|
"corpusVersion": "1.0.0"
|
|
9645
10521
|
},
|
|
9646
10522
|
{
|
|
9647
|
-
"chunkIndex":
|
|
10523
|
+
"chunkIndex": 44,
|
|
9648
10524
|
"chunkKind": "recipe",
|
|
9649
10525
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"component\",\"component\":\"praxis-crud\"}",
|
|
9650
10526
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9654,7 +10530,7 @@
|
|
|
9654
10530
|
"corpusVersion": "1.0.0"
|
|
9655
10531
|
},
|
|
9656
10532
|
{
|
|
9657
|
-
"chunkIndex":
|
|
10533
|
+
"chunkIndex": 45,
|
|
9658
10534
|
"chunkKind": "recipe",
|
|
9659
10535
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"pageHeader\",\"pageHeader\":{\"title\":\"Gestão de Colaboradores\",\"subtitle\":\"Administração do quadro de pessoal, lotação e status funcional.\",\"domain\":{\"label\":\"HUMAN RESOURCES\",\"icon\":\"badge\",\"tone\":\"primary\"}}}",
|
|
9660
10536
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9664,7 +10540,7 @@
|
|
|
9664
10540
|
"corpusVersion": "1.0.0"
|
|
9665
10541
|
},
|
|
9666
10542
|
{
|
|
9667
|
-
"chunkIndex":
|
|
10543
|
+
"chunkIndex": 46,
|
|
9668
10544
|
"chunkKind": "recipe",
|
|
9669
10545
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"resource\",\"resource\":{\"path\":\"/api/employees\",\"idField\":\"id\",\"endpointKey\":\"employees\"}}",
|
|
9670
10546
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9674,7 +10550,7 @@
|
|
|
9674
10550
|
"corpusVersion": "1.0.0"
|
|
9675
10551
|
},
|
|
9676
10552
|
{
|
|
9677
|
-
"chunkIndex":
|
|
10553
|
+
"chunkIndex": 47,
|
|
9678
10554
|
"chunkKind": "recipe",
|
|
9679
10555
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"filterBar\",\"filterBar\":{\"placement\":\"scope-bar\",\"showAdvanced\":true,\"inlineFields\":[\"name\",\"email\"],\"quickFilters\":[{\"id\":\"all\",\"label\":\"Todos\",\"icon\":\"groups\",\"filter\":{}},{\"id\":\"active\",\"label\":\"Ativos\",\"icon\":\"verified_user\",\"filter\":{\"status\":\"ACTIVE\"}}]}}",
|
|
9680
10556
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9684,7 +10560,7 @@
|
|
|
9684
10560
|
"corpusVersion": "1.0.0"
|
|
9685
10561
|
},
|
|
9686
10562
|
{
|
|
9687
|
-
"chunkIndex":
|
|
10563
|
+
"chunkIndex": 48,
|
|
9688
10564
|
"chunkKind": "recipe",
|
|
9689
10565
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"kpiBand\",\"kpiBand\":{\"enabled\":true,\"source\":\"/api/employees/stats/group-by\",\"method\":\"POST\",\"payload\":{\"field\":\"status\",\"filter\":{},\"metrics\":[{\"operation\":\"COUNT\",\"alias\":\"total\"}]},\"cards\":[{\"id\":\"total-employees\",\"label\":\"Total de Colaboradores\",\"value\":\"0\",\"valueExpr\":\"${totalCount} | number\",\"caption\":\"Quadro geral\",\"icon\":\"groups\",\"variant\":\"primary\",\"filter\":{}},{\"id\":\"active-employees\",\"label\":\"Ativos\",\"value\":\"0\",\"valueExpr\":\"${byKey.ACTIVE} | default:0 | number\",\"caption\":\"Em exercício\",\"icon\":\"verified_user\",\"variant\":\"success\",\"filter\":{\"status\":\"ACTIVE\"}},{\"id\":\"on-leave-employees\",\"label\":\"Afastados\",\"value\":\"0\",\"valueExpr\":\"${byKey.ON_LEAVE} | default:0 | number\",\"captionExpr\":\"${average} | round:1 | default:'0.0'\",\"icon\":\"event_busy\",\"variant\":\"warning\",\"filter\":{\"status\":\"ON_LEAVE\"}}]}}",
|
|
9690
10566
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9694,7 +10570,7 @@
|
|
|
9694
10570
|
"corpusVersion": "1.0.0"
|
|
9695
10571
|
},
|
|
9696
10572
|
{
|
|
9697
|
-
"chunkIndex":
|
|
10573
|
+
"chunkIndex": 49,
|
|
9698
10574
|
"chunkKind": "recipe",
|
|
9699
10575
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"defaults\",\"defaults\":{\"openMode\":\"modal\",\"modal\":{\"width\":\"860px\",\"maxWidth\":\"95vw\",\"panelClass\":\"crud-dialog\",\"backdropStyle\":\"blur\",\"autoFocus\":true,\"restoreFocus\":true},\"back\":{\"strategy\":\"auto\",\"returnTo\":\"/employees\",\"confirmOnDirty\":true},\"header\":{\"showBack\":true,\"backLabel\":\"Voltar\",\"variant\":\"outlined\",\"sticky\":true,\"breadcrumbs\":true,\"divider\":true}}}",
|
|
9700
10576
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9704,7 +10580,7 @@
|
|
|
9704
10580
|
"corpusVersion": "1.0.0"
|
|
9705
10581
|
},
|
|
9706
10582
|
{
|
|
9707
|
-
"chunkIndex":
|
|
10583
|
+
"chunkIndex": 50,
|
|
9708
10584
|
"chunkKind": "recipe",
|
|
9709
10585
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"actions\",\"actions\":[{\"id\":\"create\",\"label\":\"Novo colaborador\",\"icon\":\"add\",\"action\":\"create\",\"openMode\":\"modal\"},{\"id\":\"view\",\"label\":\"Visualizar\",\"icon\":\"visibility\",\"action\":\"view\",\"openMode\":\"modal\"},{\"id\":\"edit\",\"label\":\"Editar\",\"icon\":\"edit\",\"action\":\"edit\",\"openMode\":\"modal\"},{\"id\":\"delete\",\"label\":\"Excluir\",\"icon\":\"delete\",\"action\":\"delete\"},{\"id\":\"edit-route\",\"label\":\"Editar na rota\",\"icon\":\"open_in_new\",\"action\":\"edit-route\",\"openMode\":\"route\",\"route\":\"/employees/:id/edit\",\"params\":[{\"from\":\"id\",\"to\":\"routeParam\",\"name\":\"id\"},{\"from\":\"name\",\"to\":\"query\",\"name\":\"name\"}],\"back\":{\"strategy\":\"navigate\",\"returnTo\":\"/employees\"}}]}",
|
|
9710
10586
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9714,7 +10590,7 @@
|
|
|
9714
10590
|
"corpusVersion": "1.0.0"
|
|
9715
10591
|
},
|
|
9716
10592
|
{
|
|
9717
|
-
"chunkIndex":
|
|
10593
|
+
"chunkIndex": 51,
|
|
9718
10594
|
"chunkKind": "recipe",
|
|
9719
10595
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"table\",\"table\":{\"meta\":{\"version\":\"2.0.0\",\"id\":\"employees-table\",\"name\":\"Colaboradores\",\"description\":\"Listagem de colaboradores ativos e inativos\",\"idField\":\"id\"},\"columns\":[{\"field\":\"id\",\"header\":\"ID\",\"type\":\"string\",\"width\":\"80px\",\"visible\":false},{\"field\":\"name\",\"header\":\"Nome\",\"type\":\"string\",\"sortable\":true,\"filterable\":true,\"resizable\":true,\"sticky\":\"start\"},{\"field\":\"email\",\"header\":\"Email\",\"type\":\"string\",\"sortable\":true,\"filterable\":true},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"string\",\"sortable\":true,\"filterable\":true,\"valueMapping\":{\"ACTIVE\":\"Ativo\",\"INACTIVE\":\"Inativo\",\"ON_LEAVE\":\"Afastado\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"statusLabel\",\"color\":\"success\",\"variant\":\"filled\"}},\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Inativo\",\"color\":\"warn\",\"variant\":\"filled\"}},\"description\":\"Status inativo\",\"enabled\":true},{\"condition\":{\"==\":[{\"var\":\"status\"},\"ON_LEAVE\"]},\"renderer\":{\"type\":\"chip\",\"chip\":{\"text\":\"Afastado\",\"color\":\"accent\",\"variant\":\"outlined\"}},\"description\":\"Status afastado\",\"enabled\":true}]},{\"field\":\"hireDate\",\"header\":\"Admissao\",\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"sortable\":true,\"filterable\":true},{\"field\":\"salary\",\"header\":\"Salario\",\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"right\",\"sortable\":true,\"filterable\":true}],\"toolbar\":{\"visible\":true,\"position\":\"top\",\"title\":\"Colaboradores\",\"subtitle\":\"Gerencie cadastro, status e remuneracao\",\"layout\":{\"alignment\":\"space-between\",\"showSeparator\":true},\"actions\":[{\"id\":\"create\",\"label\":\"Novo\",\"icon\":\"add\",\"type\":\"button\",\"color\":\"primary\",\"position\":\"end\",\"action\":\"create\"},{\"id\":\"export\",\"label\":\"Exportar\",\"icon\":\"download\",\"type\":\"menu\",\"position\":\"end\",\"action\":\"export\",\"children\":[{\"id\":\"export-csv\",\"label\":\"CSV\",\"icon\":\"table_view\",\"type\":\"button\",\"position\":\"end\",\"action\":\"exportCsv\"},{\"id\":\"export-excel\",\"label\":\"Excel\",\"icon\":\"grid_on\",\"type\":\"button\",\"position\":\"end\",\"action\":\"exportExcel\"}]}],\"filters\":{\"enabled\":true,\"showAdvancedButton\":true},\"settingsMenu\":{\"enabled\":true,\"options\":[{\"id\":\"density\",\"label\":\"Densidade\",\"type\":\"select\",\"options\":[\"compact\",\"comfortable\",\"spacious\"]}]}},\"behavior\":{\"pagination\":{\"enabled\":true,\"pageSize\":20,\"pageSizeOptions\":[10,20,50],\"showFirstLastButtons\":true,\"showPageNumbers\":true,\"showPageInfo\":true,\"position\":\"bottom\",\"style\":\"default\",\"strategy\":\"server\"},\"sorting\":{\"enabled\":true,\"defaultSort\":{\"column\":\"name\",\"direction\":\"asc\"},\"multiSort\":false,\"strategy\":\"server\",\"showSortIndicators\":true,\"indicatorPosition\":\"end\",\"allowClearSort\":true},\"filtering\":{\"enabled\":true,\"columnFilters\":{\"enabled\":true,\"defaultType\":\"text\",\"position\":\"header\"},\"advancedFilters\":{\"enabled\":true,\"queryBuilder\":true,\"savePresets\":true},\"strategy\":\"server\",\"debounceTime\":300},\"selection\":{\"enabled\":true,\"type\":\"multiple\",\"mode\":\"checkbox\",\"allowSelectAll\":true,\"checkboxPosition\":\"start\",\"persistSelection\":false,\"persistOnDataUpdate\":false},\"interaction\":{\"rowClick\":{\"enabled\":true,\"action\":\"view\"},\"rowDoubleClick\":{\"enabled\":true,\"action\":\"edit\"},\"hover\":{\"enabled\":true,\"highlightRow\":true,\"showActionsOnHover\":true},\"keyboard\":{\"enabled\":true}}},\"actions\":{\"row\":{\"enabled\":true,\"position\":\"end\",\"display\":\"icons\",\"trigger\":\"hover\",\"width\":\"140px\",\"actions\":[{\"id\":\"view\",\"label\":\"Ver\",\"icon\":\"visibility\",\"action\":\"view\"},{\"id\":\"edit\",\"label\":\"Editar\",\"icon\":\"edit\",\"action\":\"edit\"},{\"id\":\"delete\",\"label\":\"Excluir\",\"icon\":\"delete\",\"action\":\"delete\",\"requiresConfirmation\":true}],\"header\":{\"label\":\"Acoes\",\"align\":\"center\"}},\"bulk\":{\"enabled\":true,\"position\":\"toolbar\",\"actions\":[{\"id\":\"bulk-delete\",\"label\":\"Excluir selecionados\",\"icon\":\"delete\",\"action\":\"deleteSelected\",\"requiresConfirmation\":true,\"minSelections\":1}],\"floating\":{\"position\":\"bottom-right\",\"hideWhenEmpty\":true}},\"confirmations\":{\"default\":{\"title\":\"Confirmar acao\",\"message\":\"Deseja continuar?\",\"confirmText\":\"Confirmar\",\"cancelText\":\"Cancelar\"},\"specific\":{\"delete\":{\"title\":\"Excluir colaborador\",\"message\":\"Esta acao nao pode ser desfeita.\",\"confirmText\":\"Excluir\",\"cancelText\":\"Cancelar\"}}}},\"export\":{\"enabled\":true,\"formats\":[\"csv\",\"excel\"],\"general\":{\"includeHeaders\":true,\"respectFilters\":true,\"applyFormatting\":true,\"defaultFileName\":\"colaboradores\",\"includeColumns\":[\"id\",\"name\",\"email\",\"status\",\"hireDate\",\"salary\"]},\"excel\":{\"sheetName\":\"Colaboradores\",\"includeFormulas\":false,\"freezeHeaders\":true,\"autoFitColumns\":true},\"csv\":{\"delimiter\":\";\",\"escapeChar\":\"\\\"\",\"encoding\":\"utf-8\",\"includeBOM\":true}},\"messages\":{\"states\":{\"loading\":\"Carregando colaboradores...\",\"empty\":\"Nenhum colaborador encontrado.\",\"error\":\"Erro ao carregar dados.\",\"noResults\":\"Sem resultados para o filtro atual.\",\"loadingMore\":\"Carregando mais registros...\"},\"actions\":{\"confirmations\":{\"delete\":\"Excluir este colaborador?\",\"deleteMultiple\":\"Excluir os colaboradores selecionados?\",\"save\":\"Salvar alteracoes?\",\"cancel\":\"Cancelar edicao?\",\"export\":\"Exportar dados agora?\"},\"success\":{\"save\":\"Colaborador salvo com sucesso.\",\"delete\":\"Colaborador excluido.\",\"export\":\"Exportacao concluida.\"},\"errors\":{\"save\":\"Falha ao salvar.\",\"delete\":\"Falha ao excluir.\",\"export\":\"Falha ao exportar.\"}}},\"localization\":{\"locale\":\"pt-BR\",\"direction\":\"ltr\",\"dateTime\":{\"dateFormat\":\"dd/MM/yyyy\",\"timeFormat\":\"HH:mm\",\"dateTimeFormat\":\"dd/MM/yyyy HH:mm\",\"firstDayOfWeek\":1}},\"appearance\":{\"density\":\"comfortable\",\"borders\":{\"showRowBorders\":true,\"showColumnBorders\":false,\"showOuterBorder\":true,\"style\":\"solid\",\"width\":1,\"color\":\"#e0e0e0\"}}}}",
|
|
9720
10596
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9724,7 +10600,7 @@
|
|
|
9724
10600
|
"corpusVersion": "1.0.0"
|
|
9725
10601
|
},
|
|
9726
10602
|
{
|
|
9727
|
-
"chunkIndex":
|
|
10603
|
+
"chunkIndex": 52,
|
|
9728
10604
|
"chunkKind": "recipe",
|
|
9729
10605
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"form\",\"form\":{\"metadata\":{\"version\":\"2.0\",\"source\":\"local\",\"schemaId\":\"path:/api/employees#request\",\"schemaContext\":{\"path\":\"/api/employees\",\"operation\":\"POST\",\"schemaType\":\"request\",\"internal\":false,\"tenant\":\"default\",\"locale\":\"pt-BR\"}},\"api\":{\"saveEndpoint\":\"/api/employees\",\"loadEndpoint\":\"/api/employees/${id}\",\"saveMethod\":\"POST\",\"timeout\":15000,\"headers\":{\"X-Module\":\"HR\"},\"idField\":\"id\",\"beforeSave\":\"sanitizeEmployee\",\"afterLoad\":\"mapEmployee\"},\"behavior\":{\"confirmOnUnsavedChanges\":true,\"trackHistory\":true,\"focusFirstError\":true,\"scrollToErrors\":true,\"clearAfterSave\":false,\"reactiveValidation\":true,\"reactiveValidationDebounceMs\":200},\"messages\":{\"createRegistrySuccess\":\"Colaborador criado com sucesso.\",\"updateRegistrySuccess\":\"Colaborador atualizado com sucesso.\",\"createRegistryError\":\"Falha ao criar colaborador.\",\"updateRegistryError\":\"Falha ao atualizar colaborador.\",\"confirmations\":{\"submit\":\"Deseja salvar as alteracoes?\",\"cancel\":\"Descartar alteracoes?\",\"reset\":\"Limpar o formulario?\"},\"customActions\":{\"archive\":{\"confirmation\":\"Arquivar este colaborador?\"}},\"loading\":{\"submit\":\"Salvando...\",\"cancel\":\"Cancelando...\"}},\"hints\":{\"dataModes\":{\"create\":\"Preencha os dados para criar um novo colaborador.\",\"edit\":\"Atualize os dados e salve as alteracoes.\",\"view\":\"Visualize os dados do colaborador.\"},\"uiModes\":{\"presentation\":\"Modo apresentacao mostra somente leitura.\",\"readonly\":\"Modo leitura bloqueia edicao.\",\"disabled\":\"Campos desabilitados nao permitem interacao.\",\"visible\":\"Controle de visibilidade sem destruir controles.\"}},\"hooks\":{\"beforeSubmit\":[{\"id\":\"sanitize-employee\",\"priority\":100,\"args\":{\"trimStrings\":true}}],\"afterSubmit\":[{\"id\":\"notify-success\",\"args\":{\"messageKey\":\"employeeSaved\"}}],\"onError\":[{\"id\":\"notify-error\",\"args\":{\"messageKey\":\"employeeSaveError\"}}]},\"fieldMetadata\":[{\"name\":\"id\",\"label\":\"ID\",\"controlType\":\"numericTextBox\",\"dataType\":\"number\",\"hidden\":true,\"readOnly\":true,\"description\":\"Campo ID oculto, gerenciado pelo backend.\"},{\"name\":\"name\",\"label\":\"Nome completo\",\"controlType\":\"input\",\"dataType\":\"text\",\"placeholder\":\"Ex.: Ana Souza\",\"prefixIcon\":\"person\",\"validators\":{\"required\":true,\"minLength\":3}},{\"name\":\"email\",\"label\":\"Email\",\"controlType\":\"email\",\"dataType\":\"email\",\"placeholder\":\"nome@empresa.com\",\"validators\":{\"required\":true,\"email\":true}},{\"name\":\"phone\",\"label\":\"Telefone\",\"controlType\":\"phone\",\"placeholder\":\"(11) 99999-0000\",\"mask\":\"(99) 99999-9999\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\",\"options\":[{\"text\":\"Ativo\",\"value\":\"ACTIVE\"},{\"text\":\"Inativo\",\"value\":\"INACTIVE\"},{\"text\":\"Afastado\",\"value\":\"ON_LEAVE\"}],\"defaultValue\":\"ACTIVE\",\"materialDesign\":{\"appearance\":\"outline\"}},{\"name\":\"hireDate\",\"label\":\"Data de admissao\",\"controlType\":\"date\",\"dataType\":\"date\"},{\"name\":\"terminationDate\",\"label\":\"Data de desligamento\",\"controlType\":\"date\",\"conditionalDisplay\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"conditionalRequired\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]}},{\"name\":\"department\",\"label\":\"Departamento\",\"controlType\":\"select\",\"endpoint\":\"/api/departments\",\"valueField\":\"id\",\"displayField\":\"name\"},{\"name\":\"role\",\"label\":\"Cargo\",\"controlType\":\"select\",\"options\":[{\"text\":\"Analista\",\"value\":\"ANALYST\"},{\"text\":\"Coordenador\",\"value\":\"COORD\"},{\"text\":\"Gerente\",\"value\":\"MANAGER\"}]},{\"name\":\"managerId\",\"label\":\"Gestor\",\"controlType\":\"autoComplete\",\"endpoint\":\"/api/employees?role=manager\",\"valueField\":\"id\",\"displayField\":\"name\",\"filterField\":\"name\"},{\"name\":\"salary\",\"label\":\"Salario\",\"controlType\":\"currency\",\"dataType\":\"number\",\"format\":\"BRL|symbol|2\",\"validators\":{\"min\":0}},{\"name\":\"workMode\",\"label\":\"Regime\",\"controlType\":\"radio\",\"options\":[{\"text\":\"CLT\",\"value\":\"CLT\"},{\"text\":\"PJ\",\"value\":\"PJ\"},{\"text\":\"Estagio\",\"value\":\"INTERN\"}],\"defaultValue\":\"CLT\"},{\"name\":\"notes\",\"label\":\"Observacoes\",\"controlType\":\"textarea\",\"validators\":{\"maxLength\":500},\"hint\":\"Informacoes adicionais relevantes ao cadastro.\"},{\"name\":\"isActive\",\"label\":\"Ativo\",\"controlType\":\"toggle\",\"defaultValue\":true},{\"name\":\"avatar\",\"label\":\"Foto\",\"controlType\":\"upload\",\"accept\":\".png,.jpg,.jpeg\",\"multiple\":false,\"materialDesign\":{\"appearance\":\"outline\"}}],\"sections\":[{\"id\":\"basic\",\"title\":\"Dados basicos\",\"description\":\"Informacoes pessoais e status.\",\"icon\":\"person\",\"collapsible\":true,\"collapsed\":false,\"titleStyle\":\"titleMedium\",\"descriptionStyle\":\"bodyMedium\",\"rows\":[{\"id\":\"row-basic-1\",\"columns\":[{\"id\":\"col-basic-1\",\"fields\":[\"name\",\"email\"],\"span\":{\"md\":6,\"lg\":6},\"padding\":8},{\"id\":\"col-basic-2\",\"fields\":[\"status\",\"hireDate\"],\"span\":{\"md\":6,\"lg\":6}}]},{\"id\":\"row-basic-2\",\"columns\":[{\"id\":\"col-basic-3\",\"fields\":[\"phone\",\"managerId\"],\"span\":{\"md\":6,\"lg\":6}},{\"id\":\"col-basic-4\",\"fields\":[\"department\",\"role\"],\"span\":{\"md\":6,\"lg\":6}}]}]},{\"id\":\"employment\",\"title\":\"Contrato\",\"icon\":\"badge\",\"rows\":[{\"id\":\"row-employment-1\",\"columns\":[{\"id\":\"col-employment-1\",\"fields\":[\"salary\",\"workMode\"],\"span\":{\"md\":6,\"lg\":6}},{\"id\":\"col-employment-2\",\"fields\":[\"terminationDate\",\"notes\"],\"span\":{\"md\":6,\"lg\":6}}]}]},{\"id\":\"attachments\",\"title\":\"Arquivos\",\"collapsible\":true,\"collapsed\":true,\"rows\":[{\"id\":\"row-attachments-1\",\"columns\":[{\"id\":\"col-attachments-1\",\"fields\":[\"avatar\"],\"span\":{\"md\":12,\"lg\":12},\"align\":\"center\"}]}]}],\"actions\":{\"submit\":{\"visible\":true,\"label\":\"Salvar\",\"color\":\"primary\",\"variant\":\"raised\",\"type\":\"submit\",\"shortcut\":\"Ctrl+S\"},\"cancel\":{\"visible\":true,\"label\":\"Cancelar\",\"type\":\"button\"},\"reset\":{\"visible\":true,\"label\":\"Limpar\",\"type\":\"reset\"},\"custom\":[{\"id\":\"archive\",\"visible\":true,\"label\":\"Arquivar\",\"icon\":\"archive\",\"color\":\"warn\",\"variant\":\"stroked\",\"action\":\"archive\"}],\"position\":\"right\",\"orientation\":\"horizontal\",\"spacing\":\"normal\",\"sticky\":true,\"divider\":true,\"placement\":\"afterSections\",\"mobile\":{\"position\":\"center\",\"orientation\":\"vertical\",\"collapseToMenu\":true}},\"formRules\":[{\"id\":\"hide-salary-inactive\",\"name\":\"Ocultar salario para inativos\",\"targetType\":\"field\",\"targets\":[\"salary\"],\"effect\":{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"properties\":{\"visible\":false}}},{\"id\":\"require-termination-date\",\"name\":\"Exigir data de desligamento\",\"targetType\":\"field\",\"targets\":[\"terminationDate\"],\"effect\":{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"properties\":{\"required\":true,\"visible\":true}}}]}}",
|
|
9730
10606
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9734,7 +10610,7 @@
|
|
|
9734
10610
|
"corpusVersion": "1.0.0"
|
|
9735
10611
|
},
|
|
9736
10612
|
{
|
|
9737
|
-
"chunkIndex":
|
|
10613
|
+
"chunkIndex": 53,
|
|
9738
10614
|
"chunkKind": "recipe",
|
|
9739
10615
|
"content": "{\"componentId\":\"praxis-crud\",\"chunkSection\":\"i18n\",\"i18n\":{\"crudDialog\":{\"createTitle\":\"Novo colaborador\",\"editTitle\":\"Editar colaborador\",\"viewTitle\":\"Detalhes do colaborador\",\"deleteTitle\":\"Confirmar exclusao\",\"deleteConfirm\":\"Tem certeza que deseja excluir este colaborador?\"}}}",
|
|
9740
10616
|
"sourcePointer": "examples/ai-recipes/praxis-crud.json",
|
|
@@ -9744,7 +10620,7 @@
|
|
|
9744
10620
|
"corpusVersion": "1.0.0"
|
|
9745
10621
|
},
|
|
9746
10622
|
{
|
|
9747
|
-
"chunkIndex":
|
|
10623
|
+
"chunkIndex": 54,
|
|
9748
10624
|
"chunkKind": "recipe",
|
|
9749
10625
|
"content": "{\"_comment\":\"Variant focused on CRUD table configuration.\",\"templateMeta\":{\"variantId\":\"table\",\"variantOf\":\"praxis-crud\",\"registryKey\":\"praxis-crud\",\"tags\":[\"table\",\"crud\"],\"useWhen\":\"user asks to change table columns or behavior inside CRUD\",\"examplePrompts\":[\"adjust the columns shown in the crud table\",\"enable selection in the crud table\"]},\"resource\":{\"path\":\"/api/employees\",\"idField\":\"id\",\"endpointKey\":\"employees\"},\"table\":{\"meta\":{\"version\":\"2.0.0\",\"id\":\"employees-table\",\"name\":\"Colaboradores\",\"description\":\"Listagem de colaboradores ativos e inativos\",\"idField\":\"id\"},\"columns\":[{\"field\":\"id\",\"header\":\"ID\",\"type\":\"string\",\"width\":\"80px\",\"visible\":false},{\"field\":\"name\",\"header\":\"Nome\",\"type\":\"string\",\"sortable\":true,\"filterable\":true,\"resizable\":true,\"sticky\":\"start\"},{\"field\":\"email\",\"header\":\"Email\",\"type\":\"string\",\"sortable\":true,\"filterable\":true},{\"field\":\"status\",\"header\":\"Status\",\"type\":\"string\",\"sortable\":true,\"filterable\":true,\"valueMapping\":{\"ACTIVE\":\"Ativo\",\"INACTIVE\":\"Inativo\",\"ON_LEAVE\":\"Afastado\"},\"renderer\":{\"type\":\"badge\",\"badge\":{\"textField\":\"statusLabel\",\"color\":\"success\",\"variant\":\"filled\"}},\"conditionalRenderers\":[{\"condition\":{\"==\":[{\"var\":\"status\"},\"INACTIVE\"]},\"renderer\":{\"type\":\"badge\",\"badge\":{\"text\":\"Inativo\",\"color\":\"warn\",\"variant\":\"filled\"}},\"description\":\"Status inativo\",\"enabled\":true},{\"condition\":{\"==\":[{\"var\":\"status\"},\"ON_LEAVE\"]},\"renderer\":{\"type\":\"chip\",\"chip\":{\"text\":\"Afastado\",\"color\":\"accent\",\"variant\":\"outlined\"}},\"description\":\"Status afastado\",\"enabled\":true}]},{\"field\":\"hireDate\",\"header\":\"Admissao\",\"type\":\"date\",\"format\":\"dd/MM/yyyy\",\"sortable\":true,\"filterable\":true},{\"field\":\"salary\",\"header\":\"Salario\",\"type\":\"currency\",\"format\":\"BRL|symbol|2\",\"align\":\"right\",\"sortable\":true,\"filterable\":true}],\"toolbar\":{\"visible\":true,\"position\":\"top\",\"title\":\"Colaboradores\",\"subtitle\":\"Gerencie cadastro, status e remuneracao\",\"layout\":{\"alignment\":\"space-between\",\"showSeparator\":true},\"actions\":[{\"id\":\"create\",\"label\":\"Novo\",\"icon\":\"add\",\"type\":\"button\",\"color\":\"primary\",\"position\":\"end\",\"action\":\"create\"},{\"id\":\"export\",\"label\":\"Exportar\",\"icon\":\"download\",\"type\":\"menu\",\"position\":\"end\",\"action\":\"export\",\"children\":[{\"id\":\"export-csv\",\"label\":\"CSV\",\"icon\":\"table_view\",\"type\":\"button\",\"position\":\"end\",\"action\":\"exportCsv\"},{\"id\":\"export-excel\",\"label\":\"Excel\",\"icon\":\"grid_on\",\"type\":\"button\",\"position\":\"end\",\"action\":\"exportExcel\"}]}],\"filters\":{\"enabled\":true,\"showAdvancedButton\":true},\"settingsMenu\":{\"enabled\":true,\"options\":[{\"id\":\"density\",\"label\":\"Densidade\",\"type\":\"select\",\"options\":[\"compact\",\"comfortable\",\"spacious\"]}]}},\"behavior\":{\"pagination\":{\"enabled\":true,\"pageSize\":20,\"pageSizeOptions\":[10,20,50],\"showFirstLastButtons\":true,\"showPageNumbers\":true,\"showPageInfo\":true,\"position\":\"bottom\",\"style\":\"default\",\"strategy\":\"server\"},\"sorting\":{\"enabled\":true,\"defaultSort\":{\"column\":\"name\",\"direction\":\"asc\"},\"multiSort\":false,\"strategy\":\"server\",\"showSortIndicators\":true,\"indicatorPosition\":\"end\",\"allowClearSort\":true},\"filtering\":{\"enabled\":true,\"columnFilters\":{\"enabled\":true,\"defaultType\":\"text\",\"position\":\"header\"},\"advancedFilters\":{\"enabled\":true,\"queryBuilder\":true,\"savePresets\":true},\"strategy\":\"server\",\"debounceTime\":300},\"selection\":{\"enabled\":true,\"type\":\"multiple\",\"mode\":\"checkbox\",\"allowSelectAll\":true,\"checkboxPosition\":\"start\",\"persistSelection\":false,\"persistOnDataUpdate\":false},\"interaction\":{\"rowClick\":{\"enabled\":true,\"action\":\"view\"},\"rowDoubleClick\":{\"enabled\":true,\"action\":\"edit\"},\"hover\":{\"enabled\":true,\"highlightRow\":true,\"showActionsOnHover\":true},\"keyboard\":{\"enabled\":true}}},\"actions\":{\"row\":{\"enabled\":true,\"position\":\"end\",\"display\":\"icons\",\"trigger\":\"hover\",\"width\":\"140px\",\"actions\":[{\"id\":\"view\",\"label\":\"Ver\",\"icon\":\"visibility\",\"action\":\"view\"},{\"id\":\"edit\",\"label\":\"Editar\",\"icon\":\"edit\",\"action\":\"edit\"},{\"id\":\"delete\",\"label\":\"Excluir\",\"icon\":\"delete\",\"action\":\"delete\",\"requiresConfirmation\":true}],\"header\":{\"label\":\"Acoes\",\"align\":\"center\"}},\"bulk\":{\"enabled\":true,\"position\":\"toolbar\",\"actions\":[{\"id\":\"bulk-delete\",\"label\":\"Excluir selecionados\",\"icon\":\"delete\",\"action\":\"deleteSelected\",\"requiresConfirmation\":true,\"minSelections\":1}],\"floating\":{\"position\":\"bottom-right\",\"hideWhenEmpty\":true}},\"confirmations\":{\"default\":{\"title\":\"Confirmar acao\",\"message\":\"Deseja continuar?\",\"confirmText\":\"Confirmar\",\"cancelText\":\"Cancelar\"},\"specific\":{\"delete\":{\"title\":\"Excluir colaborador\",\"message\":\"Esta acao nao pode ser desfeita.\",\"confirmText\":\"Excluir\",\"cancelText\":\"Cancelar\"}}}},\"export\":{\"enabled\":true,\"formats\":[\"csv\",\"excel\"],\"general\":{\"includeHeaders\":true,\"respectFilters\":true,\"applyFormatting\":true,\"defaultFileName\":\"colaboradores\",\"includeColumns\":[\"id\",\"name\",\"email\",\"status\",\"hireDate\",\"salary\"]},\"excel\":{\"sheetName\":\"Colaboradores\",\"includeFormulas\":false,\"freezeHeaders\":true,\"autoFitColumns\":true},\"csv\":{\"delimiter\":\";\",\"escapeChar\":\"\\\"\",\"encoding\":\"utf-8\",\"includeBOM\":true}},\"messages\":{\"states\":{\"loading\":\"Carregando colaboradores...\",\"empty\":\"Nenhum colaborador encontrado.\",\"error\":\"Erro ao carregar dados.\",\"noResults\":\"Sem resultados para o filtro atual.\",\"loadingMore\":\"Carregando mais registros...\"},\"actions\":{\"confirmations\":{\"delete\":\"Excluir este colaborador?\",\"deleteMultiple\":\"Excluir os colaboradores selecionados?\",\"save\":\"Salvar alteracoes?\",\"cancel\":\"Cancelar edicao?\",\"export\":\"Exportar dados agora?\"},\"success\":{\"save\":\"Colaborador salvo com sucesso.\",\"delete\":\"Colaborador excluido.\",\"export\":\"Exportacao concluida.\"},\"errors\":{\"save\":\"Falha ao salvar.\",\"delete\":\"Falha ao excluir.\",\"export\":\"Falha ao exportar.\"}}},\"localization\":{\"locale\":\"pt-BR\",\"direction\":\"ltr\",\"dateTime\":{\"dateFormat\":\"dd/MM/yyyy\",\"timeFormat\":\"HH:mm\",\"dateTimeFormat\":\"dd/MM/yyyy HH:mm\",\"firstDayOfWeek\":1}},\"appearance\":{\"density\":\"comfortable\",\"borders\":{\"showRowBorders\":true,\"showColumnBorders\":false,\"showOuterBorder\":true,\"style\":\"solid\",\"width\":1,\"color\":\"#e0e0e0\"}}}}",
|
|
9750
10626
|
"sourcePointer": "examples/ai-recipes/praxis-crud.table.json",
|