@fastkit/vui 0.18.11 → 0.18.12
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/vui.d.ts +162 -436
- package/dist/vui.mjs +4 -7
- package/dist/vui.mjs.map +1 -1
- package/package.json +10 -10
- package/src/components/VFormControl/VFormControl.tsx +4 -4
- package/src/components/VTextField/VTextField.tsx +1 -1
- package/src/components/VTextarea/VTextarea.tsx +1 -1
- package/src/composables/form-selector.tsx +1 -1
package/dist/vui.mjs
CHANGED
|
@@ -464,14 +464,14 @@ var VFormControl = defineComponent({
|
|
|
464
464
|
"v-form-control--focused": control.focused,
|
|
465
465
|
"v-form-control--dirty": control.dirty,
|
|
466
466
|
"v-form-control--pristine": control.pristine,
|
|
467
|
-
"v-form-control--disabled": control.
|
|
468
|
-
"v-form-control--readonly": control.
|
|
467
|
+
"v-form-control--disabled": control.isDisabled,
|
|
468
|
+
"v-form-control--readonly": control.isReadonly,
|
|
469
469
|
"v-form-control--touched": control.touched,
|
|
470
470
|
"v-form-control--untouched": control.untouched,
|
|
471
471
|
"v-form-control--invalid": control.invalid,
|
|
472
472
|
"v-form-control--valid": control.valid
|
|
473
|
-
}, colorProvider.className(props12.error ? "error" : control.invalid && !control.
|
|
474
|
-
const getRequiredChip = createRequiredChipRenderer(() => control.
|
|
473
|
+
}, colorProvider.className(props12.error ? "error" : control.invalid && !control.isReadonly ? "error" : "primary")]);
|
|
474
|
+
const getRequiredChip = createRequiredChipRenderer(() => control.isRequired, props12, vui);
|
|
475
475
|
const handleClick = (ev) => ctx.emit("clickLabel", ev, control);
|
|
476
476
|
return () => {
|
|
477
477
|
const label = control.renderLabel();
|
|
@@ -605,7 +605,6 @@ function defineFormSelectorComponent(opts) {
|
|
|
605
605
|
return () => {
|
|
606
606
|
return createVNode(VFormControl, {
|
|
607
607
|
"nodeControl": selectorControl,
|
|
608
|
-
"focused": selectorControl.focused,
|
|
609
608
|
"hiddenInfo": props13.hiddenInfo,
|
|
610
609
|
"class": classes.value,
|
|
611
610
|
"label": props13.label,
|
|
@@ -3097,7 +3096,6 @@ var VTextField = defineComponent({
|
|
|
3097
3096
|
return () => {
|
|
3098
3097
|
return createVNode(VFormControl, {
|
|
3099
3098
|
"nodeControl": inputControl,
|
|
3100
|
-
"focused": inputControl.focused,
|
|
3101
3099
|
"hiddenInfo": props12.hiddenInfo,
|
|
3102
3100
|
"class": classes.value,
|
|
3103
3101
|
"label": props12.label,
|
|
@@ -3226,7 +3224,6 @@ var VTextarea = defineComponent({
|
|
|
3226
3224
|
return () => {
|
|
3227
3225
|
return createVNode(VFormControl, {
|
|
3228
3226
|
"nodeControl": inputControl,
|
|
3229
|
-
"focused": inputControl.focused,
|
|
3230
3227
|
"class": ["v-textarea", control.classes.value],
|
|
3231
3228
|
"label": props12.label,
|
|
3232
3229
|
"hint": props12.hint,
|