@htmlbricks/hb-form 0.60.61 → 0.61.0
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 +29 -2
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +3 -0
- package/types/webcomponent.type.d.ts +3 -1
package/manifest.json
CHANGED
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
"hide_submit": {
|
|
111
111
|
"type": "boolean"
|
|
112
112
|
},
|
|
113
|
+
"i18nlang": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
113
116
|
"id": {
|
|
114
117
|
"type": "string"
|
|
115
118
|
},
|
|
@@ -276,6 +279,15 @@
|
|
|
276
279
|
},
|
|
277
280
|
"update": {
|
|
278
281
|
"action": "change"
|
|
282
|
+
},
|
|
283
|
+
"i18nlang": {
|
|
284
|
+
"control": {
|
|
285
|
+
"type": "select"
|
|
286
|
+
},
|
|
287
|
+
"options": [
|
|
288
|
+
"en",
|
|
289
|
+
"it"
|
|
290
|
+
]
|
|
279
291
|
}
|
|
280
292
|
},
|
|
281
293
|
"styleSetup": {
|
|
@@ -347,7 +359,16 @@
|
|
|
347
359
|
"description": "space alongside the default submit button"
|
|
348
360
|
}
|
|
349
361
|
],
|
|
350
|
-
"i18n": [
|
|
362
|
+
"i18n": [
|
|
363
|
+
{
|
|
364
|
+
"lang": "it",
|
|
365
|
+
"language": "italian"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"lang": "en",
|
|
369
|
+
"language": "english"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
351
372
|
"examples": [
|
|
352
373
|
{
|
|
353
374
|
"name": "BasicFormHost",
|
|
@@ -438,6 +459,12 @@
|
|
|
438
459
|
]
|
|
439
460
|
}
|
|
440
461
|
},
|
|
462
|
+
{
|
|
463
|
+
"type": "coords",
|
|
464
|
+
"id": "coords",
|
|
465
|
+
"label": "Coords",
|
|
466
|
+
"validationTip": "This field cannot be empty."
|
|
467
|
+
},
|
|
441
468
|
{
|
|
442
469
|
"type": "number",
|
|
443
470
|
"id": "age",
|
|
@@ -788,5 +815,5 @@
|
|
|
788
815
|
"size": {},
|
|
789
816
|
"iifePath": "main.iife.js",
|
|
790
817
|
"repoName": "@htmlbricks/hb-form",
|
|
791
|
-
"version": "0.
|
|
818
|
+
"version": "0.61.0"
|
|
792
819
|
}
|
package/package.json
CHANGED
|
@@ -72,7 +72,8 @@ export type IComponentName =
|
|
|
72
72
|
| "hb-input-range"
|
|
73
73
|
| "hb-input-array-objects"
|
|
74
74
|
| "hb-input-array-tags"
|
|
75
|
-
| "hb-input-captcha-google-v2"
|
|
75
|
+
| "hb-input-captcha-google-v2"
|
|
76
|
+
| "hb-input-coords";
|
|
76
77
|
|
|
77
78
|
export interface ISchemaOption {
|
|
78
79
|
labelIsHandledByComponent?: boolean;
|
|
@@ -111,6 +112,7 @@ export type Component = {
|
|
|
111
112
|
show_validation?: "yes" | "no";
|
|
112
113
|
|
|
113
114
|
hide_submit?: boolean;
|
|
115
|
+
i18nlang?: string;
|
|
114
116
|
};
|
|
115
117
|
|
|
116
118
|
export type Events = {
|