@htmlbricks/hb-input-array-objects 0.60.39 → 0.60.40

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/manifest.json CHANGED
@@ -69,7 +69,45 @@
69
69
  "type": "string"
70
70
  },
71
71
  "params": {
72
+ "additionalProperties": false,
72
73
  "description": "Other parameters that may be specific to a certain kind of form control.",
74
+ "properties": {
75
+ "addPropertyLabel": {
76
+ "type": "string"
77
+ },
78
+ "columns": {
79
+ "items": {
80
+ "properties": {
81
+ "label": {
82
+ "type": "string"
83
+ }
84
+ },
85
+ "type": "object"
86
+ },
87
+ "type": "array"
88
+ },
89
+ "schema": {
90
+ "items": {
91
+ "properties": {
92
+ "label": {
93
+ "type": "string"
94
+ },
95
+ "type": {
96
+ "type": "string"
97
+ }
98
+ },
99
+ "required": [
100
+ "type"
101
+ ],
102
+ "type": "object"
103
+ },
104
+ "type": "array"
105
+ }
106
+ },
107
+ "required": [
108
+ "schema",
109
+ "columns"
110
+ ],
73
111
  "type": "object"
74
112
  },
75
113
  "placeholder": {
@@ -233,5 +271,5 @@
233
271
  "size": {},
234
272
  "iifePath": "main.iife.js",
235
273
  "repoName": "@htmlbricks/hb-input-array-objects",
236
- "version": "0.60.39"
274
+ "version": "0.60.40"
237
275
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-array-objects",
3
- "version": "0.60.39",
3
+ "version": "0.60.40",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [
@@ -32,7 +32,45 @@
32
32
  "type": "string"
33
33
  },
34
34
  "params": {
35
+ "additionalProperties": false,
35
36
  "description": "Other parameters that may be specific to a certain kind of form control.",
37
+ "properties": {
38
+ "addPropertyLabel": {
39
+ "type": "string"
40
+ },
41
+ "columns": {
42
+ "items": {
43
+ "properties": {
44
+ "label": {
45
+ "type": "string"
46
+ }
47
+ },
48
+ "type": "object"
49
+ },
50
+ "type": "array"
51
+ },
52
+ "schema": {
53
+ "items": {
54
+ "properties": {
55
+ "label": {
56
+ "type": "string"
57
+ },
58
+ "type": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "required": [
63
+ "type"
64
+ ],
65
+ "type": "object"
66
+ },
67
+ "type": "array"
68
+ }
69
+ },
70
+ "required": [
71
+ "schema",
72
+ "columns"
73
+ ],
36
74
  "type": "object"
37
75
  },
38
76
  "placeholder": {
@@ -28,7 +28,11 @@ export type FormSchemaEntry = {
28
28
  /**
29
29
  * Other parameters that may be specific to a certain kind of form control.
30
30
  */
31
- params?: Record<string, any>;
31
+ params?: {
32
+ schema: (FormSchemaEntry & { type: string, label?: string })[]
33
+ columns: (FormSchemaEntry & { label?: string })[]
34
+ addPropertyLabel?: string
35
+ };
32
36
  };
33
37
 
34
38
  export type Component = {