@htmlbricks/hb-input-array-objects 0.61.20 → 0.61.22
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/main.iife.js +5 -5
- package/main.iife.js.map +1 -1
- package/manifest.json +65 -10
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +15 -9
- package/types/webcomponent.type.d.ts +6 -4
package/manifest.json
CHANGED
|
@@ -104,10 +104,6 @@
|
|
|
104
104
|
"type": "array"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
|
-
"required": [
|
|
108
|
-
"schema",
|
|
109
|
-
"columns"
|
|
110
|
-
],
|
|
111
107
|
"type": "object"
|
|
112
108
|
},
|
|
113
109
|
"placeholder": {
|
|
@@ -120,6 +116,9 @@
|
|
|
120
116
|
"description": "This doesn't matter if the dependencies requirements aren't met.",
|
|
121
117
|
"type": "boolean"
|
|
122
118
|
},
|
|
119
|
+
"type": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
123
122
|
"validationRegex": {
|
|
124
123
|
"type": "string"
|
|
125
124
|
},
|
|
@@ -129,11 +128,18 @@
|
|
|
129
128
|
},
|
|
130
129
|
"value": {
|
|
131
130
|
"description": "Optional default value.",
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
131
|
+
"items": {
|
|
132
|
+
"properties": {
|
|
133
|
+
"_objId": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"_objId"
|
|
139
|
+
],
|
|
140
|
+
"type": "object"
|
|
141
|
+
},
|
|
142
|
+
"type": "array"
|
|
137
143
|
}
|
|
138
144
|
},
|
|
139
145
|
"required": [
|
|
@@ -251,6 +257,55 @@
|
|
|
251
257
|
}
|
|
252
258
|
}
|
|
253
259
|
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "withdata",
|
|
263
|
+
"data": {
|
|
264
|
+
"schemaentry": {
|
|
265
|
+
"placeholder": "Insert your last name here...",
|
|
266
|
+
"id": "lastName",
|
|
267
|
+
"validationTip": "This field cannot be empty.",
|
|
268
|
+
"params": {
|
|
269
|
+
"schema": [
|
|
270
|
+
{
|
|
271
|
+
"id": "name-row",
|
|
272
|
+
"type": "row",
|
|
273
|
+
"params": {
|
|
274
|
+
"columns": [
|
|
275
|
+
{
|
|
276
|
+
"type": "text",
|
|
277
|
+
"placeholder": "Insert your first name here...",
|
|
278
|
+
"id": "firstNamee",
|
|
279
|
+
"required": true,
|
|
280
|
+
"label": "First Namee",
|
|
281
|
+
"validationTip": "This field cannot be empty."
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"type": "text",
|
|
285
|
+
"placeholder": "Insert your last name here...",
|
|
286
|
+
"id": "lastName",
|
|
287
|
+
"label": "Last Nam3e",
|
|
288
|
+
"validationTip": "This field cannot be empty."
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"value": [
|
|
296
|
+
{
|
|
297
|
+
"firstNamee": "Dario",
|
|
298
|
+
"lastName": "Rossi",
|
|
299
|
+
"_objId": "testo1"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"firstNamee": "Mario",
|
|
303
|
+
"lastName": "Bianchi",
|
|
304
|
+
"_objId": "testo2"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
}
|
|
254
309
|
}
|
|
255
310
|
],
|
|
256
311
|
"screenshots": [],
|
|
@@ -271,5 +326,5 @@
|
|
|
271
326
|
"size": {},
|
|
272
327
|
"iifePath": "main.iife.js",
|
|
273
328
|
"repoName": "@htmlbricks/hb-input-array-objects",
|
|
274
|
-
"version": "0.61.
|
|
329
|
+
"version": "0.61.22"
|
|
275
330
|
}
|
package/package.json
CHANGED
|
@@ -67,10 +67,6 @@
|
|
|
67
67
|
"type": "array"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"required": [
|
|
71
|
-
"schema",
|
|
72
|
-
"columns"
|
|
73
|
-
],
|
|
74
70
|
"type": "object"
|
|
75
71
|
},
|
|
76
72
|
"placeholder": {
|
|
@@ -83,6 +79,9 @@
|
|
|
83
79
|
"description": "This doesn't matter if the dependencies requirements aren't met.",
|
|
84
80
|
"type": "boolean"
|
|
85
81
|
},
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
86
85
|
"validationRegex": {
|
|
87
86
|
"type": "string"
|
|
88
87
|
},
|
|
@@ -92,11 +91,18 @@
|
|
|
92
91
|
},
|
|
93
92
|
"value": {
|
|
94
93
|
"description": "Optional default value.",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
"items": {
|
|
95
|
+
"properties": {
|
|
96
|
+
"_objId": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": [
|
|
101
|
+
"_objId"
|
|
102
|
+
],
|
|
103
|
+
"type": "object"
|
|
104
|
+
},
|
|
105
|
+
"type": "array"
|
|
100
106
|
}
|
|
101
107
|
},
|
|
102
108
|
"required": [
|
|
@@ -8,7 +8,7 @@ export type FormSchemaEntry = {
|
|
|
8
8
|
/**
|
|
9
9
|
* Optional default value.
|
|
10
10
|
*/
|
|
11
|
-
value?: string
|
|
11
|
+
value?: { [key: string]: any; _objId: string }[];
|
|
12
12
|
|
|
13
13
|
readonly?: boolean;
|
|
14
14
|
|
|
@@ -25,13 +25,15 @@ export type FormSchemaEntry = {
|
|
|
25
25
|
|
|
26
26
|
placeholder?: string;
|
|
27
27
|
|
|
28
|
+
type?: string;
|
|
29
|
+
|
|
28
30
|
/**
|
|
29
31
|
* Other parameters that may be specific to a certain kind of form control.
|
|
30
32
|
*/
|
|
31
33
|
params?: {
|
|
32
|
-
schema
|
|
33
|
-
columns
|
|
34
|
-
addPropertyLabel?: string
|
|
34
|
+
schema?: Array<FormSchemaEntry & { type: string; label?: string }>;
|
|
35
|
+
columns?: (FormSchemaEntry & { label?: string })[];
|
|
36
|
+
addPropertyLabel?: string;
|
|
35
37
|
};
|
|
36
38
|
};
|
|
37
39
|
|