mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Lint changes
This commit is contained in:
parent
eb2de5460c
commit
4d3a071e66
291 changed files with 28450 additions and 26621 deletions
|
@ -1,90 +1,90 @@
|
|||
const OrderListProps = [
|
||||
{
|
||||
name: "modelValue",
|
||||
type: "array",
|
||||
default: "null",
|
||||
description: "Value of the component."
|
||||
name: 'modelValue',
|
||||
type: 'array',
|
||||
default: 'null',
|
||||
description: 'Value of the component.'
|
||||
},
|
||||
{
|
||||
name: "selection",
|
||||
type: "any",
|
||||
default: "null",
|
||||
description: "Selected items in the list."
|
||||
name: 'selection',
|
||||
type: 'any',
|
||||
default: 'null',
|
||||
description: 'Selected items in the list.'
|
||||
},
|
||||
{
|
||||
name: "metaKeySelection",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Defines whether metaKey is requred or not for the selection. When true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically."
|
||||
name: 'metaKeySelection',
|
||||
type: 'boolean',
|
||||
default: 'true',
|
||||
description:
|
||||
'Defines whether metaKey is requred or not for the selection. When true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.'
|
||||
},
|
||||
{
|
||||
name: "dataKey",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Name of the field that uniquely identifies the a record in the data."
|
||||
name: 'dataKey',
|
||||
type: 'string',
|
||||
default: 'null',
|
||||
description: 'Name of the field that uniquely identifies the a record in the data.'
|
||||
},
|
||||
{
|
||||
name: "listStyle",
|
||||
type: "object",
|
||||
default: "null",
|
||||
description: "Inline style of the the list element."
|
||||
name: 'listStyle',
|
||||
type: 'object',
|
||||
default: 'null',
|
||||
description: 'Inline style of the the list element.'
|
||||
},
|
||||
{
|
||||
name: "responsive",
|
||||
type: "boolean",
|
||||
default: "true",
|
||||
description: "Whether the list optimizes layout based on screen size."
|
||||
name: 'responsive',
|
||||
type: 'boolean',
|
||||
default: 'true',
|
||||
description: 'Whether the list optimizes layout based on screen size.'
|
||||
},
|
||||
{
|
||||
name: "breakpoint",
|
||||
type: "string",
|
||||
default: "960px",
|
||||
description: "The breakpoint to define the maximum width boundary when responsiveness is enabled."
|
||||
name: 'breakpoint',
|
||||
type: 'string',
|
||||
default: '960px',
|
||||
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
||||
},
|
||||
{
|
||||
name: "stripedRows",
|
||||
type: "boolean",
|
||||
default: "false",
|
||||
description: "Whether to displays rows with alternating colors."
|
||||
name: 'stripedRows',
|
||||
type: 'boolean',
|
||||
default: 'false',
|
||||
description: 'Whether to displays rows with alternating colors.'
|
||||
}
|
||||
];
|
||||
|
||||
const OrderListEvents = [
|
||||
{
|
||||
name: "reorder",
|
||||
description: "Callback to invoke when the list is reordered.",
|
||||
name: 'reorder',
|
||||
description: 'Callback to invoke when the list is reordered.',
|
||||
arguments: [
|
||||
{
|
||||
name: "event.originalEvent",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
name: 'event.originalEvent',
|
||||
type: 'object',
|
||||
description: 'Browser event'
|
||||
},
|
||||
{
|
||||
name: "event.value",
|
||||
type: "array",
|
||||
description: "Ordered list"
|
||||
name: 'event.value',
|
||||
type: 'array',
|
||||
description: 'Ordered list'
|
||||
},
|
||||
{
|
||||
name: "event.direction",
|
||||
type: "string",
|
||||
description:
|
||||
'Direction of the change; "up", "down", "bottom", "top"'
|
||||
name: 'event.direction',
|
||||
type: 'string',
|
||||
description: 'Direction of the change; "up", "down", "bottom", "top"'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "selection-change",
|
||||
description: "Callback to invoke when selection changes.",
|
||||
name: 'selection-change',
|
||||
description: 'Callback to invoke when selection changes.',
|
||||
arguments: [
|
||||
{
|
||||
name: "event.originalEvent",
|
||||
type: "object",
|
||||
description: "Browser event"
|
||||
name: 'event.originalEvent',
|
||||
type: 'object',
|
||||
description: 'Browser event'
|
||||
},
|
||||
{
|
||||
name: "event.value",
|
||||
type: "array",
|
||||
description: "Ordered list"
|
||||
name: 'event.value',
|
||||
type: 'array',
|
||||
description: 'Ordered list'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -92,27 +92,27 @@ const OrderListEvents = [
|
|||
|
||||
const OrderListSlots = [
|
||||
{
|
||||
name: "header",
|
||||
name: 'header',
|
||||
description: "Custom content for the component's header"
|
||||
},
|
||||
{
|
||||
name: "item",
|
||||
description: "Custom content for the item"
|
||||
name: 'item',
|
||||
description: 'Custom content for the item'
|
||||
},
|
||||
{
|
||||
name: "controlsstart",
|
||||
description: "Custom content before the buttons"
|
||||
name: 'controlsstart',
|
||||
description: 'Custom content before the buttons'
|
||||
},
|
||||
{
|
||||
name: "controlsend",
|
||||
description: "Custom content after the buttons"
|
||||
name: 'controlsend',
|
||||
description: 'Custom content after the buttons'
|
||||
}
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
orderlist: {
|
||||
name: "OrderList",
|
||||
description: "OrderList is used to managed the order of a collection.",
|
||||
name: 'OrderList',
|
||||
description: 'OrderList is used to managed the order of a collection.',
|
||||
props: OrderListProps,
|
||||
events: OrderListEvents,
|
||||
slots: OrderListSlots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue