@bagelink/vue 1.15.362 → 1.15.366
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/dist/core.css +1 -1
- package/dist/form-flow/schema-fields.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.mjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/form/inputs/ToggleInput.vue +7 -7
- package/src/form-flow/schema-fields.ts +6 -2
package/package.json
CHANGED
|
@@ -74,15 +74,15 @@ margin: 0 !important;
|
|
|
74
74
|
.bgl-toggle input {
|
|
75
75
|
appearance: none;
|
|
76
76
|
position: relative;
|
|
77
|
-
display: inline-block;
|
|
78
|
-
background: var(--bgl-input-bg);
|
|
79
|
-
height: calc(var(--bgl-input-height) / 2);
|
|
80
|
-
width: calc(var(--bgl-input-height) - 2px);
|
|
77
|
+
display: inline-block !important;
|
|
78
|
+
background: var(--bgl-input-bg) !important;
|
|
79
|
+
height: calc(var(--bgl-input-height) / 2) !important;
|
|
80
|
+
width: calc(var(--bgl-input-height) - 2px) !important;
|
|
81
81
|
vertical-align: middle;
|
|
82
|
-
border-radius: 2rem;
|
|
83
|
-
box-shadow: 0px 1px 3px #0003 inset;
|
|
82
|
+
border-radius: 2rem !important;
|
|
83
|
+
box-shadow: 0px 1px 3px #0003 inset !important;
|
|
84
84
|
transition: 0.25s linear all;
|
|
85
|
-
outline: 1px solid var(--bgl-border-color);
|
|
85
|
+
outline: 1px solid var(--bgl-border-color) !important;
|
|
86
86
|
|
|
87
87
|
}
|
|
88
88
|
.bgl-toggle input::before {
|
|
@@ -306,8 +306,12 @@ export function fieldsToSchema(fields: FormField[]): JSONSchemaObject {
|
|
|
306
306
|
prop.type = 'string'
|
|
307
307
|
break
|
|
308
308
|
case 'file':
|
|
309
|
-
|
|
310
|
-
|
|
309
|
+
if (field.fileMultiple === true) {
|
|
310
|
+
prop.type = 'array'
|
|
311
|
+
prop.items = { type: 'string' }
|
|
312
|
+
} else {
|
|
313
|
+
prop.type = 'string'
|
|
314
|
+
}
|
|
311
315
|
break
|
|
312
316
|
case 'number':
|
|
313
317
|
case 'range':
|