@sandlada/vue-mdc
Version:

77 lines (76 loc) • 1.13 kB
JavaScript
/**
* @license
* Copyright 2025 Sandlada & Kai Orion
* SPDX-License-Identifier: MIT
*/
const FieldAppearance = {
Filled: "filled",
Outlined: "outlined"
};
const props = {
disabled: {
type: Boolean,
default: false
},
error: {
type: Boolean,
default: false
},
defaultFocused: {
type: Boolean,
default: false
},
label: {
type: String,
default: ""
},
noAsterisk: {
type: Boolean,
default: false
},
defaultPopulated: {
type: Boolean,
default: false
},
required: {
type: Boolean,
default: false
},
resizable: {
type: Boolean,
default: false
},
supportingText: {
type: String,
default: ""
},
errorText: {
type: String,
default: ""
},
count: {
type: Number,
default: -1
},
max: {
type: Number,
default: -1
},
hasStart: {
type: Boolean,
default: false
},
hasEnd: {
type: Boolean,
default: false
},
appearance: {
type: String,
default: FieldAppearance.Filled
}
};
export {
FieldAppearance,
props
};
//# sourceMappingURL=field.definition.js.map