@htmlbricks/hb-dialogform 0.71.32 → 0.71.34
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 +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +29 -40
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +26 -25
- package/types/webcomponent_events.type.d.json +1 -13
package/manifest.json
CHANGED
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"type": "object"
|
|
43
43
|
},
|
|
44
44
|
"updateForm": {
|
|
45
|
-
"additionalProperties": false,
|
|
46
45
|
"description": "Emitted when the inner `hb-form` updates (same detail shape as `hb-form` `update`).",
|
|
47
46
|
"properties": {
|
|
48
47
|
"_id": {
|
|
@@ -50,22 +49,11 @@
|
|
|
50
49
|
},
|
|
51
50
|
"_valid": {
|
|
52
51
|
"type": "boolean"
|
|
53
|
-
},
|
|
54
|
-
"values": {
|
|
55
|
-
"additionalProperties": {
|
|
56
|
-
"type": [
|
|
57
|
-
"string",
|
|
58
|
-
"number",
|
|
59
|
-
"boolean"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"type": "object"
|
|
63
52
|
}
|
|
64
53
|
},
|
|
65
54
|
"required": [
|
|
66
|
-
"_valid",
|
|
67
55
|
"_id",
|
|
68
|
-
"
|
|
56
|
+
"_valid"
|
|
69
57
|
],
|
|
70
58
|
"type": "object"
|
|
71
59
|
}
|
|
@@ -142,43 +130,48 @@
|
|
|
142
130
|
},
|
|
143
131
|
"type": "array"
|
|
144
132
|
},
|
|
133
|
+
"FormSchemaDependency": {
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"properties": {
|
|
136
|
+
"id": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"values": {
|
|
140
|
+
"items": {
|
|
141
|
+
"type": [
|
|
142
|
+
"string",
|
|
143
|
+
"number",
|
|
144
|
+
"boolean"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"type": "array"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": [
|
|
151
|
+
"id"
|
|
152
|
+
],
|
|
153
|
+
"type": "object"
|
|
154
|
+
},
|
|
145
155
|
"FormSchemaEntry": {
|
|
146
156
|
"additionalProperties": false,
|
|
147
157
|
"properties": {
|
|
148
158
|
"dependencies": {
|
|
149
|
-
"description": "This form control will show only if these dependencies are satisfied.",
|
|
150
159
|
"items": {
|
|
151
|
-
"
|
|
152
|
-
"properties": {
|
|
153
|
-
"id": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"values": {
|
|
157
|
-
"items": {},
|
|
158
|
-
"type": "array"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
"required": [
|
|
162
|
-
"id"
|
|
163
|
-
],
|
|
164
|
-
"type": "object"
|
|
160
|
+
"$ref": "#/definitions/FormSchemaDependency"
|
|
165
161
|
},
|
|
166
162
|
"type": "array"
|
|
167
163
|
},
|
|
168
164
|
"disabled": {
|
|
169
|
-
"description": "When true, the native control is disabled and non-interactive.",
|
|
170
165
|
"type": "boolean"
|
|
171
166
|
},
|
|
172
167
|
"id": {
|
|
173
|
-
"description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
|
|
174
168
|
"type": "string"
|
|
175
169
|
},
|
|
176
170
|
"label": {
|
|
177
|
-
"description": "The descriptive label that will show alongside the form control.",
|
|
178
171
|
"type": "string"
|
|
179
172
|
},
|
|
180
173
|
"params": {
|
|
181
|
-
"
|
|
174
|
+
"additionalProperties": {},
|
|
182
175
|
"type": "object"
|
|
183
176
|
},
|
|
184
177
|
"placeholder": {
|
|
@@ -188,23 +181,19 @@
|
|
|
188
181
|
"type": "boolean"
|
|
189
182
|
},
|
|
190
183
|
"required": {
|
|
191
|
-
"description": "This doesn't matter if the dependencies requirements aren't met.",
|
|
192
184
|
"type": "boolean"
|
|
193
185
|
},
|
|
194
186
|
"type": {
|
|
195
|
-
"description": "
|
|
187
|
+
"description": "Discriminator for `hb-form` rows (`row`, `text`, `number`, …). May be omitted on a standalone `schemaentry` when implied by the host tag.",
|
|
196
188
|
"type": "string"
|
|
197
189
|
},
|
|
198
190
|
"validationRegex": {
|
|
199
191
|
"type": "string"
|
|
200
192
|
},
|
|
201
193
|
"validationTip": {
|
|
202
|
-
"description": "Shows if value is not valid.",
|
|
203
194
|
"type": "string"
|
|
204
195
|
},
|
|
205
|
-
"value": {
|
|
206
|
-
"description": "Optional default value."
|
|
207
|
-
}
|
|
196
|
+
"value": {}
|
|
208
197
|
},
|
|
209
198
|
"required": [
|
|
210
199
|
"id",
|
|
@@ -484,7 +473,7 @@
|
|
|
484
473
|
}
|
|
485
474
|
}
|
|
486
475
|
],
|
|
487
|
-
"iifeIntegrity": "sha384-
|
|
476
|
+
"iifeIntegrity": "sha384-7xfzL8MjA3nB6Sm4x7cPmanACs+4/6XB5PnFQmV7TIhrFCds2r/4vkaR6o4AURuS",
|
|
488
477
|
"dependencies": [
|
|
489
478
|
{
|
|
490
479
|
"name": "hb-dialog",
|
|
@@ -628,5 +617,5 @@
|
|
|
628
617
|
"size": {},
|
|
629
618
|
"iifePath": "main.iife.js",
|
|
630
619
|
"repoName": "@htmlbricks/hb-dialogform",
|
|
631
|
-
"version": "0.71.
|
|
620
|
+
"version": "0.71.34"
|
|
632
621
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-dialogform",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.34",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Bulma-based modal workflow: embeds `hb-form` with the same `schema` contract; live `updateForm` events mirror form validity and values, and the confirm button dispatches `modalFormConfirm` with the last valid payload or `modalFormCancel` when dismissed or invalid. Composes `hb-dialog` (Bulma modal, backdrop/keyboard, `show`) and re-dispatches `modalShow`. Prop `dialogclasses` exists on the type but is not wired to the dialog markup yet.",
|
|
6
6
|
"licenses": [
|
|
@@ -60,43 +60,48 @@
|
|
|
60
60
|
},
|
|
61
61
|
"type": "array"
|
|
62
62
|
},
|
|
63
|
+
"FormSchemaDependency": {
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"properties": {
|
|
66
|
+
"id": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"values": {
|
|
70
|
+
"items": {
|
|
71
|
+
"type": [
|
|
72
|
+
"string",
|
|
73
|
+
"number",
|
|
74
|
+
"boolean"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"type": "array"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": [
|
|
81
|
+
"id"
|
|
82
|
+
],
|
|
83
|
+
"type": "object"
|
|
84
|
+
},
|
|
63
85
|
"FormSchemaEntry": {
|
|
64
86
|
"additionalProperties": false,
|
|
65
87
|
"properties": {
|
|
66
88
|
"dependencies": {
|
|
67
|
-
"description": "This form control will show only if these dependencies are satisfied.",
|
|
68
89
|
"items": {
|
|
69
|
-
"
|
|
70
|
-
"properties": {
|
|
71
|
-
"id": {
|
|
72
|
-
"type": "string"
|
|
73
|
-
},
|
|
74
|
-
"values": {
|
|
75
|
-
"items": {},
|
|
76
|
-
"type": "array"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"required": [
|
|
80
|
-
"id"
|
|
81
|
-
],
|
|
82
|
-
"type": "object"
|
|
90
|
+
"$ref": "#/definitions/FormSchemaDependency"
|
|
83
91
|
},
|
|
84
92
|
"type": "array"
|
|
85
93
|
},
|
|
86
94
|
"disabled": {
|
|
87
|
-
"description": "When true, the native control is disabled and non-interactive.",
|
|
88
95
|
"type": "boolean"
|
|
89
96
|
},
|
|
90
97
|
"id": {
|
|
91
|
-
"description": "This will be both the key of the object when submitting the form's data, and also the id in the DOM.",
|
|
92
98
|
"type": "string"
|
|
93
99
|
},
|
|
94
100
|
"label": {
|
|
95
|
-
"description": "The descriptive label that will show alongside the form control.",
|
|
96
101
|
"type": "string"
|
|
97
102
|
},
|
|
98
103
|
"params": {
|
|
99
|
-
"
|
|
104
|
+
"additionalProperties": {},
|
|
100
105
|
"type": "object"
|
|
101
106
|
},
|
|
102
107
|
"placeholder": {
|
|
@@ -106,23 +111,19 @@
|
|
|
106
111
|
"type": "boolean"
|
|
107
112
|
},
|
|
108
113
|
"required": {
|
|
109
|
-
"description": "This doesn't matter if the dependencies requirements aren't met.",
|
|
110
114
|
"type": "boolean"
|
|
111
115
|
},
|
|
112
116
|
"type": {
|
|
113
|
-
"description": "
|
|
117
|
+
"description": "Discriminator for `hb-form` rows (`row`, `text`, `number`, …). May be omitted on a standalone `schemaentry` when implied by the host tag.",
|
|
114
118
|
"type": "string"
|
|
115
119
|
},
|
|
116
120
|
"validationRegex": {
|
|
117
121
|
"type": "string"
|
|
118
122
|
},
|
|
119
123
|
"validationTip": {
|
|
120
|
-
"description": "Shows if value is not valid.",
|
|
121
124
|
"type": "string"
|
|
122
125
|
},
|
|
123
|
-
"value": {
|
|
124
|
-
"description": "Optional default value."
|
|
125
|
-
}
|
|
126
|
+
"value": {}
|
|
126
127
|
},
|
|
127
128
|
"required": [
|
|
128
129
|
"id",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"type": "object"
|
|
41
41
|
},
|
|
42
42
|
"updateForm": {
|
|
43
|
-
"additionalProperties": false,
|
|
44
43
|
"description": "Emitted when the inner `hb-form` updates (same detail shape as `hb-form` `update`).",
|
|
45
44
|
"properties": {
|
|
46
45
|
"_id": {
|
|
@@ -48,22 +47,11 @@
|
|
|
48
47
|
},
|
|
49
48
|
"_valid": {
|
|
50
49
|
"type": "boolean"
|
|
51
|
-
},
|
|
52
|
-
"values": {
|
|
53
|
-
"additionalProperties": {
|
|
54
|
-
"type": [
|
|
55
|
-
"string",
|
|
56
|
-
"number",
|
|
57
|
-
"boolean"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
"type": "object"
|
|
61
50
|
}
|
|
62
51
|
},
|
|
63
52
|
"required": [
|
|
64
|
-
"_valid",
|
|
65
53
|
"_id",
|
|
66
|
-
"
|
|
54
|
+
"_valid"
|
|
67
55
|
],
|
|
68
56
|
"type": "object"
|
|
69
57
|
}
|