Lint changes

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 17:26:41 +03:00
parent eb2de5460c
commit 4d3a071e66
291 changed files with 28450 additions and 26621 deletions

View file

@ -1,82 +1,82 @@
const ChartProps = [
{
name: "type",
type: "string",
default: "null",
description: "Type of the chart."
name: 'type',
type: 'string',
default: 'null',
description: 'Type of the chart.'
},
{
name: "data",
type: "any",
default: "null",
description: "Data to display."
name: 'data',
type: 'any',
default: 'null',
description: 'Data to display.'
},
{
name: "options",
type: "any",
default: "null",
description: "Options to customize the chart."
name: 'options',
type: 'any',
default: 'null',
description: 'Options to customize the chart.'
},
{
name: "plugins",
type: "any",
default: "null",
description: "Used to custom plugins of the chart."
name: 'plugins',
type: 'any',
default: 'null',
description: 'Used to custom plugins of the chart.'
},
{
name: "width",
type: "number",
default: "300",
description: "Width of the chart in non-responsive mode."
name: 'width',
type: 'number',
default: '300',
description: 'Width of the chart in non-responsive mode.'
},
{
name: "height",
type: "number",
default: "150",
description: "Height of the chart in non-responsive mode."
name: 'height',
type: 'number',
default: '150',
description: 'Height of the chart in non-responsive mode.'
}
];
const ChartEvents = [
{
name: "select",
description: "Callback to invoke when a tab gets expanded.",
name: 'select',
description: 'Callback to invoke when a tab gets expanded.',
arguments: [
{
name: "originalEvent",
type: "object",
description: "Browser event"
name: 'originalEvent',
type: 'object',
description: 'Browser event'
},
{
name: "dataset",
type: "object",
description: "Selected dataset"
name: 'dataset',
type: 'object',
description: 'Selected dataset'
},
{
name: "element",
type: "object",
description: "Selected element"
name: 'element',
type: 'object',
description: 'Selected element'
},
{
name: "element._datasetIndex",
type: "number",
description: "Index of the dataset in data"
name: 'element._datasetIndex',
type: 'number',
description: 'Index of the dataset in data'
},
{
name: "element._index",
type: "number",
description: "Index of the data in dataset"
name: 'element._index',
type: 'number',
description: 'Index of the data in dataset'
}
]
},
{
name: "loaded",
description: "Callback to invoke when chart is loaded.",
name: 'loaded',
description: 'Callback to invoke when chart is loaded.',
arguments: [
{
name: "chart",
type: "object",
description: "Chart instance."
name: 'chart',
type: 'object',
description: 'Chart instance.'
}
]
}
@ -84,8 +84,8 @@ const ChartEvents = [
module.exports = {
chart: {
name: "Chart",
description: "Chart components are based on Charts.js, an open source HTML5 based charting library.",
name: 'Chart',
description: 'Chart components are based on Charts.js, an open source HTML5 based charting library.',
props: ChartProps,
events: ChartEvents
}