2021-05-12 09:35:29 +00:00
|
|
|
const StepsProps = [
|
|
|
|
{
|
|
|
|
name: "id",
|
|
|
|
type: "string",
|
|
|
|
default: "null",
|
|
|
|
description: "Unique identifier of the element."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "model",
|
|
|
|
type: "array",
|
|
|
|
default: "null",
|
|
|
|
description: "An array of menuitems."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "readonly",
|
|
|
|
type: "boolean",
|
|
|
|
default: "true",
|
|
|
|
description: "Whether the items are clickable or not."
|
2021-08-27 13:47:45 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "exact",
|
|
|
|
type: "boolean",
|
|
|
|
default: "true",
|
|
|
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
2021-05-12 09:35:29 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2021-05-17 11:58:53 +00:00
|
|
|
const StepsSlots = [
|
|
|
|
{
|
|
|
|
name: "item",
|
|
|
|
description: "Template of a menuitem."
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2021-05-12 09:35:29 +00:00
|
|
|
module.exports = {
|
|
|
|
steps: {
|
|
|
|
name: "steps",
|
|
|
|
description: "Steps components is an indicator for the steps in a wizard workflow.",
|
2021-05-17 11:58:53 +00:00
|
|
|
props: StepsProps,
|
|
|
|
slots: StepsSlots
|
2021-05-12 09:35:29 +00:00
|
|
|
}
|
|
|
|
};
|