@ng-forge/dynamic-form-mcp 0.8.0-next.5 → 0.9.0-next.1
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/bin/ng-forge-mcp.js
CHANGED
|
@@ -49,6 +49,12 @@ var FIELD_TYPES = [
|
|
|
49
49
|
description: "Number of visible text lines",
|
|
50
50
|
required: false,
|
|
51
51
|
default: 3
|
|
52
|
+
},
|
|
53
|
+
cols: {
|
|
54
|
+
name: "cols",
|
|
55
|
+
type: "number",
|
|
56
|
+
description: "Number of visible columns",
|
|
57
|
+
required: false
|
|
52
58
|
}
|
|
53
59
|
},
|
|
54
60
|
validationSupported: true,
|
|
@@ -59,6 +65,7 @@ var FIELD_TYPES = [
|
|
|
59
65
|
type: 'textarea',
|
|
60
66
|
label: 'Description',
|
|
61
67
|
placeholder: 'Enter description...',
|
|
68
|
+
maxLength: 500,
|
|
62
69
|
props: { rows: 5 }
|
|
63
70
|
}`,
|
|
64
71
|
minimalExample: `{ key: 'bio', type: 'textarea', label: 'Bio' }`
|
|
@@ -1106,30 +1113,12 @@ var UI_ADAPTERS = [
|
|
|
1106
1113
|
description: "Hint text below the field",
|
|
1107
1114
|
required: false
|
|
1108
1115
|
},
|
|
1109
|
-
rows: {
|
|
1110
|
-
name: "rows",
|
|
1111
|
-
type: "number",
|
|
1112
|
-
description: "Visible row count",
|
|
1113
|
-
required: false
|
|
1114
|
-
},
|
|
1115
|
-
cols: {
|
|
1116
|
-
name: "cols",
|
|
1117
|
-
type: "number",
|
|
1118
|
-
description: "Visible column count",
|
|
1119
|
-
required: false
|
|
1120
|
-
},
|
|
1121
1116
|
resize: {
|
|
1122
1117
|
name: "resize",
|
|
1123
1118
|
type: "'none' | 'both' | 'horizontal' | 'vertical'",
|
|
1124
1119
|
description: "Resize handle behavior",
|
|
1125
1120
|
required: false,
|
|
1126
1121
|
default: "vertical"
|
|
1127
|
-
},
|
|
1128
|
-
maxLength: {
|
|
1129
|
-
name: "maxLength",
|
|
1130
|
-
type: "number",
|
|
1131
|
-
description: "Maximum character length",
|
|
1132
|
-
required: false
|
|
1133
1122
|
}
|
|
1134
1123
|
}
|
|
1135
1124
|
}
|
|
@@ -5340,7 +5329,6 @@ var PrimeDatepickerPropsSchema = PrimeCommonPropsSchema.extend({
|
|
|
5340
5329
|
var PrimeTextareaPropsSchema = PrimeCommonPropsSchema.extend({
|
|
5341
5330
|
rows: z47.number().positive().optional(),
|
|
5342
5331
|
autoResize: z47.boolean().optional(),
|
|
5343
|
-
maxlength: z47.number().positive().optional(),
|
|
5344
5332
|
placeholder: DynamicTextSchema.optional()
|
|
5345
5333
|
});
|
|
5346
5334
|
var PrimeSliderPropsSchema = PrimeCommonPropsSchema.extend({
|
|
@@ -5525,9 +5513,8 @@ var IonicInputPropsSchema = z51.object({
|
|
|
5525
5513
|
hint: DynamicTextSchema.optional(),
|
|
5526
5514
|
errorText: DynamicTextSchema.optional(),
|
|
5527
5515
|
counter: z51.boolean().optional(),
|
|
5528
|
-
maxlength: z51.number().positive().optional(),
|
|
5529
5516
|
clearInput: z51.boolean().optional(),
|
|
5530
|
-
type: z51.enum(["text", "email", "password", "number", "tel", "url"]).optional(),
|
|
5517
|
+
type: z51.enum(["text", "email", "password", "number", "tel", "url", "search"]).optional(),
|
|
5531
5518
|
placeholder: DynamicTextSchema.optional()
|
|
5532
5519
|
});
|
|
5533
5520
|
var IonicCheckboxPropsSchema = z51.object({
|
|
@@ -5592,7 +5579,6 @@ var IonicSelectPropsSchema = z51.object({
|
|
|
5592
5579
|
var IonicTextareaPropsSchema = z51.object({
|
|
5593
5580
|
rows: z51.number().positive().optional(),
|
|
5594
5581
|
autoGrow: z51.boolean().optional(),
|
|
5595
|
-
maxlength: z51.number().positive().optional(),
|
|
5596
5582
|
counter: z51.boolean().optional(),
|
|
5597
5583
|
fill: z51.enum(["solid", "outline"]).optional(),
|
|
5598
5584
|
shape: z51.literal("round").optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-forge/dynamic-form-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0-next.1",
|
|
4
4
|
"description": "MCP server for ng-forge dynamic forms - AI-assisted form schema generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"zod": "^3.25.76"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@ng-forge/dynamic-forms": "^0.
|
|
55
|
-
"@ng-forge/dynamic-forms-bootstrap": "^0.
|
|
56
|
-
"@ng-forge/dynamic-forms-ionic": "^0.
|
|
57
|
-
"@ng-forge/dynamic-forms-material": "^0.
|
|
58
|
-
"@ng-forge/dynamic-forms-primeng": "^0.
|
|
54
|
+
"@ng-forge/dynamic-forms": "^0.9.0-next.1",
|
|
55
|
+
"@ng-forge/dynamic-forms-bootstrap": "^0.9.0-next.1",
|
|
56
|
+
"@ng-forge/dynamic-forms-ionic": "^0.9.0-next.1",
|
|
57
|
+
"@ng-forge/dynamic-forms-material": "^0.9.0-next.1",
|
|
58
|
+
"@ng-forge/dynamic-forms-primeng": "^0.9.0-next.1",
|
|
59
59
|
"tsx": "^4.19.0"
|
|
60
60
|
}
|
|
61
61
|
}
|
package/src/index.js
CHANGED
|
@@ -47,6 +47,12 @@ var FIELD_TYPES = [
|
|
|
47
47
|
description: "Number of visible text lines",
|
|
48
48
|
required: false,
|
|
49
49
|
default: 3
|
|
50
|
+
},
|
|
51
|
+
cols: {
|
|
52
|
+
name: "cols",
|
|
53
|
+
type: "number",
|
|
54
|
+
description: "Number of visible columns",
|
|
55
|
+
required: false
|
|
50
56
|
}
|
|
51
57
|
},
|
|
52
58
|
validationSupported: true,
|
|
@@ -57,6 +63,7 @@ var FIELD_TYPES = [
|
|
|
57
63
|
type: 'textarea',
|
|
58
64
|
label: 'Description',
|
|
59
65
|
placeholder: 'Enter description...',
|
|
66
|
+
maxLength: 500,
|
|
60
67
|
props: { rows: 5 }
|
|
61
68
|
}`,
|
|
62
69
|
minimalExample: `{ key: 'bio', type: 'textarea', label: 'Bio' }`
|
|
@@ -1104,30 +1111,12 @@ var UI_ADAPTERS = [
|
|
|
1104
1111
|
description: "Hint text below the field",
|
|
1105
1112
|
required: false
|
|
1106
1113
|
},
|
|
1107
|
-
rows: {
|
|
1108
|
-
name: "rows",
|
|
1109
|
-
type: "number",
|
|
1110
|
-
description: "Visible row count",
|
|
1111
|
-
required: false
|
|
1112
|
-
},
|
|
1113
|
-
cols: {
|
|
1114
|
-
name: "cols",
|
|
1115
|
-
type: "number",
|
|
1116
|
-
description: "Visible column count",
|
|
1117
|
-
required: false
|
|
1118
|
-
},
|
|
1119
1114
|
resize: {
|
|
1120
1115
|
name: "resize",
|
|
1121
1116
|
type: "'none' | 'both' | 'horizontal' | 'vertical'",
|
|
1122
1117
|
description: "Resize handle behavior",
|
|
1123
1118
|
required: false,
|
|
1124
1119
|
default: "vertical"
|
|
1125
|
-
},
|
|
1126
|
-
maxLength: {
|
|
1127
|
-
name: "maxLength",
|
|
1128
|
-
type: "number",
|
|
1129
|
-
description: "Maximum character length",
|
|
1130
|
-
required: false
|
|
1131
1120
|
}
|
|
1132
1121
|
}
|
|
1133
1122
|
}
|
|
@@ -5345,7 +5334,6 @@ var PrimeDatepickerPropsSchema = PrimeCommonPropsSchema.extend({
|
|
|
5345
5334
|
var PrimeTextareaPropsSchema = PrimeCommonPropsSchema.extend({
|
|
5346
5335
|
rows: z47.number().positive().optional(),
|
|
5347
5336
|
autoResize: z47.boolean().optional(),
|
|
5348
|
-
maxlength: z47.number().positive().optional(),
|
|
5349
5337
|
placeholder: DynamicTextSchema.optional()
|
|
5350
5338
|
});
|
|
5351
5339
|
var PrimeSliderPropsSchema = PrimeCommonPropsSchema.extend({
|
|
@@ -5530,9 +5518,8 @@ var IonicInputPropsSchema = z51.object({
|
|
|
5530
5518
|
hint: DynamicTextSchema.optional(),
|
|
5531
5519
|
errorText: DynamicTextSchema.optional(),
|
|
5532
5520
|
counter: z51.boolean().optional(),
|
|
5533
|
-
maxlength: z51.number().positive().optional(),
|
|
5534
5521
|
clearInput: z51.boolean().optional(),
|
|
5535
|
-
type: z51.enum(["text", "email", "password", "number", "tel", "url"]).optional(),
|
|
5522
|
+
type: z51.enum(["text", "email", "password", "number", "tel", "url", "search"]).optional(),
|
|
5536
5523
|
placeholder: DynamicTextSchema.optional()
|
|
5537
5524
|
});
|
|
5538
5525
|
var IonicCheckboxPropsSchema = z51.object({
|
|
@@ -5597,7 +5584,6 @@ var IonicSelectPropsSchema = z51.object({
|
|
|
5597
5584
|
var IonicTextareaPropsSchema = z51.object({
|
|
5598
5585
|
rows: z51.number().positive().optional(),
|
|
5599
5586
|
autoGrow: z51.boolean().optional(),
|
|
5600
|
-
maxlength: z51.number().positive().optional(),
|
|
5601
5587
|
counter: z51.boolean().optional(),
|
|
5602
5588
|
fill: z51.enum(["solid", "outline"]).optional(),
|
|
5603
5589
|
shape: z51.literal("round").optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-types.d.ts","sourceRoot":"","sources":["../../../../../packages/dynamic-form-mcp/src/registry/field-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"field-types.d.ts","sourceRoot":"","sources":["../../../../../packages/dynamic-form-mcp/src/registry/field-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,aAAa,EA6qBtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-adapters.d.ts","sourceRoot":"","sources":["../../../../../packages/dynamic-form-mcp/src/registry/ui-adapters.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"ui-adapters.d.ts","sourceRoot":"","sources":["../../../../../packages/dynamic-form-mcp/src/registry/ui-adapters.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,aAAa,EA0VtC,CAAC"}
|