@tmagic/form 1.2.0-beta.12 → 1.2.0-beta.13
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/tmagic-form.mjs +4 -2
- package/dist/tmagic-form.mjs.map +1 -1
- package/dist/tmagic-form.umd.js +4 -2
- package/dist/tmagic-form.umd.js.map +1 -1
- package/package.json +3 -3
- package/src/fields/Date.vue +1 -1
- package/src/fields/Time.vue +2 -0
- package/src/schema.ts +3 -0
- package/types/schema.d.ts +3 -0
package/dist/tmagic-form.umd.js
CHANGED
|
@@ -2141,7 +2141,7 @@
|
|
|
2141
2141
|
placeholder: __props.config.placeholder,
|
|
2142
2142
|
disabled: __props.disabled,
|
|
2143
2143
|
format: __props.config.format,
|
|
2144
|
-
"value-format": __props.config.
|
|
2144
|
+
"value-format": __props.config.valueFormat || "YYYY-MM-DD HH:mm:ss",
|
|
2145
2145
|
onChange: changeHandler
|
|
2146
2146
|
}, null, 8, ["modelValue", "size", "placeholder", "disabled", "format", "value-format"]);
|
|
2147
2147
|
};
|
|
@@ -3579,11 +3579,13 @@
|
|
|
3579
3579
|
return vue.openBlock(), vue.createBlock(vue.unref(design.TMagicTimePicker), {
|
|
3580
3580
|
modelValue: __props.model[__props.name],
|
|
3581
3581
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.model[__props.name] = $event),
|
|
3582
|
+
"value-format": __props.config.valueFormat || "HH:mm:ss",
|
|
3583
|
+
format: __props.config.format || "HH:mm:ss",
|
|
3582
3584
|
size: __props.size,
|
|
3583
3585
|
placeholder: __props.config.placeholder,
|
|
3584
3586
|
disabled: __props.disabled,
|
|
3585
3587
|
onChange: changeHandler
|
|
3586
|
-
}, null, 8, ["modelValue", "size", "placeholder", "disabled"]);
|
|
3588
|
+
}, null, 8, ["modelValue", "value-format", "format", "size", "placeholder", "disabled"]);
|
|
3587
3589
|
};
|
|
3588
3590
|
}
|
|
3589
3591
|
});
|