Lint changes
parent
eb2de5460c
commit
4d3a071e66
|
@ -0,0 +1,90 @@
|
||||||
|
module.exports = {
|
||||||
|
root: true,
|
||||||
|
env: {
|
||||||
|
node: true,
|
||||||
|
jest: true
|
||||||
|
},
|
||||||
|
extends: ['plugin:vue/vue3-essential', 'eslint:recommended', 'prettier'],
|
||||||
|
parserOptions: {
|
||||||
|
parser: '@babel/eslint-parser',
|
||||||
|
requireConfigFile: false
|
||||||
|
},
|
||||||
|
plugins: ['prettier'],
|
||||||
|
rules: {
|
||||||
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||||
|
'no-fallthrough': 'off',
|
||||||
|
'vue/this-in-template': ['error', 'never'],
|
||||||
|
'vue/component-tags-order': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
order: ['template', 'script', 'style']
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'vue/require-explicit-emits': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
allowProps: false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'vue/attributes-order': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
order: ['CONDITIONALS', 'LIST_RENDERING', 'DEFINITION', ['UNIQUE', 'SLOT'], 'RENDER_MODIFIERS', 'GLOBAL', 'TWO_WAY_BINDING', 'OTHER_DIRECTIVES', ['OTHER_ATTR', 'EVENTS'], 'CONTENT'],
|
||||||
|
alphabetical: false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'vue/order-in-components': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
order: [
|
||||||
|
'el',
|
||||||
|
'name',
|
||||||
|
'key',
|
||||||
|
'parent',
|
||||||
|
'functional',
|
||||||
|
'extends',
|
||||||
|
'mixins',
|
||||||
|
['delimiters', 'comments'],
|
||||||
|
'ROUTER_GUARDS',
|
||||||
|
'layout',
|
||||||
|
'middleware',
|
||||||
|
'validate',
|
||||||
|
'scrollToTop',
|
||||||
|
'transition',
|
||||||
|
'loading',
|
||||||
|
'inheritAttrs',
|
||||||
|
'model',
|
||||||
|
'emits',
|
||||||
|
'setup',
|
||||||
|
'fetch',
|
||||||
|
'head',
|
||||||
|
['props', 'propsData'],
|
||||||
|
['provide', 'inject'],
|
||||||
|
'asyncData',
|
||||||
|
'data',
|
||||||
|
'watch',
|
||||||
|
'watchQuery',
|
||||||
|
'LIFECYCLE_HOOKS',
|
||||||
|
'methods',
|
||||||
|
'computed',
|
||||||
|
['components', 'directives', 'filters'],
|
||||||
|
['template', 'render'],
|
||||||
|
'renderError'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'padding-line-between-statements': [
|
||||||
|
'error',
|
||||||
|
{ blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' },
|
||||||
|
{ blankLine: 'any', prev: ['const', 'let', 'var'], next: ['const', 'let', 'var'] },
|
||||||
|
{ blankLine: 'any', prev: ['case', 'default'], next: 'break' },
|
||||||
|
{ blankLine: 'any', prev: 'case', next: 'case' },
|
||||||
|
{ blankLine: 'always', prev: '*', next: 'return' },
|
||||||
|
{ blankLine: 'always', prev: 'block', next: '*' },
|
||||||
|
{ blankLine: 'always', prev: '*', next: 'block' },
|
||||||
|
{ blankLine: 'always', prev: 'block-like', next: '*' },
|
||||||
|
{ blankLine: 'always', prev: '*', next: 'block-like' }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Ignore artifacts:
|
||||||
|
build
|
||||||
|
coverage
|
||||||
|
dist
|
||||||
|
out
|
||||||
|
public
|
||||||
|
styles
|
||||||
|
node_modules
|
||||||
|
.vscode
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"useTabs": false,
|
||||||
|
"tabWidth": 4,
|
||||||
|
"trailingComma": "none",
|
||||||
|
"semi": true,
|
||||||
|
"singleQuote": true,
|
||||||
|
"vueIndentScriptAndStyle": false,
|
||||||
|
"printWidth": 250,
|
||||||
|
"bracketSameLine": false
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"esbenp.prettier-vscode"
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"editor.codeActionsOnSave": {
|
||||||
|
"source.fixAll.eslint": true,
|
||||||
|
"source.organizeImports": true
|
||||||
|
},
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[vue]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,37 +1,37 @@
|
||||||
const fs = require("fs");
|
const fs = require('fs');
|
||||||
const path = require("path");
|
const path = require('path');
|
||||||
|
|
||||||
const rootDir = path.resolve(__dirname, "../");
|
const rootDir = path.resolve(__dirname, '../');
|
||||||
const distDir = path.resolve(rootDir, "dist");
|
const distDir = path.resolve(rootDir, 'dist');
|
||||||
const componentPath = path.join(__dirname, "./components");
|
const componentPath = path.join(__dirname, './components');
|
||||||
|
|
||||||
// Import project `package.json`
|
// Import project `package.json`
|
||||||
const pkg = require(path.resolve(rootDir, "package.json"));
|
const pkg = require(path.resolve(rootDir, 'package.json'));
|
||||||
const libraryName = "PrimeVue";
|
const libraryName = 'PrimeVue';
|
||||||
const libraryVersion = pkg.version;
|
const libraryVersion = pkg.version;
|
||||||
|
|
||||||
const showcaseURL = "https://primefaces.org/primevue/showcase/#/";
|
const showcaseURL = 'https://primefaces.org/primevue/showcase/#/';
|
||||||
|
|
||||||
const fileModules = {},
|
const fileModules = {},
|
||||||
veturTags = {},
|
veturTags = {},
|
||||||
veturAttributes = {};
|
veturAttributes = {};
|
||||||
|
|
||||||
const files = fs.readdirSync(componentPath);
|
const files = fs.readdirSync(componentPath);
|
||||||
files.forEach(file => {
|
files.forEach((file) => {
|
||||||
const { name } = path.parse(file);
|
const { name } = path.parse(file);
|
||||||
|
|
||||||
fileModules[name] = require(`./components//${name}`);
|
fileModules[name] = require(`./components//${name}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
const webTypes = {
|
const webTypes = {
|
||||||
$schema: "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
$schema: 'https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json',
|
||||||
framework: "vue",
|
framework: 'vue',
|
||||||
name: libraryName,
|
name: libraryName,
|
||||||
version: libraryVersion,
|
version: libraryVersion,
|
||||||
contributions: {
|
contributions: {
|
||||||
html: {
|
html: {
|
||||||
"types-syntax": "typescript",
|
'types-syntax': 'typescript',
|
||||||
"description-markup": "markdown",
|
'description-markup': 'markdown',
|
||||||
tags: [],
|
tags: [],
|
||||||
attributes: []
|
attributes: []
|
||||||
}
|
}
|
||||||
|
@ -41,12 +41,12 @@ const webTypes = {
|
||||||
const addURL = (attr, url, value) => {
|
const addURL = (attr, url, value) => {
|
||||||
const newArray = [];
|
const newArray = [];
|
||||||
|
|
||||||
attr.forEach(att => {
|
attr.forEach((att) => {
|
||||||
const newObj = {};
|
const newObj = {};
|
||||||
|
|
||||||
Object.keys(att).forEach(key => {
|
Object.keys(att).forEach((key) => {
|
||||||
newObj[key] = att[key];
|
newObj[key] = att[key];
|
||||||
if (key === value) newObj["doc-url"] = url;
|
if (key === value) newObj['doc-url'] = url;
|
||||||
});
|
});
|
||||||
|
|
||||||
newArray.push(newObj);
|
newArray.push(newObj);
|
||||||
|
@ -55,8 +55,8 @@ const addURL = (attr, url, value) => {
|
||||||
return newArray;
|
return newArray;
|
||||||
};
|
};
|
||||||
|
|
||||||
const createWebTypes = component => {
|
const createWebTypes = (component) => {
|
||||||
const url = showcaseURL + `${component["doc-url"] ? component["doc-url"] : component.name.toLowerCase()}`;
|
const url = showcaseURL + `${component['doc-url'] ? component['doc-url'] : component.name.toLowerCase()}`;
|
||||||
|
|
||||||
// components
|
// components
|
||||||
const tag = {
|
const tag = {
|
||||||
|
@ -65,7 +65,7 @@ const createWebTypes = component => {
|
||||||
module: libraryName,
|
module: libraryName,
|
||||||
symbol: component.name
|
symbol: component.name
|
||||||
},
|
},
|
||||||
"doc-url": url,
|
'doc-url': url,
|
||||||
description: component.description
|
description: component.description
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -77,44 +77,43 @@ const createWebTypes = component => {
|
||||||
symbol: component.name
|
symbol: component.name
|
||||||
},
|
},
|
||||||
description: component.description,
|
description: component.description,
|
||||||
"doc-url": url,
|
'doc-url': url,
|
||||||
value: {
|
value: {
|
||||||
kind: "expression",
|
kind: 'expression',
|
||||||
type: "function"
|
type: 'function'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (component.props) {
|
if (component.props) {
|
||||||
tag.attributes = addURL(component.props, url, "default");
|
tag.attributes = addURL(component.props, url, 'default');
|
||||||
tag.attributes.forEach(k => {
|
tag.attributes.forEach((k) => {
|
||||||
k["value"] = {
|
k['value'] = {
|
||||||
kind: "expression",
|
kind: 'expression',
|
||||||
type: k["type"]
|
type: k['type']
|
||||||
};
|
};
|
||||||
|
|
||||||
delete k["type"];
|
delete k['type'];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (component.events) {
|
if (component.events) {
|
||||||
tag.events = addURL(component.events, url, "name");
|
tag.events = addURL(component.events, url, 'name');
|
||||||
tag.events.forEach(k => {
|
tag.events.forEach((k) => {
|
||||||
if (k.arguments) {
|
if (k.arguments) {
|
||||||
k.arguments = addURL(k.arguments, url, "name");
|
k.arguments = addURL(k.arguments, url, 'name');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (component.slots) {
|
if (component.slots) {
|
||||||
tag.slots = addURL(component.slots, url, "name");
|
tag.slots = addURL(component.slots, url, 'name');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (component["vue-modifiers"]) {
|
if (component['vue-modifiers']) {
|
||||||
attribute.required = false;
|
attribute.required = false;
|
||||||
attribute["vue-modifiers"] = addURL(component["vue-modifiers"], url, "name");
|
attribute['vue-modifiers'] = addURL(component['vue-modifiers'], url, 'name');
|
||||||
|
|
||||||
if (attribute["vue-modifiers"].length < 1)
|
if (attribute['vue-modifiers'].length < 1) delete attribute['vue-modifiers'];
|
||||||
delete attribute["vue-modifiers"];
|
|
||||||
|
|
||||||
webTypes.contributions.html.attributes.push(attribute);
|
webTypes.contributions.html.attributes.push(attribute);
|
||||||
}
|
}
|
||||||
|
@ -122,10 +121,10 @@ const createWebTypes = component => {
|
||||||
webTypes.contributions.html.tags.push(tag);
|
webTypes.contributions.html.tags.push(tag);
|
||||||
};
|
};
|
||||||
|
|
||||||
const createVeturTags = component => {
|
const createVeturTags = (component) => {
|
||||||
const attributes = [];
|
const attributes = [];
|
||||||
if (component.props) {
|
if (component.props) {
|
||||||
component.props.forEach(comp => {
|
component.props.forEach((comp) => {
|
||||||
attributes.push(comp.name);
|
attributes.push(comp.name);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -137,9 +136,9 @@ const createVeturTags = component => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const createVeturAttributes = component => {
|
const createVeturAttributes = (component) => {
|
||||||
if (component.props) {
|
if (component.props) {
|
||||||
component.props.forEach(comp => {
|
component.props.forEach((comp) => {
|
||||||
veturAttributes[component.name.toLowerCase() + `/${comp.name}`] = {
|
veturAttributes[component.name.toLowerCase() + `/${comp.name}`] = {
|
||||||
description: comp.description,
|
description: comp.description,
|
||||||
type: comp.type
|
type: comp.type
|
||||||
|
@ -148,17 +147,17 @@ const createVeturAttributes = component => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Object.keys(fileModules).forEach(p => {
|
Object.keys(fileModules).forEach((p) => {
|
||||||
createWebTypes(fileModules[p][p]);
|
createWebTypes(fileModules[p][p]);
|
||||||
createVeturTags(fileModules[p][p]);
|
createVeturTags(fileModules[p][p]);
|
||||||
createVeturAttributes(fileModules[p][p]);
|
createVeturAttributes(fileModules[p][p]);
|
||||||
});
|
});
|
||||||
|
|
||||||
const webTypesJson = JSON.stringify(webTypes, null, 2);
|
const webTypesJson = JSON.stringify(webTypes, null, 2);
|
||||||
fs.writeFileSync(path.resolve(distDir, "web-types.json"), webTypesJson);
|
fs.writeFileSync(path.resolve(distDir, 'web-types.json'), webTypesJson);
|
||||||
|
|
||||||
const veturTagsJson = JSON.stringify(veturTags, null, 2);
|
const veturTagsJson = JSON.stringify(veturTags, null, 2);
|
||||||
fs.writeFileSync(path.resolve(distDir, "vetur-tags.json"), veturTagsJson);
|
fs.writeFileSync(path.resolve(distDir, 'vetur-tags.json'), veturTagsJson);
|
||||||
|
|
||||||
const veturAttributesJson = JSON.stringify(veturAttributes, null, 2);
|
const veturAttributesJson = JSON.stringify(veturAttributes, null, 2);
|
||||||
fs.writeFileSync(path.resolve(distDir, "vetur-attributes.json"), veturAttributesJson);
|
fs.writeFileSync(path.resolve(distDir, 'vetur-attributes.json'), veturAttributesJson);
|
||||||
|
|
|
@ -1,94 +1,94 @@
|
||||||
const AccordionProps = [
|
const AccordionProps = [
|
||||||
{
|
{
|
||||||
name: "multiple",
|
name: 'multiple',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, multiple tabs can be activated at the same time."
|
description: 'When enabled, multiple tabs can be activated at the same time.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "activeIndex",
|
name: 'activeIndex',
|
||||||
type: "number|array",
|
type: 'number|array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the active tab or an array of indexes in multiple mode."
|
description: 'Index of the active tab or an array of indexes in multiple mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "lazy",
|
name: 'lazy',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
description: 'When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expandIcon",
|
name: 'expandIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi-chevron-right",
|
default: 'pi-chevron-right',
|
||||||
description: "Icon of a collapsed tab."
|
description: 'Icon of a collapsed tab.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "collapseIcon",
|
name: 'collapseIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi-chevron-down",
|
default: 'pi-chevron-down',
|
||||||
description: "Icon of a expanded tab."
|
description: 'Icon of a expanded tab.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused tab is activated."
|
description: 'When enabled, the focused tab is activated.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const AccordionEvents = [
|
const AccordionEvents = [
|
||||||
{
|
{
|
||||||
name: "tab-open",
|
name: 'tab-open',
|
||||||
description: "Callback to invoke when a tab gets expanded.",
|
description: 'Callback to invoke when a tab gets expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "index",
|
name: 'index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Opened tab index"
|
description: 'Opened tab index'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tab-close",
|
name: 'tab-close',
|
||||||
description: "Callback to invoke when an active tab is collapsed by clicking on the header.",
|
description: 'Callback to invoke when an active tab is collapsed by clicking on the header.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "index",
|
name: 'index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Closed tab index"
|
description: 'Closed tab index'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tab-click",
|
name: 'tab-click',
|
||||||
description: "Callback to invoke when an active tab is clicked.",
|
description: 'Callback to invoke when an active tab is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "index",
|
name: 'index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the clicked tab"
|
description: 'Index of the clicked tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -96,8 +96,8 @@ const AccordionEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
accordion: {
|
accordion: {
|
||||||
name: "Accordion",
|
name: 'Accordion',
|
||||||
description: "Accordion groups a collection of contents in tabs.",
|
description: 'Accordion groups a collection of contents in tabs.',
|
||||||
props: AccordionProps,
|
props: AccordionProps,
|
||||||
events: AccordionEvents
|
events: AccordionEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,64 +1,64 @@
|
||||||
const AccordionTabProps = [
|
const AccordionTabProps = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Orientation of tab headers."
|
description: 'Orientation of tab headers.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerStyle",
|
name: 'headerStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the tab header."
|
description: 'Inline style of the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerClass",
|
name: 'headerClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the tab header."
|
description: 'Style class of the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerProps",
|
name: 'headerProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the tab header."
|
description: 'Uses to pass all properties of the HTMLDivElement to the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerActionProps",
|
name: 'headerActionProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header."
|
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentStyle",
|
name: 'contentStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the tab content."
|
description: 'Inline style of the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentClass",
|
name: 'contentClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the tab content."
|
description: 'Style class of the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentProps",
|
name: 'contentProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the tab content."
|
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the tab is disabled."
|
description: 'Whether the tab is disabled.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
accordiontab: {
|
accordiontab: {
|
||||||
name: "AccordionTab",
|
name: 'AccordionTab',
|
||||||
description: "Accordion element consists of one or more AccordionTab elements.",
|
description: 'Accordion element consists of one or more AccordionTab elements.',
|
||||||
props: AccordionTabProps
|
props: AccordionTabProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,404 +1,404 @@
|
||||||
const AutoCompleteProps = [
|
const AutoCompleteProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suggestions",
|
name: 'suggestions',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of suggestions to display."
|
description: 'An array of suggestions to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "field",
|
name: 'field',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function of a suggested object to resolve and display."
|
description: 'Property name or getter function of a suggested object to resolve and display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupLabel",
|
name: 'optionGroupLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option group."
|
description: 'Property name or getter function to use as the label of an option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupChildren",
|
name: 'optionGroupChildren',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function that refers to the children options of option group."
|
description: 'Property name or getter function that refers to the children options of option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "200px",
|
default: '200px',
|
||||||
description: "Maximum height of the suggestions panel."
|
description: 'Maximum height of the suggestions panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dropdown",
|
name: 'dropdown',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Displays a button next to the input field when enabled."
|
description: 'Displays a button next to the input field when enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dropdownMode",
|
name: 'dropdownMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "blank",
|
default: 'blank',
|
||||||
description: 'Specifies the behavior dropdown button. Default "blank" mode sends an empty string and "current" mode sends the input value.'
|
description: 'Specifies the behavior dropdown button. Default "blank" mode sends an empty string and "current" mode sends the input value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoHighlight",
|
name: 'autoHighlight',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: "Highlights automatically the first item of the dropdown to be selected."
|
description: 'Highlights automatically the first item of the dropdown to be selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiple",
|
name: 'multiple',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies if multiple values can be selected."
|
description: 'Specifies if multiple values can be selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Default text to display when no option is selected."
|
description: 'Default text to display when no option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minLength",
|
name: 'minLength',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Minimum number of characters to initiate a search."
|
description: 'Minimum number of characters to initiate a search.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "delay",
|
name: 'delay',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "300",
|
default: '300',
|
||||||
description: "Delay between keystrokes to wait before sending a query."
|
description: 'Delay between keystrokes to wait before sending a query.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "forceSelection",
|
name: 'forceSelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions."
|
description: 'When present, autocomplete clears the manual input if it does not match of the suggestions to force only accepting values from the suggestions.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "completeOnFocus",
|
name: 'completeOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to run a query when input receives focus."
|
description: 'Whether to run a query when input receives focus.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner",
|
default: 'pi pi-spinner',
|
||||||
description: "Icon to display in loading state."
|
description: 'Icon to display in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "virtualScrollerOptions",
|
name: 'virtualScrollerOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
|
description: 'Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoOptionFocus",
|
name: 'autoOptionFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to focus on the first visible or selected element when the overlay panel is shown."
|
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused option is selected."
|
description: 'When enabled, the focused option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "searchLocale",
|
name: 'searchLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in searching. The default locale is the host environment's current locale."
|
description: "Locale to use in searching. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "searchMessage",
|
name: 'searchMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} results are available",
|
default: '{0} results are available',
|
||||||
description: "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMessage",
|
name: 'selectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySelectionMessage",
|
name: 'emptySelectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No selected item",
|
default: 'No selected item',
|
||||||
description: "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySearchMessage",
|
name: 'emptySearchMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const AutoCompleteEvents = [
|
const AutoCompleteEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when component receives focus.",
|
description: 'Callback to invoke when component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when component loses focus.",
|
description: 'Callback to invoke when component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item-select",
|
name: 'item-select',
|
||||||
description: "Callback to invoke when a suggestion is selected.",
|
description: 'Callback to invoke when a suggestion is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected item"
|
description: 'Selected item'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item-unselect",
|
name: 'item-unselect',
|
||||||
description: "Callback to invoke when a selected value is removed.",
|
description: 'Callback to invoke when a selected value is removed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Unselected item"
|
description: 'Unselected item'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dropdown-click",
|
name: 'dropdown-click',
|
||||||
description: "Callback to invoke to when dropdown button is clicked.",
|
description: 'Callback to invoke to when dropdown button is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "query",
|
name: 'query',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Current value of the input field"
|
description: 'Current value of the input field'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "clear",
|
name: 'clear',
|
||||||
description: "Callback to invoke when input is cleared by the user."
|
description: 'Callback to invoke when input is cleared by the user.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "complete",
|
name: 'complete',
|
||||||
description: "Callback to invoke to search for suggestions.",
|
description: 'Callback to invoke to search for suggestions.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "query",
|
name: 'query',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Value to search with"
|
description: 'Value to search with'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-show",
|
name: 'before-show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-hide",
|
name: 'before-hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const AutoCompleteSlots = [
|
const AutoCompleteSlots = [
|
||||||
{
|
{
|
||||||
name: "chip",
|
name: 'chip',
|
||||||
description: "Custom content for the chip display."
|
description: 'Custom content for the chip display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component header."
|
description: 'Custom content for the component header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component footer."
|
description: 'Custom content for the component footer.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item."
|
description: 'Custom content for the item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item."
|
description: 'Custom content for the item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optiongroup",
|
name: 'optiongroup',
|
||||||
description: "Custom content for the optiongroup item."
|
description: 'Custom content for the optiongroup item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the virtual scroller"
|
description: 'Custom content for the virtual scroller'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loader",
|
name: 'loader',
|
||||||
description: "Custom content for the virtual scroller loader items"
|
description: 'Custom content for the virtual scroller loader items'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
autocomplete: {
|
autocomplete: {
|
||||||
name: "AutoComplete",
|
name: 'AutoComplete',
|
||||||
description: "AutoComplete is an input component that provides real-time suggestions when being typed.",
|
description: 'AutoComplete is an input component that provides real-time suggestions when being typed.',
|
||||||
props: AutoCompleteProps,
|
props: AutoCompleteProps,
|
||||||
events: AutoCompleteEvents,
|
events: AutoCompleteEvents,
|
||||||
slots: AutoCompleteSlots
|
slots: AutoCompleteSlots
|
||||||
|
|
|
@ -1,47 +1,47 @@
|
||||||
const AvatarProps = [
|
const AvatarProps = [
|
||||||
{
|
{
|
||||||
name: "label",
|
name: 'label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the text to display."
|
description: 'Defines the text to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the icon to display."
|
description: 'Defines the icon to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "image",
|
name: 'image',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the image to display."
|
description: 'Defines the image to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "size",
|
name: 'size',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Size of the element, valid options are "large" and "xlarge".'
|
description: 'Size of the element, valid options are "large" and "xlarge".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "shape",
|
name: 'shape',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "square",
|
default: 'square',
|
||||||
description: 'Shape of the element, valid options are "square" and "circle".'
|
description: 'Shape of the element, valid options are "square" and "circle".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const AvatarEvents = [
|
const AvatarEvents = [
|
||||||
{
|
{
|
||||||
name: "error",
|
name: 'error',
|
||||||
description: "Triggered when an error occurs while loading an image file."
|
description: 'Triggered when an error occurs while loading an image file.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
avatar: {
|
avatar: {
|
||||||
name: "Avatar",
|
name: 'Avatar',
|
||||||
description: "Avatar represents people using icons, labels and images.",
|
description: 'Avatar represents people using icons, labels and images.',
|
||||||
props: AvatarProps,
|
props: AvatarProps,
|
||||||
events: AvatarEvents
|
events: AvatarEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
avatargroup: {
|
avatargroup: {
|
||||||
name: "AvatarGroup",
|
name: 'AvatarGroup',
|
||||||
"doc-url": "avatar",
|
'doc-url': 'avatar',
|
||||||
description: "A set of Avatars can be displayed together using the AvatarGroup component."
|
description: 'A set of Avatars can be displayed together using the AvatarGroup component.'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
const BadgeProps = [
|
const BadgeProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value to display inside the badge."
|
description: 'Value to display inside the badge.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "severity",
|
name: 'severity',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Severity type of the badge."
|
description: 'Severity type of the badge.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "size",
|
name: 'size',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Size of the badge, valid options are "large" and "xlarge".'
|
description: 'Size of the badge, valid options are "large" and "xlarge".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
badge: {
|
badge: {
|
||||||
name: "Badge",
|
name: 'Badge',
|
||||||
description: "Badge is a small status indicator for another element.",
|
description: 'Badge is a small status indicator for another element.',
|
||||||
props: BadgeProps
|
props: BadgeProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,26 +1,26 @@
|
||||||
const BadgeDirectiveModifiers = [
|
const BadgeDirectiveModifiers = [
|
||||||
{
|
{
|
||||||
name: "success",
|
name: 'success',
|
||||||
description: "Overrides default severity color"
|
description: 'Overrides default severity color'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "info",
|
name: 'info',
|
||||||
description: "Default color for severity levels"
|
description: 'Default color for severity levels'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "warning",
|
name: 'warning',
|
||||||
description: "Overrides default severity color"
|
description: 'Overrides default severity color'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "danger",
|
name: 'danger',
|
||||||
description: "Overrides default severity color"
|
description: 'Overrides default severity color'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
badgedirective: {
|
badgedirective: {
|
||||||
name: "BadgeDirective",
|
name: 'BadgeDirective',
|
||||||
description: "When Badge used as a directive, badge needs to be configured at the application with a name of your choice.",
|
description: 'When Badge used as a directive, badge needs to be configured at the application with a name of your choice.',
|
||||||
"vue-modifiers": BadgeDirectiveModifiers
|
'vue-modifiers': BadgeDirectiveModifiers
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,45 +1,45 @@
|
||||||
const BlockUIProps = [
|
const BlockUIProps = [
|
||||||
{
|
{
|
||||||
name: "blocked",
|
name: 'blocked',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Controls the blocked state."
|
description: 'Controls the blocked state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fullscreen",
|
name: 'fullscreen',
|
||||||
type: "menuitem",
|
type: 'menuitem',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "When enabled, the whole document gets blocked."
|
description: 'When enabled, the whole document gets blocked.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const BlockUIEvents = [
|
const BlockUIEvents = [
|
||||||
{
|
{
|
||||||
name: "block",
|
name: 'block',
|
||||||
description: "Fired when the element gets blocked."
|
description: 'Fired when the element gets blocked.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "unblock",
|
name: 'unblock',
|
||||||
description: "Fired when the element gets unblocked."
|
description: 'Fired when the element gets unblocked.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
blockui: {
|
blockui: {
|
||||||
name: "BlockUI",
|
name: 'BlockUI',
|
||||||
description: "BlockUI can either block other components or the whole page.",
|
description: 'BlockUI can either block other components or the whole page.',
|
||||||
props: BlockUIProps,
|
props: BlockUIProps,
|
||||||
events: BlockUIEvents
|
events: BlockUIEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
const BreadcrumbProps = [
|
const BreadcrumbProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "home",
|
name: 'home',
|
||||||
type: "menuitem",
|
type: 'menuitem',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Configuration for the home icon."
|
description: 'Configuration for the home icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const BreadcrumbSlots = [
|
const BreadcrumbSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
breadcrumb: {
|
breadcrumb: {
|
||||||
name: "Breadcrumb",
|
name: 'Breadcrumb',
|
||||||
description: "Breadcrumb provides contextual information about page hierarchy.",
|
description: 'Breadcrumb provides contextual information about page hierarchy.',
|
||||||
props: BreadcrumbProps,
|
props: BreadcrumbProps,
|
||||||
slots: BreadcrumbSlots
|
slots: BreadcrumbSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,58 +1,58 @@
|
||||||
const ButtonProps = [
|
const ButtonProps = [
|
||||||
{
|
{
|
||||||
name: "label",
|
name: 'label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text of the button."
|
description: 'Text of the button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the icon."
|
description: 'Name of the icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "iconPos",
|
name: 'iconPos',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "left",
|
default: 'left',
|
||||||
description: 'Position of the icon, valid values are "left", "right", "bottom" and "top".'
|
description: 'Position of the icon, valid values are "left", "right", "bottom" and "top".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "iconClass",
|
name: 'iconClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the icon."
|
description: 'Style class of the icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "badge",
|
name: 'badge',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the badge."
|
description: 'Value of the badge.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "badgeClass",
|
name: 'badgeClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the badge."
|
description: 'Style class of the badge.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the button is in loading state."
|
description: 'Whether the button is in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner pi-spin",
|
default: 'pi pi-spinner pi-spin',
|
||||||
description: "Icon to display in loading state."
|
description: 'Icon to display in loading state.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
button: {
|
button: {
|
||||||
name: "Button",
|
name: 'Button',
|
||||||
description: "Button is an extension to standard button element with icons and theming.",
|
description: 'Button is an extension to standard button element with icons and theming.',
|
||||||
props: ButtonProps
|
props: ButtonProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,420 +1,420 @@
|
||||||
const CalendarProps = [
|
const CalendarProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "single",
|
default: 'single',
|
||||||
description: 'Defines the quantity of the selection, valid values are "single", "multiple" and "range".'
|
description: 'Defines the quantity of the selection, valid values are "single", "multiple" and "range".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dateFormat",
|
name: 'dateFormat',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Format of the date. Defaults to PrimeVue Locale configuration."
|
description: 'Format of the date. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inline",
|
name: 'inline',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, displays the calendar as inline instead of an overlay."
|
description: 'When enabled, displays the calendar as inline instead of an overlay.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showOtherMonths",
|
name: 'showOtherMonths',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option."
|
description: 'Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOtherMonths",
|
name: 'selectOtherMonths',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true."
|
description: 'Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIcon",
|
name: 'showIcon',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, displays a button with icon next to input."
|
description: 'When enabled, displays a button with icon next to input.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-calendar",
|
default: 'pi pi-calendar',
|
||||||
description: "Icon of the calendar button."
|
description: 'Icon of the calendar button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "numberOfMonths",
|
name: 'numberOfMonths',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Number of months to display."
|
description: 'Number of months to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "view",
|
name: 'view',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "date",
|
default: 'date',
|
||||||
description: 'Type of view to display, valid valids are "date" for datepicker and "month" for month picker.'
|
description: 'Type of view to display, valid valids are "date" for datepicker and "month" for month picker.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "touchUI",
|
name: 'touchUI',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, calendar overlay is displayed as optimized for touch devices."
|
description: 'When enabled, calendar overlay is displayed as optimized for touch devices.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "monthNavigator",
|
name: 'monthNavigator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the month should be rendered as a dropdown instead of text."
|
description: 'Whether the month should be rendered as a dropdown instead of text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "yearNavigator",
|
name: 'yearNavigator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the year should be rendered as a dropdown instead of text."
|
description: 'Whether the year should be rendered as a dropdown instead of text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "yearRange",
|
name: 'yearRange',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020)."
|
description: 'The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020).'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the datetimepicker panel."
|
description: 'Style class of the datetimepicker panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minDate",
|
name: 'minDate',
|
||||||
type: "Date",
|
type: 'Date',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "The minimum selectable date."
|
description: 'The minimum selectable date.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxDate",
|
name: 'maxDate',
|
||||||
type: "Date",
|
type: 'Date',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "The maximum selectable date."
|
description: 'The maximum selectable date.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabledDates",
|
name: 'disabledDates',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Array with dates to disable."
|
description: 'Array with dates to disable.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabledDays",
|
name: 'disabledDays',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Array with disabled weekday numbers."
|
description: 'Array with disabled weekday numbers.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxDateCount",
|
name: 'maxDateCount',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum number of selectable dates in multiple mode."
|
description: 'Maximum number of selectable dates in multiple mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showOnFocus",
|
name: 'showOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "When disabled, datepicker will not be visible with input focus."
|
description: 'When disabled, datepicker will not be visible with input focus.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showButtonBar",
|
name: 'showButtonBar',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display today and clear buttons at the footer"
|
description: 'Whether to display today and clear buttons at the footer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "shortYearCutoff",
|
name: 'shortYearCutoff',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "+10",
|
default: '+10',
|
||||||
description: "The cutoff year for determining the century for a date."
|
description: 'The cutoff year for determining the century for a date.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showTime",
|
name: 'showTime',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display timepicker."
|
description: 'Whether to display timepicker.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "timeOnly",
|
name: 'timeOnly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display timepicker only."
|
description: 'Whether to display timepicker only.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hourFormat",
|
name: 'hourFormat',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "24",
|
default: '24',
|
||||||
description: "Specifies 12 or 24 hour format."
|
description: 'Specifies 12 or 24 hour format.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stepHour",
|
name: 'stepHour',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Hours to change per step."
|
description: 'Hours to change per step.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stepMinute",
|
name: 'stepMinute',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Minutes to change per step."
|
description: 'Minutes to change per step.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stepSeconds",
|
name: 'stepSeconds',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Seconds to change per step."
|
description: 'Seconds to change per step.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showSeconds",
|
name: 'showSeconds',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to show the seconds in time picker."
|
description: 'Whether to show the seconds in time picker.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideOnDateTimeSelect",
|
name: 'hideOnDateTimeSelect',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to hide the overlay on date selection when showTime is enabled."
|
description: 'Whether to hide the overlay on date selection when showTime is enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideOnRangeSelection",
|
name: 'hideOnRangeSelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to hide the overlay on date selection is completed when selectionMode is range."
|
description: 'Whether to hide the overlay on date selection is completed when selectionMode is range.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "timeSeparator",
|
name: 'timeSeparator',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: ":",
|
default: ':',
|
||||||
description: "Separator of time selector."
|
description: 'Separator of time selector.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showWeek",
|
name: 'showWeek',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, calendar will show week numbers."
|
description: 'When enabled, calendar will show week numbers.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "manualInput",
|
name: 'manualInput',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Wheter to allow prevents entering the date manually via typing."
|
description: 'Wheter to allow prevents entering the date manually via typing.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that an input field is read-only."
|
description: 'When present, it specifies that an input field is read-only.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text for the input."
|
description: 'Placeholder text for the input.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "id",
|
name: 'id',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the element."
|
description: 'Identifier of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const CalendarEvents = [
|
const CalendarEvents = [
|
||||||
{
|
{
|
||||||
name: "input",
|
name: 'input',
|
||||||
description: "Callback to invoke when input field is being typed.",
|
description: 'Callback to invoke when input field is being typed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "New date"
|
description: 'New date'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "date-select",
|
name: 'date-select',
|
||||||
description: "Callback to invoke when a date is selected.",
|
description: 'Callback to invoke when a date is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "Date",
|
type: 'Date',
|
||||||
description: "Selected value"
|
description: 'Selected value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when datepicker panel is shown."
|
description: 'Callback to invoke when datepicker panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when datepicker panel is hidden."
|
description: 'Callback to invoke when datepicker panel is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "today-click",
|
name: 'today-click',
|
||||||
description: "Callback to invoke when today button is clicked.",
|
description: 'Callback to invoke when today button is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "date",
|
name: 'date',
|
||||||
type: "Date",
|
type: 'Date',
|
||||||
description: "Today as a date instance"
|
description: 'Today as a date instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "clear-click",
|
name: 'clear-click',
|
||||||
description: "Callback to invoke when clear button is clicked.",
|
description: 'Callback to invoke when clear button is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Click event"
|
description: 'Click event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "month-change",
|
name: 'month-change',
|
||||||
description: "Callback to invoke when a month is changed using the navigators.",
|
description: 'Callback to invoke when a month is changed using the navigators.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.month",
|
name: 'event.month',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New month"
|
description: 'New month'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.year",
|
name: 'event.year',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New year"
|
description: 'New year'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "year-change",
|
name: 'year-change',
|
||||||
description: "Callback to invoke when a year is changed using the navigators.",
|
description: 'Callback to invoke when a year is changed using the navigators.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.month",
|
name: 'event.month',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New month"
|
description: 'New month'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.year",
|
name: 'event.year',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New year"
|
description: 'New year'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke on focus of input field.",
|
description: 'Callback to invoke on focus of input field.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Focus event"
|
description: 'Focus event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke on blur of input field.",
|
description: 'Callback to invoke on blur of input field.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Input value"
|
description: 'Input value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "keydown",
|
name: 'keydown',
|
||||||
description: "Callback to invoke when a key is pressed.",
|
description: 'Callback to invoke when a key is pressed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Keydown event"
|
description: 'Keydown event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -422,27 +422,27 @@ const CalendarEvents = [
|
||||||
|
|
||||||
const CalendarSlots = [
|
const CalendarSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component header."
|
description: 'Custom content for the component header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component footer."
|
description: 'Custom content for the component footer.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "date",
|
name: 'date',
|
||||||
description: "Custom content for the calendar cell."
|
description: 'Custom content for the calendar cell.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "decade",
|
name: 'decade',
|
||||||
description: "Custom content for the calendar decade."
|
description: 'Custom content for the calendar decade.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
calendar: {
|
calendar: {
|
||||||
name: "Calendar",
|
name: 'Calendar',
|
||||||
description: "Calendar is an input component to select a date.",
|
description: 'Calendar is an input component to select a date.',
|
||||||
props: CalendarProps,
|
props: CalendarProps,
|
||||||
events: CalendarEvents,
|
events: CalendarEvents,
|
||||||
slots: CalendarSlots
|
slots: CalendarSlots
|
||||||
|
|
|
@ -1,30 +1,30 @@
|
||||||
const CardSlots = [
|
const CardSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component header."
|
description: 'Custom content for the component header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "title",
|
name: 'title',
|
||||||
description: "Custom content for the component title."
|
description: 'Custom content for the component title.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "subtitle",
|
name: 'subtitle',
|
||||||
description: "Custom content for the component subtitle."
|
description: 'Custom content for the component subtitle.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the component content."
|
description: 'Custom content for the component content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component footer."
|
description: 'Custom content for the component footer.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
card: {
|
card: {
|
||||||
name: "Card",
|
name: 'Card',
|
||||||
description: "Card is a flexible container component.",
|
description: 'Card is a flexible container component.',
|
||||||
slots: CardSlots
|
slots: CardSlots
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,109 +1,109 @@
|
||||||
const CarouselProps = [
|
const CarouselProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of objects to display."
|
description: 'An array of objects to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "page",
|
name: 'page',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the first item."
|
description: 'Index of the first item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "circular",
|
name: 'circular',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if scrolling would be infinite."
|
description: 'Defines if scrolling would be infinite.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoplayInterval",
|
name: 'autoplayInterval',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Time in milliseconds to scroll items automatically."
|
description: 'Time in milliseconds to scroll items automatically.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "numVisible",
|
name: 'numVisible',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Number of items per page."
|
description: 'Number of items per page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "numScroll",
|
name: 'numScroll',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Number of items to scroll."
|
description: 'Number of items to scroll.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "responsiveOptions",
|
name: 'responsiveOptions',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of options for responsive design."
|
description: 'An array of options for responsive design.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "orientation",
|
name: 'orientation',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "horizontal",
|
default: 'horizontal',
|
||||||
description: 'Specifies the layout of the component, valid values are "horizontal" and "vertical".'
|
description: 'Specifies the layout of the component, valid values are "horizontal" and "vertical".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "verticalViewPortHeight",
|
name: 'verticalViewPortHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "300px",
|
default: '300px',
|
||||||
description: "Height of the viewport in vertical layout."
|
description: 'Height of the viewport in vertical layout.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentClass",
|
name: 'contentClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of main content."
|
description: 'Style class of main content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "containerClass",
|
name: 'containerClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the viewport container."
|
description: 'Style class of the viewport container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicatorsContentClass",
|
name: 'indicatorsContentClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the indicator items."
|
description: 'Style class of the indicator items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showNavigators",
|
name: 'showNavigators',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display navigation buttons in container."
|
description: 'Whether to display navigation buttons in container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIndicators",
|
name: 'showIndicators',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display indicator container."
|
description: 'Whether to display indicator container.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const CarouselSlots = [
|
const CarouselSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component header."
|
description: 'Custom content for the component header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component footer."
|
description: 'Custom content for the component footer.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the component item."
|
description: 'Custom content for the component item.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
carousel: {
|
carousel: {
|
||||||
name: "Carousel",
|
name: 'Carousel',
|
||||||
description: "Carousel is a content slider featuring various customization options.",
|
description: 'Carousel is a content slider featuring various customization options.',
|
||||||
props: CarouselProps,
|
props: CarouselProps,
|
||||||
slots: CarouselSlots
|
slots: CarouselSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,283 +1,283 @@
|
||||||
const CascadeSelectProps = [
|
const CascadeSelectProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of selectitems to display as the available options."
|
description: 'An array of selectitems to display as the available options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionValue",
|
name: 'optionValue',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
|
description: 'Property name or getter function to use as the value of an option, defaults to the option itself when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupLabel",
|
name: 'optionGroupLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option group."
|
description: 'Property name or getter function to use as the label of an option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupChildren",
|
name: 'optionGroupChildren',
|
||||||
type: "array | function",
|
type: 'array | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to retrieve the items of a group."
|
description: 'Property name or getter function to retrieve the items of a group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Default text to display when no option is selected."
|
description: 'Default text to display when no option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the multiselect is in loading state."
|
description: 'Whether the multiselect is in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner pi-spin",
|
default: 'pi pi-spinner pi-spin',
|
||||||
description: "Icon to display in loading state."
|
description: 'Icon to display in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoOptionFocus",
|
name: 'autoOptionFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to focus on the first visible or selected element when the overlay panel is shown."
|
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused option is selected/opened."
|
description: 'When enabled, the focused option is selected/opened.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "searchLocale",
|
name: 'searchLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in searching. The default locale is the host environment's current locale."
|
description: "Locale to use in searching. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "searchMessage",
|
name: 'searchMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} results are available",
|
default: '{0} results are available',
|
||||||
description: "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMessage",
|
name: 'selectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySelectionMessage",
|
name: 'emptySelectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No selected item",
|
default: 'No selected item',
|
||||||
description: "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySearchMessage",
|
name: 'emptySearchMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const CascadeSelectEvents = [
|
const CascadeSelectEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when component receives focus.",
|
description: 'Callback to invoke when component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when component loses focus.",
|
description: 'Callback to invoke when component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Callback to invoke on click.",
|
description: 'Callback to invoke on click.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "group-change",
|
name: 'group-change',
|
||||||
description: "Callback to invoke when a group changes.",
|
description: 'Callback to invoke when a group changes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-show",
|
name: 'before-show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-hide",
|
name: 'before-hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const CascadeSelectSlots = [
|
const CascadeSelectSlots = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
description: "Custom content for the item's value"
|
description: "Custom content for the item's value"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item's option"
|
description: "Custom content for the item's option"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom content for the dropdown indicator"
|
description: 'Custom content for the dropdown indicator'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
cascadeselect: {
|
cascadeselect: {
|
||||||
name: "CascadeSelect",
|
name: 'CascadeSelect',
|
||||||
description: "CascadeSelect displays a nested structure of options.",
|
description: 'CascadeSelect displays a nested structure of options.',
|
||||||
props: CascadeSelectProps,
|
props: CascadeSelectProps,
|
||||||
events: CascadeSelectEvents,
|
events: CascadeSelectEvents,
|
||||||
slots: CascadeSelectSlots
|
slots: CascadeSelectSlots
|
||||||
|
|
|
@ -1,82 +1,82 @@
|
||||||
const ChartProps = [
|
const ChartProps = [
|
||||||
{
|
{
|
||||||
name: "type",
|
name: 'type',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Type of the chart."
|
description: 'Type of the chart.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "data",
|
name: 'data',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Data to display."
|
description: 'Data to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Options to customize the chart."
|
description: 'Options to customize the chart.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "plugins",
|
name: 'plugins',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to custom plugins of the chart."
|
description: 'Used to custom plugins of the chart.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "width",
|
name: 'width',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "300",
|
default: '300',
|
||||||
description: "Width of the chart in non-responsive mode."
|
description: 'Width of the chart in non-responsive mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "height",
|
name: 'height',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "150",
|
default: '150',
|
||||||
description: "Height of the chart in non-responsive mode."
|
description: 'Height of the chart in non-responsive mode.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ChartEvents = [
|
const ChartEvents = [
|
||||||
{
|
{
|
||||||
name: "select",
|
name: 'select',
|
||||||
description: "Callback to invoke when a tab gets expanded.",
|
description: 'Callback to invoke when a tab gets expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataset",
|
name: 'dataset',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected dataset"
|
description: 'Selected dataset'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "element",
|
name: 'element',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected element"
|
description: 'Selected element'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "element._datasetIndex",
|
name: 'element._datasetIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the dataset in data"
|
description: 'Index of the dataset in data'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "element._index",
|
name: 'element._index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the data in dataset"
|
description: 'Index of the data in dataset'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loaded",
|
name: 'loaded',
|
||||||
description: "Callback to invoke when chart is loaded.",
|
description: 'Callback to invoke when chart is loaded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "chart",
|
name: 'chart',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Chart instance."
|
description: 'Chart instance.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -84,8 +84,8 @@ const ChartEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
chart: {
|
chart: {
|
||||||
name: "Chart",
|
name: 'Chart',
|
||||||
description: "Chart components are based on Charts.js, an open source HTML5 based charting library.",
|
description: 'Chart components are based on Charts.js, an open source HTML5 based charting library.',
|
||||||
props: ChartProps,
|
props: ChartProps,
|
||||||
events: ChartEvents
|
events: ChartEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,115 +1,115 @@
|
||||||
const CheckboxProps = [
|
const CheckboxProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the checkbox."
|
description: 'Value of the checkbox.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value binding of the checkbox."
|
description: 'Value binding of the checkbox.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "binary",
|
name: 'binary',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Allows to select a boolean value instead of multiple values."
|
description: 'Allows to select a boolean value instead of multiple values.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that an input field is read-only."
|
description: 'When present, it specifies that an input field is read-only.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "required",
|
name: 'required',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element is required."
|
description: 'When present, it specifies that the element is required.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "trueValue",
|
name: 'trueValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value in checked state."
|
description: 'Value in checked state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "falseValue",
|
name: 'falseValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value in unchecked state."
|
description: 'Value in unchecked state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const CheckboxEvents = [
|
const CheckboxEvents = [
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Callback to invoke on value click.",
|
description: 'Callback to invoke on value click.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "input",
|
name: 'input',
|
||||||
description: "Callback to invoke on value change."
|
description: 'Callback to invoke on value change.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
checkbox: {
|
checkbox: {
|
||||||
name: "Checkbox",
|
name: 'Checkbox',
|
||||||
description: "Checkbox is an extension to standard checkbox element with theming.",
|
description: 'Checkbox is an extension to standard checkbox element with theming.',
|
||||||
props: CheckboxProps,
|
props: CheckboxProps,
|
||||||
events: CheckboxEvents
|
events: CheckboxEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +1,45 @@
|
||||||
const ChipProps = [
|
const ChipProps = [
|
||||||
{
|
{
|
||||||
name: "label",
|
name: 'label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the text to display."
|
description: 'Defines the text to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the icon to display."
|
description: 'Defines the icon to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "image",
|
name: 'image',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the image to display."
|
description: 'Defines the image to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "removable",
|
name: 'removable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display a remove icon."
|
description: 'Whether to display a remove icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "removeIconClass",
|
name: 'removeIconClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-times-circle",
|
default: 'pi pi-times-circle',
|
||||||
description: "Icon of the remove element."
|
description: 'Icon of the remove element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ChipEvents = [
|
const ChipEvents = [
|
||||||
{
|
{
|
||||||
name: "remove",
|
name: 'remove',
|
||||||
description: "Callback to invoke when a chip is removed.",
|
description: 'Callback to invoke when a chip is removed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -47,8 +47,8 @@ const ChipEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
chip: {
|
chip: {
|
||||||
name: "Chip",
|
name: 'Chip',
|
||||||
description: "Chip represents entities using icons, labels and images",
|
description: 'Chip represents entities using icons, labels and images',
|
||||||
props: ChipProps,
|
props: ChipProps,
|
||||||
events: ChipEvents
|
events: ChipEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,102 +1,102 @@
|
||||||
const ChipsProps = [
|
const ChipsProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max",
|
name: 'max',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum number of entries allowed."
|
description: 'Maximum number of entries allowed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "separator",
|
name: 'separator',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Separator char to add an item when pressed in addition to the enter key. Currently only possible value is ","'
|
description: 'Separator char to add an item when pressed in addition to the enter key. Currently only possible value is ","'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "addOnBlur",
|
name: 'addOnBlur',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to add an item when the input loses focus."
|
description: 'Whether to add an item when the input loses focus.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "allowDuplicate",
|
name: 'allowDuplicate',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to allow duplicate values or not."
|
description: 'Whether to allow duplicate values or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text for the input."
|
description: 'Placeholder text for the input.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the focus input to match a label defined for the chips."
|
description: 'Identifier of the focus input to match a label defined for the chips.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ChipsEvents = [
|
const ChipsEvents = [
|
||||||
{
|
{
|
||||||
name: "add",
|
name: 'add',
|
||||||
description: "Callback to invoke when a chip is added.",
|
description: 'Callback to invoke when a chip is added.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Added item value"
|
description: 'Added item value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "remove",
|
name: 'remove',
|
||||||
description: "Callback to invoke when a chip is removed.",
|
description: 'Callback to invoke when a chip is removed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Removed item value"
|
description: 'Removed item value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -104,15 +104,15 @@ const ChipsEvents = [
|
||||||
|
|
||||||
const ChipsSlots = [
|
const ChipsSlots = [
|
||||||
{
|
{
|
||||||
name: "chips",
|
name: 'chips',
|
||||||
description: "Custom content for the chips"
|
description: 'Custom content for the chips'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
chips: {
|
chips: {
|
||||||
name: "chips",
|
name: 'chips',
|
||||||
description: "Chips is used to enter multiple values on an input field.",
|
description: 'Chips is used to enter multiple values on an input field.',
|
||||||
props: ChipsProps,
|
props: ChipsProps,
|
||||||
events: ChipsEvents,
|
events: ChipsEvents,
|
||||||
slots: ChipsSlots
|
slots: ChipsSlots
|
||||||
|
|
|
@ -1,109 +1,109 @@
|
||||||
const ColorPickerProps = [
|
const ColorPickerProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "defaultColor",
|
name: 'defaultColor',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "ff0000",
|
default: 'ff0000',
|
||||||
description: "Initial color to display when value is not defined."
|
description: 'Initial color to display when value is not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inline",
|
name: 'inline',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display as an overlay or not."
|
description: 'Whether to display as an overlay or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "format",
|
name: 'format',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "hex",
|
default: 'hex',
|
||||||
description: 'Format to use in value binding, supported formats are "hex", "rgb" and "hsb".'
|
description: 'Format to use in value binding, supported formats are "hex", "rgb" and "hsb".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ColorPickerEvents = [
|
const ColorPickerEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke when a color is selected.",
|
description: 'Callback to invoke when a color is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
description: "Selected color"
|
description: 'Selected color'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when popup is shown."
|
description: 'Callback to invoke when popup is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when popup is hidden."
|
description: 'Callback to invoke when popup is hidden.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
colorpicker: {
|
colorpicker: {
|
||||||
name: "ColorPicker",
|
name: 'ColorPicker',
|
||||||
description: "ColorPicker is an input component to select a color.",
|
description: 'ColorPicker is an input component to select a color.',
|
||||||
props: ColorPickerProps,
|
props: ColorPickerProps,
|
||||||
events: ColorPickerEvents
|
events: ColorPickerEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,303 +1,302 @@
|
||||||
const ColumnProps = [
|
const ColumnProps = [
|
||||||
{
|
{
|
||||||
name: "columnKey",
|
name: 'columnKey',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of a column if field property is not defined."
|
description: 'Identifier of a column if field property is not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "field",
|
name: 'field',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property represented by the column."
|
description: 'Property represented by the column.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortField",
|
name: 'sortField',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name to use in sorting, defaults to field."
|
description: 'Property name to use in sorting, defaults to field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterField",
|
name: 'filterField',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name to use in filtering, defaults to field."
|
description: 'Property name to use in filtering, defaults to field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortable",
|
name: 'sortable',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if a column is sortable."
|
description: 'Defines if a column is sortable.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Header content of the column."
|
description: 'Header content of the column.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Footer content of the column."
|
description: 'Footer content of the column.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "style",
|
name: 'style',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of header, body and footer cells."
|
description: 'Inline style of header, body and footer cells.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "class",
|
name: 'class',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of header, body and footer cells."
|
description: 'Style class of header, body and footer cells.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerStyle",
|
name: 'headerStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the column header."
|
description: 'Inline style of the column header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerClass",
|
name: 'headerClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the column header."
|
description: 'Style class of the column header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "bodyStyle",
|
name: 'bodyStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the column body."
|
description: 'Inline style of the column body.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "bodyClass",
|
name: 'bodyClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the column body."
|
description: 'Style class of the column body.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footerStyle",
|
name: 'footerStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the column footer."
|
description: 'Inline style of the column footer.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footerClass",
|
name: 'footerClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the footer body."
|
description: 'Style class of the footer body.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showFilterMenu",
|
name: 'showFilterMenu',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display the filter overlay."
|
description: 'Whether to display the filter overlay.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showFilterOperator",
|
name: 'showFilterOperator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "When enabled, match all and match any operator selector is displayed."
|
description: 'When enabled, match all and match any operator selector is displayed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showClearButton",
|
name: 'showClearButton',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Displays a button to clear the column filtering."
|
description: 'Displays a button to clear the column filtering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showApplyButton",
|
name: 'showApplyButton',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Displays a button to apply the column filtering."
|
description: 'Displays a button to apply the column filtering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showFilterMatchModes",
|
name: 'showFilterMatchModes',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show the match modes selector."
|
description: 'Whether to show the match modes selector.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showAddButton",
|
name: 'showAddButton',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "When enabled, a button is displayed to add more rules."
|
description: 'When enabled, a button is displayed to add more rules.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMatchModeOptions",
|
name: 'filterMatchModeOptions',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of label-value pairs to override the global match mode options."
|
description: 'An array of label-value pairs to override the global match mode options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxConstraints",
|
name: 'maxConstraints',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "2",
|
default: '2',
|
||||||
description: "Maximum number of constraints for a column filter."
|
description: 'Maximum number of constraints for a column filter.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "excludeGlobalFilter",
|
name: 'excludeGlobalFilter',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to exclude from global filtering or not."
|
description: 'Whether to exclude from global filtering or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterHeaderStyle",
|
name: 'filterHeaderStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the column filter header in row filter display."
|
description: 'Inline style of the column filter header in row filter display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterHeaderClass",
|
name: 'filterHeaderClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the column filter header in row filter display."
|
description: 'Style class of the column filter header in row filter display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMenuStyle",
|
name: 'filterMenuStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the column filter overlay."
|
description: 'Inline style of the column filter overlay.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMenuClass",
|
name: 'filterMenuClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the column filter overlay."
|
description: 'Style class of the column filter overlay.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Defines column based selection mode, options are "single" and "multiple".'
|
description: 'Defines column based selection mode, options are "single" and "multiple".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expander",
|
name: 'expander',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Displays an icon to toggle row expansion."
|
description: 'Displays an icon to toggle row expansion.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "colspan",
|
name: 'colspan',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Number of columns to span for grouping."
|
description: 'Number of columns to span for grouping.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowspan",
|
name: 'rowspan',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Number of rows to span for grouping."
|
description: 'Number of rows to span for grouping.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowReorder",
|
name: 'rowReorder',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether this column displays an icon to reorder the rows."
|
description: 'Whether this column displays an icon to reorder the rows.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowReorderIcon",
|
name: 'rowReorderIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-bars",
|
default: 'pi pi-bars',
|
||||||
description: "Icon of the drag handle to reorder rows."
|
description: 'Icon of the drag handle to reorder rows.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "reorderableColumn",
|
name: 'reorderableColumn',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines if the column itself can be reordered with dragging."
|
description: 'Defines if the column itself can be reordered with dragging.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowEditor",
|
name: 'rowEditor',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, column displays row editor controls."
|
description: 'When enabled, column displays row editor controls.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "frozen",
|
name: 'frozen',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the column is fixed in horizontal scrolling."
|
description: 'Whether the column is fixed in horizontal scrolling.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "alignFrozen",
|
name: 'alignFrozen',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "left",
|
default: 'left',
|
||||||
description: "Position of a frozen column, valid values are left and right."
|
description: 'Position of a frozen column, valid values are left and right.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exportable",
|
name: 'exportable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the column is included in data export."
|
description: 'Whether the column is included in data export.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exportHeader",
|
name: 'exportHeader',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Custom export header of the column to be exported as CSV."
|
description: 'Custom export header of the column to be exported as CSV.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exportFooter",
|
name: 'exportFooter',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Custom export footer of the column to be exported as CSV."
|
description: 'Custom export footer of the column to be exported as CSV.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hidden",
|
name: 'hidden',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the column is rendered."
|
description: 'Whether the column is rendered.'
|
||||||
}
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const ColumnSlots = [
|
const ColumnSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "body",
|
name: 'body',
|
||||||
description: "Custom content for the component's body"
|
description: "Custom content for the component's body"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "editor",
|
name: 'editor',
|
||||||
description: "Custom content for the editing cell"
|
description: 'Custom content for the editing cell'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
description: "Custom content for the filtering items"
|
description: 'Custom content for the filtering items'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterheader",
|
name: 'filterheader',
|
||||||
description: "Custom content for the filter menu's header"
|
description: "Custom content for the filter menu's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterfooter",
|
name: 'filterfooter',
|
||||||
description: "Custom content for the filter menu's footer"
|
description: "Custom content for the filter menu's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterclear",
|
name: 'filterclear',
|
||||||
description: "Custom content for the filter menu's clear section"
|
description: "Custom content for the filter menu's clear section"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterapply",
|
name: 'filterapply',
|
||||||
description: "Custom content for the filter menu's apply section"
|
description: "Custom content for the filter menu's apply section"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
column: {
|
column: {
|
||||||
name: "Column",
|
name: 'Column',
|
||||||
description: "DataTable requires a value as an array of objects and columns defined with Column component.",
|
description: 'DataTable requires a value as an array of objects and columns defined with Column component.',
|
||||||
"doc-url": "datatable",
|
'doc-url': 'datatable',
|
||||||
props: ColumnProps,
|
props: ColumnProps,
|
||||||
slots: ColumnSlots
|
slots: ColumnSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
columngroup: {
|
columngroup: {
|
||||||
name: "ColumnGroup",
|
name: 'ColumnGroup',
|
||||||
description: "Columns can be grouped at header and footer sections by defining a ColumnGroup with nested rows and columns",
|
description: 'Columns can be grouped at header and footer sections by defining a ColumnGroup with nested rows and columns',
|
||||||
"doc-url": "datatable"
|
'doc-url': 'datatable'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,29 +1,29 @@
|
||||||
const ConfirmDialogProps = [
|
const ConfirmDialogProps = [
|
||||||
{
|
{
|
||||||
name: "group",
|
name: 'group',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance."
|
description: 'Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoints",
|
name: 'breakpoints',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Object literal to define widths per screen size."
|
description: 'Object literal to define widths per screen size.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ConfirmDialogSlots = [
|
const ConfirmDialogSlots = [
|
||||||
{
|
{
|
||||||
name: "message",
|
name: 'message',
|
||||||
description: "Custom content for the component."
|
description: 'Custom content for the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
confirmdialog: {
|
confirmdialog: {
|
||||||
name: "ConfirmDialog",
|
name: 'ConfirmDialog',
|
||||||
description: "ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.",
|
description: 'ConfirmDialog uses a Dialog UI that is integrated with the Confirmation API.',
|
||||||
props: ConfirmDialogProps,
|
props: ConfirmDialogProps,
|
||||||
slots: ConfirmDialogSlots
|
slots: ConfirmDialogSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
const ConfirmPopupProps = [
|
const ConfirmPopupProps = [
|
||||||
{
|
{
|
||||||
name: "group",
|
name: 'group',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance."
|
description: 'Optional key to match the key of the confirmation, useful to target a specific confirm dialog instance.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ConfirmPopupSlots = [
|
const ConfirmPopupSlots = [
|
||||||
{
|
{
|
||||||
name: "message",
|
name: 'message',
|
||||||
description: "Custom content for the component."
|
description: 'Custom content for the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
confirmpopup: {
|
confirmpopup: {
|
||||||
name: "ConfirmPopup",
|
name: 'ConfirmPopup',
|
||||||
description: "ConfirmPopup displays a confirmation overlay displayed relatively to its target.",
|
description: 'ConfirmPopup displays a confirmation overlay displayed relatively to its target.',
|
||||||
props: ConfirmPopupProps,
|
props: ConfirmPopupProps,
|
||||||
slots: ConfirmPopupSlots
|
slots: ConfirmPopupSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,53 +1,53 @@
|
||||||
const ContextMenuProps = [
|
const ContextMenuProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "global",
|
name: 'global',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Attaches the menu to document instead of a particular item."
|
description: 'Attaches the menu to document instead of a particular item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ContextMenuSlots = [
|
const ContextMenuSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
contextmenu: {
|
contextmenu: {
|
||||||
name: "ContextMenu",
|
name: 'ContextMenu',
|
||||||
description: "ContextMenu displays an overlay menu on right click of its target.",
|
description: 'ContextMenu displays an overlay menu on right click of its target.',
|
||||||
props: ContextMenuProps,
|
props: ContextMenuProps,
|
||||||
slots: ContextMenuSlots
|
slots: ContextMenuSlots
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,126 +1,126 @@
|
||||||
const DataViewProps = [
|
const DataViewProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of objects to display."
|
description: 'An array of objects to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "layout",
|
name: 'layout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "list",
|
default: 'list',
|
||||||
description: 'Layout of the items, valid values are "list" and "grid".'
|
description: 'Layout of the items, valid values are "list" and "grid".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rows",
|
name: 'rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Number of rows to display per page."
|
description: 'Number of rows to display per page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "first",
|
name: 'first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "ndex of the first record to render."
|
description: 'ndex of the first record to render.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "totalRecords",
|
name: 'totalRecords',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Number of total records, defaults to length of value when not defined."
|
description: 'Number of total records, defaults to length of value when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginator",
|
name: 'paginator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified as true, enables the pagination."
|
description: 'When specified as true, enables the pagination.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorPosition",
|
name: 'paginatorPosition',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "bottom",
|
default: 'bottom',
|
||||||
description: 'Position of the paginator, options are "top","bottom" or "both".'
|
description: 'Position of the paginator, options are "top","bottom" or "both".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "alwaysShowPaginator",
|
name: 'alwaysShowPaginator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show it even there is only one page."
|
description: 'Whether to show it even there is only one page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorTemplate",
|
name: 'paginatorTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
|
default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
||||||
description: "Template of the paginator."
|
description: 'Template of the paginator.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "pageLinkSize",
|
name: 'pageLinkSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Number of page links to display."
|
description: 'Number of page links to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowsPerPageOptions",
|
name: 'rowsPerPageOptions',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Array of integer values to display inside rows per page dropdown."
|
description: 'Array of integer values to display inside rows per page dropdown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "currentPageReportTemplate",
|
name: 'currentPageReportTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "({currentPage} of {totalPages})",
|
default: '({currentPage} of {totalPages})',
|
||||||
description: "Template of the current page report element."
|
description: 'Template of the current page report element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortField",
|
name: 'sortField',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or a getter function of data to use in sorting by default."
|
description: 'Property name or a getter function of data to use in sorting by default.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortOrder",
|
name: 'sortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Order to sort the data by default."
|
description: 'Order to sort the data by default.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "lazy",
|
name: 'lazy',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if data is loaded and interacted with in lazy manner."
|
description: 'Defines if data is loaded and interacted with in lazy manner.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the data that uniquely identifies the a record in the data."
|
description: 'Name of the data that uniquely identifies the a record in the data.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const DataViewEvents = [
|
const DataViewEvents = [
|
||||||
{
|
{
|
||||||
name: "page",
|
name: 'page',
|
||||||
description: "Callback to invoke when page changes, the event object contains information about the new state.",
|
description: 'Callback to invoke when page changes, the event object contains information about the new state.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.page",
|
name: 'event.page',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New page number"
|
description: 'New page number'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.first",
|
name: 'event.first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of first record"
|
description: 'Index of first record'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.rows",
|
name: 'event.rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Number of rows to display in new page"
|
description: 'Number of rows to display in new page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.pageCount",
|
name: 'event.pageCount',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Total number of pages"
|
description: 'Total number of pages'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -128,39 +128,39 @@ const DataViewEvents = [
|
||||||
|
|
||||||
const DataViewSlots = [
|
const DataViewSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorstart",
|
name: 'paginatorstart',
|
||||||
description: "Custom content for the component paginator's left side"
|
description: "Custom content for the component paginator's left side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorend",
|
name: 'paginatorend',
|
||||||
description: "Custom content for the component paginator's right side"
|
description: "Custom content for the component paginator's right side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "list",
|
name: 'list',
|
||||||
description: "Content for the list layout"
|
description: 'Content for the list layout'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "grid",
|
name: 'grid',
|
||||||
description: "Content for the grid layout"
|
description: 'Content for the grid layout'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dataview: {
|
dataview: {
|
||||||
name: "DataView",
|
name: 'DataView',
|
||||||
description: "DataView displays data in grid or list layout with pagination and sorting features.",
|
description: 'DataView displays data in grid or list layout with pagination and sorting features.',
|
||||||
props: DataViewProps,
|
props: DataViewProps,
|
||||||
events: DataViewEvents,
|
events: DataViewEvents,
|
||||||
slots: DataViewSlots
|
slots: DataViewSlots
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dataviewlayoutoptions: {
|
dataviewlayoutoptions: {
|
||||||
name: "DataViewLayoutOptions",
|
name: 'DataViewLayoutOptions',
|
||||||
description: "When both layout modes are enabled in DataView, a UI element would be necessary to let the user toggle between the view. DataViewLayoutOptions is a helper component to display a buttonset to choose the layout mode in DataView.",
|
description: 'When both layout modes are enabled in DataView, a UI element would be necessary to let the user toggle between the view. DataViewLayoutOptions is a helper component to display a buttonset to choose the layout mode in DataView.',
|
||||||
"doc-url": "dataview"
|
'doc-url': 'dataview'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
const DeferredContentEvents = [
|
const DeferredContentEvents = [
|
||||||
{
|
{
|
||||||
name: "load",
|
name: 'load',
|
||||||
description: "Callback to invoke when deferred content is loaded..",
|
description: 'Callback to invoke when deferred content is loaded..',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Event object"
|
description: 'Event object'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -14,8 +14,8 @@ const DeferredContentEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
deferredcontent: {
|
deferredcontent: {
|
||||||
name: "DeferredContent",
|
name: 'DeferredContent',
|
||||||
description: "DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.",
|
description: 'DeferredContent postpones the loading the content that is initially not in the viewport until it becomes visible on scroll.',
|
||||||
events: DeferredContentEvents
|
events: DeferredContentEvents
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,181 +1,181 @@
|
||||||
const DialogProps = [
|
const DialogProps = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Title content of the dialog."
|
description: 'Title content of the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Footer content of the dialog."
|
description: 'Footer content of the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "visible",
|
name: 'visible',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies the visibility of the dialog."
|
description: 'Specifies the visibility of the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "modal",
|
name: 'modal',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines if background should be blocked when dialog is displayed."
|
description: 'Defines if background should be blocked when dialog is displayed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "closeOnEscape",
|
name: 'closeOnEscape',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Specifies if pressing escape key should hide the dialog."
|
description: 'Specifies if pressing escape key should hide the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dismissableMask",
|
name: 'dismissableMask',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies if clicking the modal background should hide the dialog."
|
description: 'Specifies if clicking the modal background should hide the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: 'position',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "center",
|
default: 'center',
|
||||||
description: 'Position of the dialog, options are "center", "top", "bottom", "left", "right", "topleft", "topright", "bottomleft" or "bottomright".'
|
description: 'Position of the dialog, options are "center", "top", "bottom", "left", "right", "topleft", "topright", "bottomleft" or "bottomright".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentStyle",
|
name: 'contentStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style of the content section."
|
description: 'Style of the content section.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentClass",
|
name: 'contentClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the content section."
|
description: 'Style class of the content section.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rtl",
|
name: 'rtl',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "When enabled dialog is displayed in RTL direction."
|
description: 'When enabled dialog is displayed in RTL direction.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "closable",
|
name: 'closable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Adds a close icon to the header to hide the dialog."
|
description: 'Adds a close icon to the header to hide the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showHeader",
|
name: 'showHeader',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show the header or not."
|
description: 'Whether to show the header or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ariaCloseLabel",
|
name: 'ariaCloseLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "close",
|
default: 'close',
|
||||||
description: "Aria label of the close icon."
|
description: 'Aria label of the close icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maximizable",
|
name: 'maximizable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the dialog can be displayed full screen."
|
description: 'Whether the dialog can be displayed full screen.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoints",
|
name: 'breakpoints',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Object literal to define widths per screen size."
|
description: 'Object literal to define widths per screen size.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "draggable",
|
name: 'draggable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the dialog can be relocated by dragging."
|
description: 'Whether the dialog can be relocated by dragging.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minX",
|
name: 'minX',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Minimum value for the left coordinate of dialog in dragging."
|
description: 'Minimum value for the left coordinate of dialog in dragging.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minY",
|
name: 'minY',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Minimum value for the top coordinate of dialog in dragging."
|
description: 'Minimum value for the top coordinate of dialog in dragging.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "keepInViewport",
|
name: 'keepInViewport',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Keeps dialog in the viewport when dragging."
|
description: 'Keeps dialog in the viewport when dragging.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const DialogEvents = [
|
const DialogEvents = [
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when dialog is hidden."
|
description: 'Callback to invoke when dialog is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "after-hide",
|
name: 'after-hide',
|
||||||
description: "Callback to invoke after dialog is hidden."
|
description: 'Callback to invoke after dialog is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when dialog is showed."
|
description: 'Callback to invoke when dialog is showed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maximize",
|
name: 'maximize',
|
||||||
description: "Fired when a dialog gets maximized.",
|
description: 'Fired when a dialog gets maximized.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Event Object"
|
description: 'Event Object'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "unmaximize",
|
name: 'unmaximize',
|
||||||
description: "Fired when a dialog gets unmaximized.",
|
description: 'Fired when a dialog gets unmaximized.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Event Object"
|
description: 'Event Object'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dragend",
|
name: 'dragend',
|
||||||
description: "Fired when a dialog drag completes.",
|
description: 'Fired when a dialog drag completes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Event Object"
|
description: 'Event Object'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -183,19 +183,19 @@ const DialogEvents = [
|
||||||
|
|
||||||
const DialogSlots = [
|
const DialogSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dialog: {
|
dialog: {
|
||||||
name: "Dialog",
|
name: 'Dialog',
|
||||||
description: "Dialog is a container to display content in an overlay window.",
|
description: 'Dialog is a container to display content in an overlay window.',
|
||||||
props: DialogProps,
|
props: DialogProps,
|
||||||
events: DialogEvents,
|
events: DialogEvents,
|
||||||
slots: DialogSlots
|
slots: DialogSlots
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
const DividerProps = [
|
const DividerProps = [
|
||||||
{
|
{
|
||||||
name: "align",
|
name: 'align',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Alignment of the content, options are "left", "center", "right" for horizontal layout and "top", "center", "bottom" for vertical.'
|
description: 'Alignment of the content, options are "left", "center", "right" for horizontal layout and "top", "center", "bottom" for vertical.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "layout",
|
name: 'layout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "horizontal",
|
default: 'horizontal',
|
||||||
description: 'Specifies the orientation, valid values are "horizontal" and "vertical".'
|
description: 'Specifies the orientation, valid values are "horizontal" and "vertical".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "type",
|
name: 'type',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "solid",
|
default: 'solid',
|
||||||
description: 'Border style type, default is "solid" and other options are "dashed" and "dotted".'
|
description: 'Border style type, default is "solid" and other options are "dashed" and "dotted".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
divider: {
|
divider: {
|
||||||
name: "Divider",
|
name: 'Divider',
|
||||||
description: "Divider is used to separate contents.",
|
description: 'Divider is used to separate contents.',
|
||||||
props: DividerProps
|
props: DividerProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,58 +1,58 @@
|
||||||
const DockProps = [
|
const DockProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "MenuModel instance to define the action items."
|
description: 'MenuModel instance to define the action items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: 'position',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "bottom",
|
default: 'bottom',
|
||||||
description: "Position of element. Valid values are 'bottom', 'top', 'left' and 'right'."
|
description: "Position of element. Valid values are 'bottom', 'top', 'left' and 'right'."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "class",
|
name: 'class',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the element."
|
description: 'Style class of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "style",
|
name: 'style',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the element."
|
description: 'Inline style of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tooltipOptions",
|
name: 'tooltipOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
|
description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const DockSlots = [
|
const DockSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item."
|
description: 'Custom content for the item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
description: "Custom content for the icon."
|
description: 'Custom content for the icon.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dock: {
|
dock: {
|
||||||
name: "Dock",
|
name: 'Dock',
|
||||||
description: "Dock is a navigation component consisting of menuitems.",
|
description: 'Dock is a navigation component consisting of menuitems.',
|
||||||
props: DockProps,
|
props: DockProps,
|
||||||
slots: DockSlots
|
slots: DockSlots
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
@ -1,332 +1,332 @@
|
||||||
const DropdownProps = [
|
const DropdownProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of selectitems to display as the available options."
|
description: 'An array of selectitems to display as the available options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionValue",
|
name: 'optionValue',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
|
description: 'Property name or getter function to use as the value of an option, defaults to the option itself when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupLabel",
|
name: 'optionGroupLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option group."
|
description: 'Property name or getter function to use as the label of an option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupChildren",
|
name: 'optionGroupChildren',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function that refers to the children options of option group."
|
description: 'Property name or getter function that refers to the children options of option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "200px",
|
default: '200px',
|
||||||
description: "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
|
description: 'Height of the viewport, a scrollbar is defined if height of list exceeds this value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, displays a filter input at header."
|
description: 'When specified, displays a filter input at header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterPlaceholder",
|
name: 'filterPlaceholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text to show when filter input is empty."
|
description: 'Placeholder text to show when filter input is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterLocale",
|
name: 'filterLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMatchMode",
|
name: 'filterMatchMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "contains",
|
default: 'contains',
|
||||||
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterFields",
|
name: 'filterFields',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Fields used when filtering the options, defaults to optionLabel."
|
description: 'Fields used when filtering the options, defaults to optionLabel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "editable",
|
name: 'editable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, custom value instead of predefined options can be entered using the editable input field."
|
description: 'When present, custom value instead of predefined options can be entered using the editable input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Default text to display when no option is selected."
|
description: 'Default text to display when no option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showClear",
|
name: 'showClear',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, a clear icon is displayed to clear the value."
|
description: 'When enabled, a clear icon is displayed to clear the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterInputProps",
|
name: 'filterInputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the filter input inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "clearIconProps",
|
name: 'clearIconProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLElement to the clear icon inside the component."
|
description: 'Uses to pass all properties of the HTMLElement to the clear icon inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
|
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the multiselect is in loading state."
|
description: 'Whether the multiselect is in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner pi-spin",
|
default: 'pi pi-spinner pi-spin',
|
||||||
description: "Icon to display in loading state."
|
description: 'Icon to display in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "resetFilterOnHide",
|
name: 'resetFilterOnHide',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Clears the filter value when hiding the dropdown."
|
description: 'Clears the filter value when hiding the dropdown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "virtualScrollerOptions",
|
name: 'virtualScrollerOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
|
description: 'Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoOptionFocus",
|
name: 'autoOptionFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to focus on the first visible or selected element when the overlay panel is shown."
|
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoFilterFocus",
|
name: 'autoFilterFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to focus on the filter element when the overlay panel is shown."
|
description: 'Whether to focus on the filter element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused option is selected."
|
description: 'When enabled, the focused option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMessage",
|
name: 'filterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} results are available",
|
default: '{0} results are available',
|
||||||
description: "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMessage",
|
name: 'selectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySelectionMessage",
|
name: 'emptySelectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No selected item",
|
default: 'No selected item',
|
||||||
description: "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyFilterMessage",
|
name: 'emptyFilterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyMessage",
|
name: 'emptyMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const DropdownEvents = [
|
const DropdownEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when component receives focus.",
|
description: 'Callback to invoke when component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when component loses focus.",
|
description: 'Callback to invoke when component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-show",
|
name: 'before-show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-hide",
|
name: 'before-hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
description: "Callback to invoke when the overlay is shown.",
|
description: 'Callback to invoke when the overlay is shown.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Filter value"
|
description: 'Filter value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -334,51 +334,51 @@ const DropdownEvents = [
|
||||||
|
|
||||||
const DropdownSlots = [
|
const DropdownSlots = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
description: "Custom content for the item's value"
|
description: "Custom content for the item's value"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom content for the dropdown indicator"
|
description: 'Custom content for the dropdown indicator'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item's option"
|
description: "Custom content for the item's option"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optiongroup",
|
name: 'optiongroup',
|
||||||
description: "Custom content for the item's optiongroup"
|
description: "Custom content for the item's optiongroup"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyfilter",
|
name: 'emptyfilter',
|
||||||
description: "Custom content when there is no filtered data to display"
|
description: 'Custom content when there is no filtered data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the virtual scroller"
|
description: 'Custom content for the virtual scroller'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loader",
|
name: 'loader',
|
||||||
description: "Custom content for the virtual scroller loader items"
|
description: 'Custom content for the virtual scroller loader items'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dropdown: {
|
dropdown: {
|
||||||
name: "Dropdown",
|
name: 'Dropdown',
|
||||||
description: "Dropdown is used to select an item from a list of options.",
|
description: 'Dropdown is used to select an item from a list of options.',
|
||||||
props: DropdownProps,
|
props: DropdownProps,
|
||||||
events: DropdownEvents,
|
events: DropdownEvents,
|
||||||
slots: DropdownSlots
|
slots: DropdownSlots
|
||||||
|
|
|
@ -6,8 +6,8 @@ const DynamicDialogSlots = [];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
dynamicdialog: {
|
dynamicdialog: {
|
||||||
name: "DynamicDialog",
|
name: 'DynamicDialog',
|
||||||
description: "Dialogs can be created dynamically with any component as the content using a DialogService.",
|
description: 'Dialogs can be created dynamically with any component as the content using a DialogService.',
|
||||||
props: DynamicDialogProps,
|
props: DynamicDialogProps,
|
||||||
events: DynamicDialogEvents,
|
events: DynamicDialogEvents,
|
||||||
slots: DynamicDialogSlots
|
slots: DynamicDialogSlots
|
||||||
|
|
|
@ -1,33 +1,33 @@
|
||||||
const EditorProps = [
|
const EditorProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the content."
|
description: 'Value of the content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text to show when editor is empty."
|
description: 'Placeholder text to show when editor is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to instantiate the editor to readonly mode."
|
description: 'Whether to instantiate the editor to readonly mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "formats",
|
name: 'formats',
|
||||||
type: "string[]",
|
type: 'string[]',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whitelist of formats to display."
|
description: 'Whitelist of formats to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "editorStyle",
|
name: 'editorStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the container."
|
description: 'Inline style of the container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'modules',
|
name: 'modules',
|
||||||
|
@ -39,69 +39,69 @@ const EditorProps = [
|
||||||
|
|
||||||
const EditorEvents = [
|
const EditorEvents = [
|
||||||
{
|
{
|
||||||
name: "text-change",
|
name: 'text-change',
|
||||||
description: "Callback to invoke when text of editor changes.",
|
description: 'Callback to invoke when text of editor changes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.delta",
|
name: 'event.delta',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Representation of the change."
|
description: 'Representation of the change.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.source",
|
name: 'event.source',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: 'Source of change. Will be either "user" or "api".'
|
description: 'Source of change. Will be either "user" or "api".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.htmlValue",
|
name: 'event.htmlValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Current value as html."
|
description: 'Current value as html.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.textValue",
|
name: 'event.textValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Current value as text."
|
description: 'Current value as text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.instance",
|
name: 'event.instance',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Text editor instance."
|
description: 'Text editor instance.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selection-change",
|
name: 'selection-change',
|
||||||
description: "Callback to invoke when selection of the text changes.",
|
description: 'Callback to invoke when selection of the text changes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.range",
|
name: 'event.range',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Representation of the selection boundaries."
|
description: 'Representation of the selection boundaries.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.oldRange",
|
name: 'event.oldRange',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: 'Representation of the previous selection boundaries.'
|
description: 'Representation of the previous selection boundaries.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.source",
|
name: 'event.source',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: 'Source of change. Will be either "user" or "api".'
|
description: 'Source of change. Will be either "user" or "api".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.htmlValue",
|
name: 'event.htmlValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Current value as html."
|
description: 'Current value as html.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.textValue",
|
name: 'event.textValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Current value as text."
|
description: 'Current value as text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.instance",
|
name: 'event.instance',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Text editor instance."
|
description: 'Text editor instance.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -120,15 +120,15 @@ const EditorEvents = [
|
||||||
|
|
||||||
const EditorSlots = [
|
const EditorSlots = [
|
||||||
{
|
{
|
||||||
name: "toolbar",
|
name: 'toolbar',
|
||||||
description: "Custom content for the component's toolbar"
|
description: "Custom content for the component's toolbar"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
editor: {
|
editor: {
|
||||||
name: "Editor",
|
name: 'Editor',
|
||||||
description: "Editor is rich text editor component based on Quill.",
|
description: 'Editor is rich text editor component based on Quill.',
|
||||||
props: EditorProps,
|
props: EditorProps,
|
||||||
events: EditorEvents,
|
events: EditorEvents,
|
||||||
slots: EditorSlots
|
slots: EditorSlots
|
||||||
|
|
|
@ -1,45 +1,44 @@
|
||||||
const FieldsetProps = [
|
const FieldsetProps = [
|
||||||
{
|
{
|
||||||
name: "legend",
|
name: 'legend',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Header text of the fieldset."
|
description: 'Header text of the fieldset.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toggleable",
|
name: 'toggleable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description:
|
description: 'When specified, content can toggled by clicking the legend.'
|
||||||
"When specified, content can toggled by clicking the legend."
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "collapsed",
|
name: 'collapsed',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines the default visibility state of the content."
|
description: 'Defines the default visibility state of the content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toggleButtonProps",
|
name: 'toggleButtonProps',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass the custom value to read for the anchor inside the component."
|
description: 'Uses to pass the custom value to read for the anchor inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const FieldsetEvents = [
|
const FieldsetEvents = [
|
||||||
{
|
{
|
||||||
name: "toggle",
|
name: 'toggle',
|
||||||
description: "Callback to invoke when a tab gets expanded or collapsed.",
|
description: 'Callback to invoke when a tab gets expanded or collapsed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
description: "collapsed state as a boolean"
|
description: 'collapsed state as a boolean'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -47,15 +46,15 @@ const FieldsetEvents = [
|
||||||
|
|
||||||
const FieldsetSlots = [
|
const FieldsetSlots = [
|
||||||
{
|
{
|
||||||
name: "legend",
|
name: 'legend',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
fieldset: {
|
fieldset: {
|
||||||
name: "Fieldset",
|
name: 'Fieldset',
|
||||||
description: "Fieldset is a grouping component with the optional content toggle feature.",
|
description: 'Fieldset is a grouping component with the optional content toggle feature.',
|
||||||
props: FieldsetProps,
|
props: FieldsetProps,
|
||||||
events: FieldsetEvents,
|
events: FieldsetEvents,
|
||||||
slots: FieldsetSlots
|
slots: FieldsetSlots
|
||||||
|
|
|
@ -1,275 +1,275 @@
|
||||||
const FileUploadProps = [
|
const FileUploadProps = [
|
||||||
{
|
{
|
||||||
name: "name",
|
name: 'name',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the request parameter to identify the files at backend."
|
description: 'Name of the request parameter to identify the files at backend.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "url",
|
name: 'url',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Remote url to upload the files."
|
description: 'Remote url to upload the files.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mode",
|
name: 'mode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "advanced",
|
default: 'advanced',
|
||||||
description: 'Defines the UI of the component, possible values are "advanced" and "basic".'
|
description: 'Defines the UI of the component, possible values are "advanced" and "basic".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiple",
|
name: 'multiple',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Used to select multiple files at once from file dialog."
|
description: 'Used to select multiple files at once from file dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "accept",
|
name: 'accept',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Pattern to restrict the allowed file types such as "image/*".'
|
description: 'Pattern to restrict the allowed file types such as "image/*".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Disables the upload functionality."
|
description: 'Disables the upload functionality.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "auto",
|
name: 'auto',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, upload begins automatically after selection is completed."
|
description: 'When enabled, upload begins automatically after selection is completed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxFileSize",
|
name: 'maxFileSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum file size allowed in bytes."
|
description: 'Maximum file size allowed in bytes.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "invalidFileSizeMessage",
|
name: 'invalidFileSizeMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: '"{0}: Invalid file size, file size should be smaller than {1}."',
|
default: '"{0}: Invalid file size, file size should be smaller than {1}."',
|
||||||
description: "Message of the invalid fize size."
|
description: 'Message of the invalid fize size.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "invalidFileLimitMessage",
|
name: 'invalidFileLimitMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "Maximum number of files exceeded, limit is {0} at most.",
|
default: 'Maximum number of files exceeded, limit is {0} at most.',
|
||||||
description: "Message to display when number of files to be uploaded exceeeds the limit."
|
description: 'Message to display when number of files to be uploaded exceeeds the limit.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fileLimit",
|
name: 'fileLimit',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum number of files that can be uploaded."
|
description: 'Maximum number of files that can be uploaded.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "withCredentials",
|
name: 'withCredentials',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates."
|
description: 'Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "previewWidth",
|
name: 'previewWidth',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "50",
|
default: '50',
|
||||||
description: "Width of the image thumbnail in pixels."
|
description: 'Width of the image thumbnail in pixels.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "chooseLabel",
|
name: 'chooseLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Label of the choose button. Defaults to PrimeVue Locale configuration."
|
description: 'Label of the choose button. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "uploadLabel",
|
name: 'uploadLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "Upoad",
|
default: 'Upoad',
|
||||||
description: "Label of the upload button. Defaults to PrimeVue Locale configuration."
|
description: 'Label of the upload button. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "cancelLabel",
|
name: 'cancelLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "Cancel",
|
default: 'Cancel',
|
||||||
description: "Label of the cancel button. Defaults to PrimeVue Locale configuration."
|
description: 'Label of the cancel button. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "customUpload",
|
name: 'customUpload',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to use the default upload or a manual implementation defined in uploadHandler callback. Defaults to PrimeVue Locale configuration."
|
description: 'Whether to use the default upload or a manual implementation defined in uploadHandler callback. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showUploadButton",
|
name: 'showUploadButton',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show the upload button."
|
description: 'Whether to show the upload button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showCancelButton",
|
name: 'showCancelButton',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to cancel the upload button."
|
description: 'Whether to cancel the upload button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "chooseIcon",
|
name: 'chooseIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-plus",
|
default: 'pi pi-plus',
|
||||||
description: "Icon of the choose button."
|
description: 'Icon of the choose button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "uploadIcon",
|
name: 'uploadIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-upload",
|
default: 'pi pi-upload',
|
||||||
description: "Icon of the upload button."
|
description: 'Icon of the upload button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "cancelIcon",
|
name: 'cancelIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-times",
|
default: 'pi pi-times',
|
||||||
description: "Icon of the cancel button."
|
description: 'Icon of the cancel button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "style",
|
name: 'style',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the component."
|
description: 'Inline style of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "class",
|
name: 'class',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the component."
|
description: 'Style class of the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const FileUploadEvents = [
|
const FileUploadEvents = [
|
||||||
{
|
{
|
||||||
name: "before-upload",
|
name: 'before-upload',
|
||||||
description: "Callback to invoke before file upload begins to customize the request such as post parameters before the files.",
|
description: 'Callback to invoke before file upload begins to customize the request such as post parameters before the files.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.xhr",
|
name: 'event.xhr',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "XmlHttpRequest instance."
|
description: 'XmlHttpRequest instance.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.formData",
|
name: 'event.formData',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "FormData object."
|
description: 'FormData object.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-send",
|
name: 'before-send',
|
||||||
description: "Callback to invoke before file send begins to customize the request such as adding headers.",
|
description: 'Callback to invoke before file send begins to customize the request such as adding headers.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.xhr",
|
name: 'event.xhr',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "XmlHttpRequest instance."
|
description: 'XmlHttpRequest instance.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.formData",
|
name: 'event.formData',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "FormData object."
|
description: 'FormData object.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "upload",
|
name: 'upload',
|
||||||
description: "Callback to invoke when file upload is complete.",
|
description: 'Callback to invoke when file upload is complete.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.xhr",
|
name: 'event.xhr',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "XmlHttpRequest instance."
|
description: 'XmlHttpRequest instance.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.files",
|
name: 'event.files',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Uploaded files."
|
description: 'Uploaded files.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "error",
|
name: 'error',
|
||||||
description: "Callback to invoke if file upload fails.",
|
description: 'Callback to invoke if file upload fails.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.xhr",
|
name: 'event.xhr',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "XmlHttpRequest instance."
|
description: 'XmlHttpRequest instance.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.files",
|
name: 'event.files',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Files that are not uploaded."
|
description: 'Files that are not uploaded.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "clear",
|
name: 'clear',
|
||||||
description: "Callback to invoke when files in queue are removed without uploading."
|
description: 'Callback to invoke when files in queue are removed without uploading.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "select",
|
name: 'select',
|
||||||
description: "Callback to invoke when file upload is complete.",
|
description: 'Callback to invoke when file upload is complete.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original browser event."
|
description: 'Original browser event.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.files",
|
name: 'event.files',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "List of selected files."
|
description: 'List of selected files.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "progress",
|
name: 'progress',
|
||||||
description: "Callback to invoke when files are selected.",
|
description: 'Callback to invoke when files are selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original browser event."
|
description: 'Original browser event.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.progress",
|
name: 'event.progress',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Calculated progress value."
|
description: 'Calculated progress value.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "uploader",
|
name: 'uploader',
|
||||||
description: "Callback to invoke to implement a custom upload.",
|
description: 'Callback to invoke to implement a custom upload.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.files",
|
name: 'event.files',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "List of selected files."
|
description: 'List of selected files.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "remove",
|
name: 'remove',
|
||||||
description: "Callback to invoke when a singe file is removed from the list.",
|
description: 'Callback to invoke when a singe file is removed from the list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.file",
|
name: 'event.file',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Removed file."
|
description: 'Removed file.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.files",
|
name: 'event.files',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Remaining files to be uploaded."
|
description: 'Remaining files to be uploaded.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -277,15 +277,15 @@ const FileUploadEvents = [
|
||||||
|
|
||||||
const FileUploadSlots = [
|
const FileUploadSlots = [
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no selected file"
|
description: 'Custom content when there is no selected file'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
fileupload: {
|
fileupload: {
|
||||||
name: "FileUpload",
|
name: 'FileUpload',
|
||||||
description: "FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.",
|
description: 'FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.',
|
||||||
props: FileUploadProps,
|
props: FileUploadProps,
|
||||||
events: FileUploadEvents,
|
events: FileUploadEvents,
|
||||||
slots: FileUploadSlots
|
slots: FileUploadSlots
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
const FullCalendarProps = [
|
const FullCalendarProps = [
|
||||||
{
|
{
|
||||||
name: "events",
|
name: 'events',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of events to display."
|
description: 'An array of events to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A configuration object to define properties of FullCalendar."
|
description: 'A configuration object to define properties of FullCalendar.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
fullcalendar: {
|
fullcalendar: {
|
||||||
name: "FullCalendar",
|
name: 'FullCalendar',
|
||||||
description: "An event calendar based on the FullCalendar library.",
|
description: 'An event calendar based on the FullCalendar library.',
|
||||||
props: FullCalendarProps
|
props: FullCalendarProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,181 +1,181 @@
|
||||||
const GalleriaProps = [
|
const GalleriaProps = [
|
||||||
{
|
{
|
||||||
name: "id",
|
name: 'id',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Unique identifier of the element."
|
description: 'Unique identifier of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of objects to display."
|
description: 'An array of objects to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "activeIndex",
|
name: 'activeIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the first item."
|
description: 'Index of the first item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fullscreen",
|
name: 'fullscreen',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display the component on fullscreen."
|
description: 'Whether to display the component on fullscreen.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "visible",
|
name: 'visible',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies the visibility of the mask on fullscreen mode."
|
description: 'Specifies the visibility of the mask on fullscreen mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "numVisible",
|
name: 'numVisible',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "3",
|
default: '3',
|
||||||
description: "Number of items per page."
|
description: 'Number of items per page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "responsiveOptions",
|
name: 'responsiveOptions',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of options for responsive design."
|
description: 'An array of options for responsive design.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showItemNavigators",
|
name: 'showItemNavigators',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display navigation buttons in item section."
|
description: 'Whether to display navigation buttons in item section.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showThumbnailNavigators",
|
name: 'showThumbnailNavigators',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display navigation buttons in thumbnail container."
|
description: 'Whether to display navigation buttons in thumbnail container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showItemNavigatorsOnHover",
|
name: 'showItemNavigatorsOnHover',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display navigation buttons on item hover."
|
description: 'Whether to display navigation buttons on item hover.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "changeItemOnIndicatorHover",
|
name: 'changeItemOnIndicatorHover',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, item is changed on indicator hover."
|
description: 'When enabled, item is changed on indicator hover.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "circular",
|
name: 'circular',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if scrolling would be infinite."
|
description: 'Defines if scrolling would be infinite.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoPlay",
|
name: 'autoPlay',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Items are displayed with a slideshow in autoPlay mode."
|
description: 'Items are displayed with a slideshow in autoPlay mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "transitionInterval",
|
name: 'transitionInterval',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "4000",
|
default: '4000',
|
||||||
description: "Time in milliseconds to scroll items."
|
description: 'Time in milliseconds to scroll items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showThumbnails",
|
name: 'showThumbnails',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display thumbnail container."
|
description: 'Whether to display thumbnail container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "thumbnailsPosition",
|
name: 'thumbnailsPosition',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "bottom",
|
default: 'bottom',
|
||||||
description: 'Position of thumbnails. Valid values are "bottom", "top", "left" and "right".'
|
description: 'Position of thumbnails. Valid values are "bottom", "top", "left" and "right".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "verticalThumbnailViewPortHeight",
|
name: 'verticalThumbnailViewPortHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "300px",
|
default: '300px',
|
||||||
description: "Height of the viewport in vertical thumbnail."
|
description: 'Height of the viewport in vertical thumbnail.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIndicators",
|
name: 'showIndicators',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display indicator container."
|
description: 'Whether to display indicator container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIndicatorsOnItem",
|
name: 'showIndicatorsOnItem',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, indicator container is displayed on item container."
|
description: 'When enabled, indicator container is displayed on item container.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicatorsPosition",
|
name: 'indicatorsPosition',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "bottom",
|
default: 'bottom',
|
||||||
description: 'Position of indicators. Valid values are "bottom", "top", "left" and "right".'
|
description: 'Position of indicators. Valid values are "bottom", "top", "left" and "right".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "ase zIndex value to use in layering."
|
description: 'ase zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maskClass",
|
name: 'maskClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the mask on fullscreen mode."
|
description: 'Style class of the mask on fullscreen mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "containerStyle",
|
name: 'containerStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used."
|
description: "Inline style of the component on fullscreen mode. Otherwise, the 'style' property can be used."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "containerClass",
|
name: 'containerClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used."
|
description: "Style class of the component on fullscreen mode. Otherwise, the 'class' property can be used."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const GalleriaSlots = [
|
const GalleriaSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item"
|
description: 'Custom content for the item'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "caption",
|
name: 'caption',
|
||||||
description: "Custom caption content"
|
description: 'Custom caption content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "thumbnail",
|
name: 'thumbnail',
|
||||||
description: "Custom thumbnail content"
|
description: 'Custom thumbnail content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom indicator content"
|
description: 'Custom indicator content'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
galleria: {
|
galleria: {
|
||||||
name: "Galleria",
|
name: 'Galleria',
|
||||||
description: "Galleria is an advanced content gallery component.",
|
description: 'Galleria is an advanced content gallery component.',
|
||||||
props: GalleriaProps,
|
props: GalleriaProps,
|
||||||
slots: GalleriaSlots
|
slots: GalleriaSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,38 +1,38 @@
|
||||||
const ImageProps = [
|
const ImageProps = [
|
||||||
{
|
{
|
||||||
name: "preview",
|
name: 'preview',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Controls the preview functionality."
|
description: 'Controls the preview functionality.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ImageEvents = [
|
const ImageEvents = [
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Triggered when the preview overlay is shown."
|
description: 'Triggered when the preview overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Triggered when the preview overlay is hidden."
|
description: 'Triggered when the preview overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "error",
|
name: 'error',
|
||||||
description: "Triggered when an error occurs while loading an image file."
|
description: 'Triggered when an error occurs while loading an image file.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ImageSlots = [
|
const ImageSlots = [
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom content for the preview indicator"
|
description: 'Custom content for the preview indicator'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
image: {
|
image: {
|
||||||
name: "Image",
|
name: 'Image',
|
||||||
description: "Displays an image with preview and tranformation options.",
|
description: 'Displays an image with preview and tranformation options.',
|
||||||
props: ImageProps,
|
props: ImageProps,
|
||||||
events: ImageEvents,
|
events: ImageEvents,
|
||||||
slots: ImageSlots
|
slots: ImageSlots
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
const InlineMessageProps = [
|
const InlineMessageProps = [
|
||||||
{
|
{
|
||||||
name: "severity",
|
name: 'severity',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "error",
|
default: 'error',
|
||||||
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inlinemessage: {
|
inlinemessage: {
|
||||||
name: "InlineMessage",
|
name: 'InlineMessage',
|
||||||
description: "InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms",
|
description: 'InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms',
|
||||||
"doc-url": "message",
|
'doc-url': 'message',
|
||||||
props: InlineMessageProps
|
props: InlineMessageProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,44 +1,44 @@
|
||||||
const InplaceProps = [
|
const InplaceProps = [
|
||||||
{
|
{
|
||||||
name: "active",
|
name: 'active',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the content is displayed or not."
|
description: 'Whether the content is displayed or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "closable",
|
name: 'closable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Displays a button to switch back to display mode."
|
description: 'Displays a button to switch back to display mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "diabled",
|
name: 'diabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const InplaceEvents = [
|
const InplaceEvents = [
|
||||||
{
|
{
|
||||||
name: "open",
|
name: 'open',
|
||||||
description: "Callback to invoke when inplace is opened.",
|
description: 'Callback to invoke when inplace is opened.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "close",
|
name: 'close',
|
||||||
description: "Callback to invoke when inplace is closed.",
|
description: 'Callback to invoke when inplace is closed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,19 +46,19 @@ const InplaceEvents = [
|
||||||
|
|
||||||
const InplaceSlots = [
|
const InplaceSlots = [
|
||||||
{
|
{
|
||||||
name: "display",
|
name: 'display',
|
||||||
description: "Output content"
|
description: 'Output content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Actual content"
|
description: 'Actual content'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inplace: {
|
inplace: {
|
||||||
name: "Inplace",
|
name: 'Inplace',
|
||||||
description: "Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.",
|
description: 'Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.',
|
||||||
props: InplaceProps,
|
props: InplaceProps,
|
||||||
events: InplaceEvents,
|
events: InplaceEvents,
|
||||||
slots: InplaceSlots
|
slots: InplaceSlots
|
||||||
|
|
|
@ -1,40 +1,40 @@
|
||||||
const InputMaskProps = [
|
const InputMaskProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mask",
|
name: 'mask',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Mask pattern."
|
description: 'Mask pattern.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "slotChar",
|
name: 'slotChar',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "-",
|
default: '-',
|
||||||
description: "Placeholder character in mask, default is underscore."
|
description: 'Placeholder character in mask, default is underscore.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoClear",
|
name: 'autoClear',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Clears the incomplete value on blur."
|
description: 'Clears the incomplete value on blur.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "unmask",
|
name: 'unmask',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if model sets the raw unmasked value to bound value or the formatted mask value."
|
description: 'Defines if model sets the raw unmasked value to bound value or the formatted mask value.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inputmask: {
|
inputmask: {
|
||||||
name: "InputMask",
|
name: 'InputMask',
|
||||||
description: "InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.",
|
description: 'InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.',
|
||||||
props: InputMaskProps
|
props: InputMaskProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,227 +1,231 @@
|
||||||
const InputNumberProps = [
|
const InputNumberProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "format",
|
name: 'format',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to format the value."
|
description: 'Whether to format the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showButtons",
|
name: 'showButtons',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Displays spinner buttons."
|
description: 'Displays spinner buttons.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "buttonLayout",
|
name: 'buttonLayout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "stacked",
|
default: 'stacked',
|
||||||
description: 'Layout of the buttons, valid values are "stacked" (default), "horizontal" and "vertical".'
|
description: 'Layout of the buttons, valid values are "stacked" (default), "horizontal" and "vertical".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "incrementButtonClass",
|
name: 'incrementButtonClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the increment button."
|
description: 'Style class of the increment button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "decrementButtonClass",
|
name: 'decrementButtonClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the decrement button."
|
description: 'Style class of the decrement button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "incrementButtonIcon",
|
name: 'incrementButtonIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-angle-up",
|
default: 'pi pi-angle-up',
|
||||||
description: "Style class of the increment button."
|
description: 'Style class of the increment button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "decrementButtonIcon",
|
name: 'decrementButtonIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-angle-down",
|
default: 'pi pi-angle-down',
|
||||||
description: "Style class of the decrement button."
|
description: 'Style class of the decrement button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "locale",
|
name: 'locale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Locale to be used in formatting."
|
description: 'Locale to be used in formatting.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "localeMatcher",
|
name: 'localeMatcher',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "best fit",
|
default: 'best fit',
|
||||||
description: 'The locale matching algorithm to use. Possible values are "lookup" and "best fit".'
|
description: 'The locale matching algorithm to use. Possible values are "lookup" and "best fit".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mode",
|
name: 'mode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "decimal",
|
default: 'decimal',
|
||||||
description: 'Defines the behavior of the component, valid values are "decimal" and "currency".'
|
description: 'Defines the behavior of the component, valid values are "decimal" and "currency".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "prefix",
|
name: 'prefix',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text to display before the value."
|
description: 'Text to display before the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "suffix",
|
name: 'suffix',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "decimal",
|
default: 'decimal',
|
||||||
description: "Text to display after the value."
|
description: 'Text to display after the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "currency",
|
name: 'currency',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB. There is no default value; if the style is "currency", the currency property must be provided.'
|
description:
|
||||||
|
'The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB. There is no default value; if the style is "currency", the currency property must be provided.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "currencyDisplay",
|
name: 'currencyDisplay',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "symbol",
|
default: 'symbol',
|
||||||
description: 'How to display the currency in currency formatting. Possible values are "symbol" to use a localized currency symbol such as €, "code" to use the ISO currency code, "name" to use a localized currency name such as "dollar"; the default is "symbol".'
|
description:
|
||||||
|
'How to display the currency in currency formatting. Possible values are "symbol" to use a localized currency symbol such as €, "code" to use the ISO currency code, "name" to use a localized currency name such as "dollar"; the default is "symbol".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "useGrouping",
|
name: 'useGrouping',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators."
|
description: 'Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minFractionDigits",
|
name: 'minFractionDigits',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information)."
|
description:
|
||||||
|
"The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information)."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxFractionDigits",
|
name: 'maxFractionDigits',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information)."
|
description:
|
||||||
|
"The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the ISO 4217 currency code list (2 if the list doesn't provide that information)."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "min",
|
name: 'min',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Mininum boundary value."
|
description: 'Mininum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max",
|
name: 'max',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum boundary value."
|
description: 'Maximum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "step",
|
name: 'step',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Step factor to increment/decrement the value."
|
description: 'Step factor to increment/decrement the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "allowEmpty",
|
name: 'allowEmpty',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Determines whether the input field is empty."
|
description: 'Determines whether the input field is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that an input field is read-only."
|
description: 'When present, it specifies that an input field is read-only.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text for the input."
|
description: 'Placeholder text for the input.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "incrementButtonProps",
|
name: 'incrementButtonProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLButtonElement to increment button inside the component."
|
description: 'Uses to pass all properties of the HTMLButtonElement to increment button inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "decrementButtonProps",
|
name: 'decrementButtonProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLButtonElement to decrement button inside the component."
|
description: 'Uses to pass all properties of the HTMLButtonElement to decrement button inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const InputNumberEvents = [
|
const InputNumberEvents = [
|
||||||
{
|
{
|
||||||
name: "input",
|
name: 'input',
|
||||||
description: "Callback to invoke when the value is entered.",
|
description: 'Callback to invoke when the value is entered.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New value"
|
description: 'New value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke on focus of input field.",
|
description: 'Callback to invoke on focus of input field.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Focus event"
|
description: 'Focus event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke on blur of input field.",
|
description: 'Callback to invoke on blur of input field.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Input value"
|
description: 'Input value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -229,8 +233,8 @@ const InputNumberEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inputnumber: {
|
inputnumber: {
|
||||||
name: "InputNumber",
|
name: 'InputNumber',
|
||||||
description: "InputNumber is an input component to provide numerical input.",
|
description: 'InputNumber is an input component to provide numerical input.',
|
||||||
props: InputNumberProps,
|
props: InputNumberProps,
|
||||||
events: InputNumberEvents
|
events: InputNumberEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,67 +1,67 @@
|
||||||
const InputSwitchProps = [
|
const InputSwitchProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Specifies whether a inputswitch should be checked or not."
|
description: 'Specifies whether a inputswitch should be checked or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "trueValue",
|
name: 'trueValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value in checked state."
|
description: 'Value in checked state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "falseValue",
|
name: 'falseValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value in unchecked state."
|
description: 'Value in unchecked state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const InputSwitchEvents = [
|
const InputSwitchEvents = [
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Callback to invoke on click."
|
description: 'Callback to invoke on click.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change."
|
description: 'Callback to invoke on value change.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "input",
|
name: 'input',
|
||||||
description: "Callback to invoke on value change."
|
description: 'Callback to invoke on value change.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inputswitch: {
|
inputswitch: {
|
||||||
name: "InputSwitch",
|
name: 'InputSwitch',
|
||||||
description: "InputSwitch is used to select a boolean value.",
|
description: 'InputSwitch is used to select a boolean value.',
|
||||||
props: InputSwitchProps,
|
props: InputSwitchProps,
|
||||||
events: InputSwitchEvents
|
events: InputSwitchEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
const InputTextProps = [
|
const InputTextProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
inputtext: {
|
inputtext: {
|
||||||
name: "InputText",
|
name: 'InputText',
|
||||||
description: "InputText renders a text field to enter data.",
|
description: 'InputText renders a text field to enter data.',
|
||||||
props: InputTextProps
|
props: InputTextProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,111 +1,111 @@
|
||||||
const KnobProps = [
|
const KnobProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "size",
|
name: 'size',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "100",
|
default: '100',
|
||||||
description: "Size of the component in pixels."
|
description: 'Size of the component in pixels.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component value cannot be edited."
|
description: 'When present, it specifies that the component value cannot be edited.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "step",
|
name: 'step',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Step factor to increment/decrement the value."
|
description: 'Step factor to increment/decrement the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "min",
|
name: 'min',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Mininum boundary value."
|
description: 'Mininum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max",
|
name: 'max',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "100",
|
default: '100',
|
||||||
description: "Maximum boundary value."
|
description: 'Maximum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "valueColor",
|
name: 'valueColor',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Background of the value."
|
description: 'Background of the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rangeColor",
|
name: 'rangeColor',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Background color of the range."
|
description: 'Background color of the range.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "textColor",
|
name: 'textColor',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Color of the value text."
|
description: 'Color of the value text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "strokeWidth",
|
name: 'strokeWidth',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "14",
|
default: '14',
|
||||||
description: "Width of the knob stroke."
|
description: 'Width of the knob stroke.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showValue",
|
name: 'showValue',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the show the value inside the knob."
|
description: 'Whether the show the value inside the knob.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "valueTemplate",
|
name: 'valueTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{value}",
|
default: '{value}',
|
||||||
description: "Template string of the value."
|
description: 'Template string of the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const KnobEvents = [
|
const KnobEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke when the value changes.",
|
description: 'Callback to invoke when the value changes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New value"
|
description: 'New value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -113,8 +113,8 @@ const KnobEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
knob: {
|
knob: {
|
||||||
name: "Knob",
|
name: 'Knob',
|
||||||
description: "Knob is a form component to define number inputs with a dial.",
|
description: 'Knob is a form component to define number inputs with a dial.',
|
||||||
props: KnobProps,
|
props: KnobProps,
|
||||||
events: KnobEvents
|
events: KnobEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,232 +1,233 @@
|
||||||
const ListboxProps = [
|
const ListboxProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of selectitems to display as the available options."
|
description: 'An array of selectitems to display as the available options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionValue",
|
name: 'optionValue',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
|
description: 'Property name or getter function to use as the value of an option, defaults to the option itself when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean | function",
|
type: 'boolean | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupLabel",
|
name: 'optionGroupLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option group."
|
description: 'Property name or getter function to use as the label of an option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupChildren",
|
name: 'optionGroupChildren',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function that refers to the children options of option group."
|
description: 'Property name or getter function that refers to the children options of option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "listStyle",
|
name: 'listStyle',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of inner list element."
|
description: 'Inline style of inner list element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, disables the component."
|
description: 'When specified, disables the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiple",
|
name: 'multiple',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, allows selecting multiple values."
|
description: 'When specified, allows selecting multiple values.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines how multiple items can be selected, 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."
|
description:
|
||||||
|
'Defines how multiple items can be selected, 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: "filter",
|
name: 'filter',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, displays a filter input at header."
|
description: 'When specified, displays a filter input at header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterPlaceholder",
|
name: 'filterPlaceholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text to show when filter input is empty."
|
description: 'Placeholder text to show when filter input is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterLocale",
|
name: 'filterLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMatchMode",
|
name: 'filterMatchMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "contains",
|
default: 'contains',
|
||||||
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterFields",
|
name: 'filterFields',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Fields used when filtering the options, defaults to optionLabel."
|
description: 'Fields used when filtering the options, defaults to optionLabel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterInputProps",
|
name: 'filterInputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the filter input inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "virtualScrollerOptions",
|
name: 'virtualScrollerOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
|
description: 'Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoOptionFocus",
|
name: 'autoOptionFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to focus on the first visible or selected element."
|
description: 'Whether to focus on the first visible or selected element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused option is selected."
|
description: 'When enabled, the focused option is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMessage",
|
name: 'filterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} results are available",
|
default: '{0} results are available',
|
||||||
description: "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMessage",
|
name: 'selectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySelectionMessage",
|
name: 'emptySelectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No selected item",
|
default: 'No selected item',
|
||||||
description: "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyFilterMessage",
|
name: 'emptyFilterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyMessage",
|
name: 'emptyMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ListboxEvents = [
|
const ListboxEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when component receives focus.",
|
description: 'Callback to invoke when component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when component loses focus.",
|
description: 'Callback to invoke when component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
description: "Callback to invoke on filter input.",
|
description: 'Callback to invoke on filter input.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Filter value"
|
description: 'Filter value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -234,43 +235,43 @@ const ListboxEvents = [
|
||||||
|
|
||||||
const ListboxSlots = [
|
const ListboxSlots = [
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item's option"
|
description: "Custom content for the item's option"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optiongroup",
|
name: 'optiongroup',
|
||||||
description: "Custom content for the item's optiongroup"
|
description: "Custom content for the item's optiongroup"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyfilter",
|
name: 'emptyfilter',
|
||||||
description: "Custom content when there is no filtered data to display"
|
description: 'Custom content when there is no filtered data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the virtual scroller"
|
description: 'Custom content for the virtual scroller'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loader",
|
name: 'loader',
|
||||||
description: "Custom content for the virtual scroller loader items"
|
description: 'Custom content for the virtual scroller loader items'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
listbox: {
|
listbox: {
|
||||||
name: "Listbox",
|
name: 'Listbox',
|
||||||
description: "Listbox is used to select one or more values from a list of items.",
|
description: 'Listbox is used to select one or more values from a list of items.',
|
||||||
props: ListboxProps,
|
props: ListboxProps,
|
||||||
events: ListboxEvents,
|
events: ListboxEvents,
|
||||||
slots: ListboxSlots
|
slots: ListboxSlots
|
||||||
|
|
|
@ -1,43 +1,43 @@
|
||||||
const MegaMenuProps = [
|
const MegaMenuProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "orientation",
|
name: 'orientation',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "horizontal",
|
default: 'horizontal',
|
||||||
description: "Defines the orientation, valid values are horizontal and vertical."
|
description: 'Defines the orientation, valid values are horizontal and vertical.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MegaMenuSlots = [
|
const MegaMenuSlots = [
|
||||||
{
|
{
|
||||||
name: "start",
|
name: 'start',
|
||||||
description: "Custom content before the content"
|
description: 'Custom content before the content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "end",
|
name: 'end',
|
||||||
description: "Custom content after the content"
|
description: 'Custom content after the content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
megamenu: {
|
megamenu: {
|
||||||
name: "MegaMenu",
|
name: 'MegaMenu',
|
||||||
description: "MegaMenu is navigation component that displays submenus together.",
|
description: 'MegaMenu is navigation component that displays submenus together.',
|
||||||
props: MegaMenuProps,
|
props: MegaMenuProps,
|
||||||
slots: MegaMenuSlots
|
slots: MegaMenuSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,64 +1,64 @@
|
||||||
const MenuProps = [
|
const MenuProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "popup",
|
name: 'popup',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if menu would displayed as a popup."
|
description: 'Defines if menu would displayed as a popup.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MenuEvents = [
|
const MenuEvents = [
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MenuSlots = [
|
const MenuSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
menu: {
|
menu: {
|
||||||
name: "Menu",
|
name: 'Menu',
|
||||||
description: "Menu is a navigation / command component that supports dynamic and static positioning.",
|
description: 'Menu is a navigation / command component that supports dynamic and static positioning.',
|
||||||
props: MenuProps,
|
props: MenuProps,
|
||||||
events: MenuEvents,
|
events: MenuEvents,
|
||||||
slots: MenuSlots
|
slots: MenuSlots
|
||||||
|
|
|
@ -1,37 +1,37 @@
|
||||||
const MenubarProps = [
|
const MenubarProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MenubarSlots = [
|
const MenubarSlots = [
|
||||||
{
|
{
|
||||||
name: "start",
|
name: 'start',
|
||||||
description: "Custom content before the content"
|
description: 'Custom content before the content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "end",
|
name: 'end',
|
||||||
description: "Custom content after the content"
|
description: 'Custom content after the content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
menubar: {
|
menubar: {
|
||||||
name: "Menubar",
|
name: 'Menubar',
|
||||||
description: "Menubar is a horizontal menu component.",
|
description: 'Menubar is a horizontal menu component.',
|
||||||
props: MenubarProps,
|
props: MenubarProps,
|
||||||
slots: MenubarSlots
|
slots: MenubarSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,45 +1,45 @@
|
||||||
const MessageProps = [
|
const MessageProps = [
|
||||||
{
|
{
|
||||||
name: "severity",
|
name: 'severity',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "info",
|
default: 'info',
|
||||||
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
description: 'Severity level of the message. Valid severities are "success", "info", "warn" and "error".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "closable",
|
name: 'closable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the message can be closed manually using the close icon."
|
description: 'Whether the message can be closed manually using the close icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sticky",
|
name: 'sticky',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "When enabled, message is not removed automatically."
|
description: 'When enabled, message is not removed automatically.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "life",
|
name: 'life',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "300",
|
default: '300',
|
||||||
description: "Delay in milliseconds to close the message automatically."
|
description: 'Delay in milliseconds to close the message automatically.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Display a custom icon for the message."
|
description: 'Display a custom icon for the message.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MessageEvents = [
|
const MessageEvents = [
|
||||||
{
|
{
|
||||||
name: "close",
|
name: 'close',
|
||||||
description: "Callback to invoke when a message is closed.",
|
description: 'Callback to invoke when a message is closed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -47,8 +47,8 @@ const MessageEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
message: {
|
message: {
|
||||||
name: "Message",
|
name: 'Message',
|
||||||
description: "Messages is used to display inline messages with various severities.",
|
description: 'Messages is used to display inline messages with various severities.',
|
||||||
props: MessageProps,
|
props: MessageProps,
|
||||||
events: MessageEvents
|
events: MessageEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,354 +1,354 @@
|
||||||
const MultiSelectProps = [
|
const MultiSelectProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of selectitems to display as the available options."
|
description: 'An array of selectitems to display as the available options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionValue",
|
name: 'optionValue',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
|
description: 'Property name or getter function to use as the value of an option, defaults to the option itself when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean | function",
|
type: 'boolean | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupLabel",
|
name: 'optionGroupLabel',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option group."
|
description: 'Property name or getter function to use as the label of an option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionGroupChildren",
|
name: 'optionGroupChildren',
|
||||||
type: "string | function",
|
type: 'string | function',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function that refers to the children options of option group."
|
description: 'Property name or getter function that refers to the children options of option group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "200px",
|
default: '200px',
|
||||||
description: "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
|
description: 'Height of the viewport, a scrollbar is defined if height of list exceeds this value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Label to display when there are no selections."
|
description: 'Label to display when there are no selections.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterInputProps",
|
name: 'filterInputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel."
|
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "closeButtonProps",
|
name: 'closeButtonProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLButtonElement to the close button inside the overlay panel."
|
description: 'Uses to pass all properties of the HTMLButtonElement to the close button inside the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, displays a filter input at header."
|
description: 'When specified, displays a filter input at header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterPlaceholder",
|
name: 'filterPlaceholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text to show when filter input is empty."
|
description: 'Placeholder text to show when filter input is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterLocale",
|
name: 'filterLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMatchMode",
|
name: 'filterMatchMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "contains",
|
default: 'contains',
|
||||||
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
description: 'Defines the filtering algorithm to use when searching the options. Valid values are "contains" (default), "startsWith" and "endsWith"'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterFields",
|
name: 'filterFields',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Fields used when filtering the options, defaults to optionLabel."
|
description: 'Fields used when filtering the options, defaults to optionLabel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
|
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "display",
|
name: 'display',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "comma",
|
default: 'comma',
|
||||||
description: 'Defines how the selected items are displayed, valid values are "comma" and "chip".'
|
description: 'Defines how the selected items are displayed, valid values are "comma" and "chip".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectedItemsLabel",
|
name: 'selectedItemsLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Label to display after exceeding max selected labels."
|
description: 'Label to display after exceeding max selected labels.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maxSelectedLabels",
|
name: 'maxSelectedLabels',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Decides how many selected item labels to show at most."
|
description: 'Decides how many selected item labels to show at most.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionLimit",
|
name: 'selectionLimit',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Maximum number of selectable items."
|
description: 'Maximum number of selectable items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showToggleAll",
|
name: 'showToggleAll',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to show the header checkbox to toggle the selection of all items at once."
|
description: 'Whether to show the header checkbox to toggle the selection of all items at once.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the multiselect is in loading state."
|
description: 'Whether the multiselect is in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner pi-spin",
|
default: 'pi pi-spinner pi-spin',
|
||||||
description: "Icon to display in loading state."
|
description: 'Icon to display in loading state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectAll",
|
name: 'selectAll',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether all data is selected."
|
description: 'Whether all data is selected.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "resetFilterOnHide",
|
name: 'resetFilterOnHide',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Clears the filter value when hiding the dropdown."
|
description: 'Clears the filter value when hiding the dropdown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "virtualScrollerOptions",
|
name: 'virtualScrollerOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it."
|
description: 'Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoOptionFocus",
|
name: 'autoOptionFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to focus on the first visible or selected element when the overlay panel is shown."
|
description: 'Whether to focus on the first visible or selected element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoFilterFocus",
|
name: 'autoFilterFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to focus on the filter element when the overlay panel is shown."
|
description: 'Whether to focus on the filter element when the overlay panel is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMessage",
|
name: 'filterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} results are available",
|
default: '{0} results are available',
|
||||||
description: "Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when filtering returns any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMessage",
|
name: 'selectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "{0} items selected",
|
default: '{0} items selected',
|
||||||
description: "Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when options are selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptySelectionMessage",
|
name: 'emptySelectionMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No selected item",
|
default: 'No selected item',
|
||||||
description: "Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to be displayed in hidden accessible field when any option is not selected. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyFilterMessage",
|
name: 'emptyFilterMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyMessage",
|
name: 'emptyMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const MultiSelectEvents = [
|
const MultiSelectEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when component receives focus.",
|
description: 'Callback to invoke when component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when component loses focus.",
|
description: 'Callback to invoke when component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-show",
|
name: 'before-show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-hide",
|
name: 'before-hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
description: "Callback to invoke on filter input.",
|
description: 'Callback to invoke on filter input.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Filter value"
|
description: 'Filter value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectall-change",
|
name: 'selectall-change',
|
||||||
description: "Callback to invoke when all data is selected.",
|
description: 'Callback to invoke when all data is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.checked",
|
name: 'event.checked',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
description: "Whether all data is selected."
|
description: 'Whether all data is selected.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -356,55 +356,55 @@ const MultiSelectEvents = [
|
||||||
|
|
||||||
const MultiSelectSlots = [
|
const MultiSelectSlots = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
description: "Custom content for the item value"
|
description: 'Custom content for the item value'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "chip",
|
name: 'chip',
|
||||||
description: "Custom content for the chip display."
|
description: 'Custom content for the chip display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom content for the dropdown indicator"
|
description: 'Custom content for the dropdown indicator'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item's option"
|
description: "Custom content for the item's option"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optiongroup",
|
name: 'optiongroup',
|
||||||
description: "Custom content for the item's optiongroup"
|
description: "Custom content for the item's optiongroup"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyfilter",
|
name: 'emptyfilter',
|
||||||
description: "Custom content when there is no filtered data to display"
|
description: 'Custom content when there is no filtered data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the virtual scroller"
|
description: 'Custom content for the virtual scroller'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loader",
|
name: 'loader',
|
||||||
description: "Custom content for the virtual scroller loader items"
|
description: 'Custom content for the virtual scroller loader items'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
multiselect: {
|
multiselect: {
|
||||||
name: "MultiSelect",
|
name: 'MultiSelect',
|
||||||
description: "MultiSelect is used to multiple values from a list of options.",
|
description: 'MultiSelect is used to multiple values from a list of options.',
|
||||||
props: MultiSelectProps,
|
props: MultiSelectProps,
|
||||||
events: MultiSelectEvents,
|
events: MultiSelectEvents,
|
||||||
slots: MultiSelectSlots
|
slots: MultiSelectSlots
|
||||||
|
|
|
@ -1,90 +1,90 @@
|
||||||
const OrderListProps = [
|
const OrderListProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selection",
|
name: 'selection',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Selected items in the list."
|
description: 'Selected items in the list.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
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."
|
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",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the field that uniquely identifies the a record in the data."
|
description: 'Name of the field that uniquely identifies the a record in the data.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "listStyle",
|
name: 'listStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the the list element."
|
description: 'Inline style of the the list element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "responsive",
|
name: 'responsive',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the list optimizes layout based on screen size."
|
description: 'Whether the list optimizes layout based on screen size.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoint",
|
name: 'breakpoint',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "960px",
|
default: '960px',
|
||||||
description: "The breakpoint to define the maximum width boundary when responsiveness is enabled."
|
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stripedRows",
|
name: 'stripedRows',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to displays rows with alternating colors."
|
description: 'Whether to displays rows with alternating colors.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const OrderListEvents = [
|
const OrderListEvents = [
|
||||||
{
|
{
|
||||||
name: "reorder",
|
name: 'reorder',
|
||||||
description: "Callback to invoke when the list is reordered.",
|
description: 'Callback to invoke when the list is reordered.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Ordered list"
|
description: 'Ordered list'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.direction",
|
name: 'event.direction',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description:
|
description: 'Direction of the change; "up", "down", "bottom", "top"'
|
||||||
'Direction of the change; "up", "down", "bottom", "top"'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selection-change",
|
name: 'selection-change',
|
||||||
description: "Callback to invoke when selection changes.",
|
description: 'Callback to invoke when selection changes.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Ordered list"
|
description: 'Ordered list'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -92,27 +92,27 @@ const OrderListEvents = [
|
||||||
|
|
||||||
const OrderListSlots = [
|
const OrderListSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item"
|
description: 'Custom content for the item'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "controlsstart",
|
name: 'controlsstart',
|
||||||
description: "Custom content before the buttons"
|
description: 'Custom content before the buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "controlsend",
|
name: 'controlsend',
|
||||||
description: "Custom content after the buttons"
|
description: 'Custom content after the buttons'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
orderlist: {
|
orderlist: {
|
||||||
name: "OrderList",
|
name: 'OrderList',
|
||||||
description: "OrderList is used to managed the order of a collection.",
|
description: 'OrderList is used to managed the order of a collection.',
|
||||||
props: OrderListProps,
|
props: OrderListProps,
|
||||||
events: OrderListEvents,
|
events: OrderListEvents,
|
||||||
slots: OrderListSlots
|
slots: OrderListSlots
|
||||||
|
|
|
@ -1,78 +1,78 @@
|
||||||
const OrganizationChartProps = [
|
const OrganizationChartProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionKeys",
|
name: 'selectionKeys',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map instance of key-value pairs to represented the selected nodes."
|
description: 'A map instance of key-value pairs to represented the selected nodes.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Type of the selection, valid values are "single" and "multiple".'
|
description: 'Type of the selection, valid values are "single" and "multiple".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "collapsible",
|
name: 'collapsible',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the nodes can be expanded or toggled."
|
description: 'Whether the nodes can be expanded or toggled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "collapsedKeys",
|
name: 'collapsedKeys',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map instance of key-value pairs to represented the collapsed nodes."
|
description: 'A map instance of key-value pairs to represented the collapsed nodes.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const OrganizationChartEvents = [
|
const OrganizationChartEvents = [
|
||||||
{
|
{
|
||||||
name: "node-select",
|
name: 'node-select',
|
||||||
description: "Callback to invoke when a node is selected.",
|
description: 'Callback to invoke when a node is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-unselect",
|
name: 'node-unselect',
|
||||||
description: "Callback to invoke when a node is unselected.",
|
description: 'Callback to invoke when a node is unselected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-expand",
|
name: 'node-expand',
|
||||||
description: "Callback to invoke when a node is expanded.",
|
description: 'Callback to invoke when a node is expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-collapse",
|
name: 'node-collapse',
|
||||||
description: "Callback to invoke when a node is collapsed.",
|
description: 'Callback to invoke when a node is collapsed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -80,8 +80,8 @@ const OrganizationChartEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
organizationchart: {
|
organizationchart: {
|
||||||
name: "OrganizationChart",
|
name: 'OrganizationChart',
|
||||||
description: "OrganizationChart visualizes hierarchical organization data.",
|
description: 'OrganizationChart visualizes hierarchical organization data.',
|
||||||
props: OrganizationChartProps,
|
props: OrganizationChartProps,
|
||||||
events: OrganizationChartEvents
|
events: OrganizationChartEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,63 +1,63 @@
|
||||||
const OverlayPanelProps = [
|
const OverlayPanelProps = [
|
||||||
{
|
{
|
||||||
name: "dismissable",
|
name: 'dismissable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Enables to hide the overlay when outside is clicked."
|
description: 'Enables to hide the overlay when outside is clicked.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showCloseIcon",
|
name: 'showCloseIcon',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, displays a close icon at top right corner."
|
description: 'When enabled, displays a close icon at top right corner.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ariaCloseLabel",
|
name: 'ariaCloseLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "close",
|
default: 'close',
|
||||||
description: "Aria label of the close icon."
|
description: 'Aria label of the close icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoints",
|
name: 'breakpoints',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Object literal to define widths per screen size."
|
description: 'Object literal to define widths per screen size.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const OverlayPanelEvents = [
|
const OverlayPanelEvents = [
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
overlaypanel: {
|
overlaypanel: {
|
||||||
name: "OverlayPanel",
|
name: 'OverlayPanel',
|
||||||
description: "OverlayPanel is a container component positioned as connected to its target.",
|
description: 'OverlayPanel is a container component positioned as connected to its target.',
|
||||||
props: OverlayPanelProps,
|
props: OverlayPanelProps,
|
||||||
events: OverlayPanelEvents
|
events: OverlayPanelEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,78 +1,78 @@
|
||||||
const PaginatorProps = [
|
const PaginatorProps = [
|
||||||
{
|
{
|
||||||
name: "totalRecords",
|
name: 'totalRecords',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Number of total records."
|
description: 'Number of total records.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rows",
|
name: 'rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Data count to display per page."
|
description: 'Data count to display per page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "first",
|
name: 'first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Zero-relative number of the first row to be displayed."
|
description: 'Zero-relative number of the first row to be displayed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "pageLinkSize",
|
name: 'pageLinkSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Number of page links to display."
|
description: 'Number of page links to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowsPerPageOptions",
|
name: 'rowsPerPageOptions',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Array of integer values to display inside rows per page dropdown."
|
description: 'Array of integer values to display inside rows per page dropdown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "template",
|
name: 'template',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
|
default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
||||||
description: "Template of the paginator."
|
description: 'Template of the paginator.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "currentPageReportTemplate",
|
name: 'currentPageReportTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "({currentPage} of {totalPages})",
|
default: '({currentPage} of {totalPages})',
|
||||||
description: "Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords}"
|
description: 'Template of the current page report element. Available placeholders are {currentPage},{totalPages},{rows},{first},{last} and {totalRecords}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "alwaysShow",
|
name: 'alwaysShow',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show the paginator even there is only one page."
|
description: 'Whether to show the paginator even there is only one page.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const PaginatorEvents = [
|
const PaginatorEvents = [
|
||||||
{
|
{
|
||||||
name: "page",
|
name: 'page',
|
||||||
description: "Callback to invoke when page changes, the event object contains information about the new state.",
|
description: 'Callback to invoke when page changes, the event object contains information about the new state.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.page",
|
name: 'event.page',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New page number"
|
description: 'New page number'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.first",
|
name: 'event.first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of first record"
|
description: 'Index of first record'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.rows",
|
name: 'event.rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Number of rows to display in new page"
|
description: 'Number of rows to display in new page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.pageCount",
|
name: 'event.pageCount',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Total number of pages"
|
description: 'Total number of pages'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -80,19 +80,19 @@ const PaginatorEvents = [
|
||||||
|
|
||||||
const PaginatorSlots = [
|
const PaginatorSlots = [
|
||||||
{
|
{
|
||||||
name: "left",
|
name: 'left',
|
||||||
description: "Custom content for the component's left side"
|
description: "Custom content for the component's left side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "right",
|
name: 'right',
|
||||||
description: "Custom content for the component's right side"
|
description: "Custom content for the component's right side"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
paginator: {
|
paginator: {
|
||||||
name: "Paginator",
|
name: 'Paginator',
|
||||||
description: "Paginator is a generic component to display content in paged format.",
|
description: 'Paginator is a generic component to display content in paged format.',
|
||||||
props: PaginatorProps,
|
props: PaginatorProps,
|
||||||
events: PaginatorEvents,
|
events: PaginatorEvents,
|
||||||
slots: PaginatorSlots
|
slots: PaginatorSlots
|
||||||
|
|
|
@ -1,44 +1,44 @@
|
||||||
const PanelProps = [
|
const PanelProps = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Header text of the panel."
|
description: 'Header text of the panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toggleable",
|
name: 'toggleable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines if content of panel can be expanded and collapsed."
|
description: 'Defines if content of panel can be expanded and collapsed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "collapsed",
|
name: 'collapsed',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines the initial state of panel content."
|
description: 'Defines the initial state of panel content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toggleButtonProps",
|
name: 'toggleButtonProps',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass the custom value to read for the anchor inside the component."
|
description: 'Uses to pass the custom value to read for the anchor inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const PanelEvents = [
|
const PanelEvents = [
|
||||||
{
|
{
|
||||||
name: "toggle",
|
name: 'toggle',
|
||||||
description: "Callback to invoke when a tab toggle.",
|
description: 'Callback to invoke when a tab toggle.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
description: "collapsed state as a boolean"
|
description: 'collapsed state as a boolean'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -46,19 +46,19 @@ const PanelEvents = [
|
||||||
|
|
||||||
const PanelSlots = [
|
const PanelSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icons",
|
name: 'icons',
|
||||||
description: "Custom content for the header's icon"
|
description: "Custom content for the header's icon"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
panel: {
|
panel: {
|
||||||
name: "Panel",
|
name: 'Panel',
|
||||||
description: "Panel is a container with the optional content toggle feature.",
|
description: 'Panel is a container with the optional content toggle feature.',
|
||||||
props: PanelProps,
|
props: PanelProps,
|
||||||
events: PanelEvents,
|
events: PanelEvents,
|
||||||
slots: PanelSlots
|
slots: PanelSlots
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
const PanelMenuProps = [
|
const PanelMenuProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expandedKeys",
|
name: 'expandedKeys',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map of keys to represent the expansion state in controlled mode."
|
description: 'A map of keys to represent the expansion state in controlled mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const PanelMenuSlots = [
|
const PanelMenuSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
panelmenu: {
|
panelmenu: {
|
||||||
name: "PanelMenu",
|
name: 'PanelMenu',
|
||||||
description: "PanelMenu is a hybrid of Accordion and Tree components",
|
description: 'PanelMenu is a hybrid of Accordion and Tree components',
|
||||||
props: PanelMenuProps,
|
props: PanelMenuProps,
|
||||||
slots: PanelMenuSlots
|
slots: PanelMenuSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,163 +1,163 @@
|
||||||
const PasswordProps = [
|
const PasswordProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "promptLabel",
|
name: 'promptLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text to prompt password entry. Defaults to PrimeVue Locale configuration."
|
description: 'Text to prompt password entry. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mediumRegex",
|
name: 'mediumRegex',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})",
|
default: '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})',
|
||||||
description: "Regex for a medium level password."
|
description: 'Regex for a medium level password.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "strongRegex",
|
name: 'strongRegex',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})",
|
default: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})',
|
||||||
description: "Regex for a strong level password."
|
description: 'Regex for a strong level password.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "weakLabel",
|
name: 'weakLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text for a weak password. Defaults to PrimeVue Locale configuration."
|
description: 'Text for a weak password. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mediumLabel",
|
name: 'mediumLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text for a medium password. Defaults to PrimeVue Locale configuration."
|
description: 'Text for a medium password. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "strongLabel",
|
name: 'strongLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text for a strong password. Defaults to PrimeVue Locale configuration."
|
description: 'Text for a strong password. Defaults to PrimeVue Locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "feedback",
|
name: 'feedback',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show the strength indicator or not."
|
description: 'Whether to show the strength indicator or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toogleMask",
|
name: 'toogleMask',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to show an icon to display the password as plain text."
|
description: 'Whether to show an icon to display the password as plain text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideIcon",
|
name: 'hideIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-eye-slash",
|
default: 'pi pi-eye-slash',
|
||||||
description: "Icon to hide displaying the password as plain text."
|
description: 'Icon to hide displaying the password as plain text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIcon",
|
name: 'showIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-eye",
|
default: 'pi pi-eye',
|
||||||
description: "Icon to show displaying the password as plain text."
|
description: 'Icon to show displaying the password as plain text.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text for the input."
|
description: 'Placeholder text for the input.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "required",
|
name: 'required',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that an input field must be filled out before submitting the form."
|
description: 'When present, it specifies that an input field must be filled out before submitting the form.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelId",
|
name: 'panelId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying overlay panel element."
|
description: 'Identifier of the underlying overlay panel element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelStyle",
|
name: 'panelStyle',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the overlay panel."
|
description: 'Inline style of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelProps",
|
name: 'panelProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component."
|
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const PasswordSlots = [
|
const PasswordSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content for the component"
|
description: 'Custom content for the component'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
password: {
|
password: {
|
||||||
name: "Password",
|
name: 'Password',
|
||||||
description: "Password displays strength indicator for password fields.",
|
description: 'Password displays strength indicator for password fields.',
|
||||||
props: PasswordProps,
|
props: PasswordProps,
|
||||||
slots: PasswordSlots
|
slots: PasswordSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,170 +1,171 @@
|
||||||
const PickListProps = [
|
const PickListProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component as a multidimensional array."
|
description: 'Value of the component as a multidimensional array.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selection",
|
name: 'selection',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Selected items in the list as a multidimensional array."
|
description: 'Selected items in the list as a multidimensional array.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
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."
|
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",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the field that uniquely identifies the a record in the data."
|
description: 'Name of the field that uniquely identifies the a record in the data.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "listStyle",
|
name: 'listStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the the list element."
|
description: 'Inline style of the the list element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "responsive",
|
name: 'responsive',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the list optimizes layout based on screen size."
|
description: 'Whether the list optimizes layout based on screen size.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoint",
|
name: 'breakpoint',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "960px",
|
default: '960px',
|
||||||
description: "The breakpoint to define the maximum width boundary when responsiveness is enabled."
|
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stripedRows",
|
name: 'stripedRows',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to displays rows with alternating colors."
|
description: 'Whether to displays rows with alternating colors.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showSourceControls",
|
name: 'showSourceControls',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show buttons of source list."
|
description: 'Whether to show buttons of source list.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showTargetControls",
|
name: 'showTargetControls',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show buttons of target list."
|
description: 'Whether to show buttons of target list.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const PickListEvents = [
|
const PickListEvents = [
|
||||||
{
|
{
|
||||||
name: "reorder",
|
name: 'reorder',
|
||||||
description: "Callback to invoke when the list is reordered.",
|
description: 'Callback to invoke when the list is reordered.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Ordered list"
|
description: 'Ordered list'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.direction",
|
name: 'event.direction',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: 'Direction of the change; "up", "down", "bottom", "top"'
|
description: 'Direction of the change; "up", "down", "bottom", "top"'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.listIndex",
|
name: 'event.listIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the list that is ordered, 0 represents the source and 1 represents the target list."
|
description: 'Index of the list that is ordered, 0 represents the source and 1 represents the target list.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "move-to-target",
|
name: 'move-to-target',
|
||||||
description: "Callback to invoke when one or more items are moved to the target list.",
|
description: 'Callback to invoke when one or more items are moved to the target list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.items",
|
name: 'event.items',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Moved items"
|
description: 'Moved items'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "move-all-to-target",
|
name: 'move-all-to-target',
|
||||||
description: "Callback to invoke when all items are moved to the target list.",
|
description: 'Callback to invoke when all items are moved to the target list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.items",
|
name: 'event.items',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Moved items"
|
description: 'Moved items'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "move-to-source",
|
name: 'move-to-source',
|
||||||
description: "Callback to invoke when one or more items are moved to the source list.",
|
description: 'Callback to invoke when one or more items are moved to the source list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.items",
|
name: 'event.items',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Moved items"
|
description: 'Moved items'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "move-all-to-source",
|
name: 'move-all-to-source',
|
||||||
description: "Callback to invoke when all items are moved to the source list.",
|
description: 'Callback to invoke when all items are moved to the source list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.items",
|
name: 'event.items',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Moved items"
|
description: 'Moved items'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selection-change",
|
name: 'selection-change',
|
||||||
description: "Callback to invoke when one or more items are moved to the other list.",
|
description: 'Callback to invoke when one or more items are moved to the other list.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Selected items"
|
description: 'Selected items'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -172,47 +173,47 @@ const PickListEvents = [
|
||||||
|
|
||||||
const PickListSlots = [
|
const PickListSlots = [
|
||||||
{
|
{
|
||||||
name: "sourceheader",
|
name: 'sourceheader',
|
||||||
description: "Custom content for the component's source header"
|
description: "Custom content for the component's source header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item"
|
description: 'Custom content for the item'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "targetheader",
|
name: 'targetheader',
|
||||||
description: "Custom content for the component's target header"
|
description: "Custom content for the component's target header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sourcecontrolsstart",
|
name: 'sourcecontrolsstart',
|
||||||
description: "Custom content before source control buttons"
|
description: 'Custom content before source control buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sourcecontrolsend",
|
name: 'sourcecontrolsend',
|
||||||
description: "Custom content after source control buttons"
|
description: 'Custom content after source control buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "movecontrolsstart",
|
name: 'movecontrolsstart',
|
||||||
description: "Custom content before move buttons"
|
description: 'Custom content before move buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "movecontrolsend",
|
name: 'movecontrolsend',
|
||||||
description: "Custom content after move buttons"
|
description: 'Custom content after move buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "targetcontrolsstart",
|
name: 'targetcontrolsstart',
|
||||||
description: "Custom content before target control buttons"
|
description: 'Custom content before target control buttons'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "targetcontrolsend",
|
name: 'targetcontrolsend',
|
||||||
description: "Custom content after target control buttons"
|
description: 'Custom content after target control buttons'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
picklist: {
|
picklist: {
|
||||||
name: "PickList",
|
name: 'PickList',
|
||||||
description: "PickList is used to reorder items between different lists.",
|
description: 'PickList is used to reorder items between different lists.',
|
||||||
props: PickListProps,
|
props: PickListProps,
|
||||||
events: PickListEvents,
|
events: PickListEvents,
|
||||||
slots: PickListSlots
|
slots: PickListSlots
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
const PortalProps = [
|
const PortalProps = [
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "If disabled, the Portal feature is eliminated and the content is displayed directly."
|
description: 'If disabled, the Portal feature is eliminated and the content is displayed directly.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ const PortalSlots = [];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
portal: {
|
portal: {
|
||||||
name: "Portal",
|
name: 'Portal',
|
||||||
description: "Portal moves its container to a specific location based on target elements. Basically it uses <Teleport> in the background.",
|
description: 'Portal moves its container to a specific location based on target elements. Basically it uses <Teleport> in the background.',
|
||||||
props: PortalProps,
|
props: PortalProps,
|
||||||
events: PortalEvents,
|
events: PortalEvents,
|
||||||
slots: PortalSlots
|
slots: PortalSlots
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
const ProgressbarProps = [
|
const ProgressbarProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Current value of the progress."
|
description: 'Current value of the progress.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mode",
|
name: 'mode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "determinate",
|
default: 'determinate',
|
||||||
description: 'Defines the mode of the progress, valid values are "determinate" and "indeterminate".'
|
description: 'Defines the mode of the progress, valid values are "determinate" and "indeterminate".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showValue",
|
name: 'showValue',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display the progress bar value."
|
description: 'Whether to display the progress bar value.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
progressbar: {
|
progressbar: {
|
||||||
name: "ProgressBar",
|
name: 'ProgressBar',
|
||||||
description: "ProgressBar is a process status indicator.",
|
description: 'ProgressBar is a process status indicator.',
|
||||||
props: ProgressbarProps
|
props: ProgressbarProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,28 +1,28 @@
|
||||||
const ProgressSpinnerProps = [
|
const ProgressSpinnerProps = [
|
||||||
{
|
{
|
||||||
name: "strokeWidth",
|
name: 'strokeWidth',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "2",
|
default: '2',
|
||||||
description: "Width of the circle stroke."
|
description: 'Width of the circle stroke.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "fill",
|
name: 'fill',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Color for the background of the circle."
|
description: 'Color for the background of the circle.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "animationDuration",
|
name: 'animationDuration',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "2s",
|
default: '2s',
|
||||||
description: "Duration of the rotate animation."
|
description: 'Duration of the rotate animation.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
progressspinner: {
|
progressspinner: {
|
||||||
name: "ProgressSpinner",
|
name: 'ProgressSpinner',
|
||||||
description: "ProgressSpinner is a process status indicator",
|
description: 'ProgressSpinner is a process status indicator',
|
||||||
props: ProgressSpinnerProps
|
props: ProgressSpinnerProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,86 +1,86 @@
|
||||||
const RadioButtonProps = [
|
const RadioButtonProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the checkbox."
|
description: 'Value of the checkbox.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value binding of the checkbox."
|
description: 'Value binding of the checkbox.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "name",
|
name: 'name',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the input element."
|
description: 'Name of the input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const RadioButtonEvents = [
|
const RadioButtonEvents = [
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Callback to invoke on radio button click.",
|
description: 'Callback to invoke on radio button click.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on radio button value change.",
|
description: 'Callback to invoke on radio button value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -88,8 +88,8 @@ const RadioButtonEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
radiobutton: {
|
radiobutton: {
|
||||||
name: "RadioButton",
|
name: 'RadioButton',
|
||||||
description: "RadioButton is an extension to standard radio button element with theming.",
|
description: 'RadioButton is an extension to standard radio button element with theming.',
|
||||||
props: RadioButtonProps,
|
props: RadioButtonProps,
|
||||||
events: RadioButtonEvents
|
events: RadioButtonEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
const RatingProps = [
|
const RatingProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the rating."
|
description: 'Value of the rating.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that component is read-only."
|
description: 'When present, it specifies that component is read-only.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stars",
|
name: 'stars',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Number of stars."
|
description: 'Number of stars.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "cancel",
|
name: 'cancel',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "When specified a cancel icon is displayed to allow clearing the value."
|
description: 'When specified a cancel icon is displayed to allow clearing the value.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const RatingEvents = [
|
const RatingEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -52,8 +52,8 @@ const RatingEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
rating: {
|
rating: {
|
||||||
name: "rating",
|
name: 'rating',
|
||||||
description: "Rating component is a star based selection input.",
|
description: 'Rating component is a star based selection input.',
|
||||||
props: RatingProps,
|
props: RatingProps,
|
||||||
events: RatingEvents
|
events: RatingEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
ripple: {
|
ripple: {
|
||||||
name: "Ripple",
|
name: 'Ripple',
|
||||||
description: "Ripple directive adds ripple effect to the host element.",
|
description: 'Ripple directive adds ripple effect to the host element.',
|
||||||
"vue-modifiers": []
|
'vue-modifiers': []
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
row: {
|
row: {
|
||||||
name: "Row",
|
name: 'Row',
|
||||||
description: "DataTable can be grouped by defining a Row component with nested columns",
|
description: 'DataTable can be grouped by defining a Row component with nested columns',
|
||||||
"doc-url": "datatable"
|
'doc-url': 'datatable'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
const ScrollPanelProps = [
|
const ScrollPanelProps = [
|
||||||
{
|
{
|
||||||
name: "step",
|
name: 'step',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Step factor to scroll the content while pressing the arrow keys."
|
description: 'Step factor to scroll the content while pressing the arrow keys.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
scrollpanel: {
|
scrollpanel: {
|
||||||
name: "ScrollPanel",
|
name: 'ScrollPanel',
|
||||||
description: "ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.",
|
description: 'ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.',
|
||||||
props: ScrollPanelProps
|
props: ScrollPanelProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,34 +1,34 @@
|
||||||
const ScrollTopProps = [
|
const ScrollTopProps = [
|
||||||
{
|
{
|
||||||
name: "target",
|
name: 'target',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "window",
|
default: 'window',
|
||||||
description: 'Target of the ScrollTop, valid values are "window" and "parent".'
|
description: 'Target of the ScrollTop, valid values are "window" and "parent".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "threshold",
|
name: 'threshold',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "400",
|
default: '400',
|
||||||
description: "Defines the threshold value of the vertical scroll position of the target to toggle the visibility."
|
description: 'Defines the threshold value of the vertical scroll position of the target to toggle the visibility.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-chevron-up",
|
default: 'pi pi-chevron-up',
|
||||||
description: "Icon to display."
|
description: 'Icon to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "behavior",
|
name: 'behavior',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "smooth",
|
default: 'smooth',
|
||||||
description: 'Defines the scrolling behavi, "smooth" adds an animation and "auto" scrolls with a jump.'
|
description: 'Defines the scrolling behavi, "smooth" adds an animation and "auto" scrolls with a jump.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
scrolltop: {
|
scrolltop: {
|
||||||
name: "ScrollTop",
|
name: 'ScrollTop',
|
||||||
description: "ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.",
|
description: 'ScrollTop gets displayed after a certain scroll position and used to navigates to the top of the page quickly.',
|
||||||
props: ScrollTopProps
|
props: ScrollTopProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,102 +1,102 @@
|
||||||
const SelectButtonProps = [
|
const SelectButtonProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of selectitems to display as the available options."
|
description: 'An array of selectitems to display as the available options.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionLabel",
|
name: 'optionLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the label of an option."
|
description: 'Property name or getter function to use as the label of an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionValue",
|
name: 'optionValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the value of an option, defaults to the option itself when not defined."
|
description: 'Property name or getter function to use as the value of an option, defaults to the option itself when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "optionDisabled",
|
name: 'optionDisabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined."
|
description: 'Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiple",
|
name: 'multiple',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, allows selecting multiple values."
|
description: 'When specified, allows selecting multiple values.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A property to uniquely identify an option."
|
description: 'A property to uniquely identify an option.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "unselectable",
|
name: 'unselectable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether selection can be cleared."
|
description: 'Whether selection can be cleared.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying element."
|
description: 'Identifier of the underlying element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SelectButtonEvents = [
|
const SelectButtonEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
description: "Single value or an array of values that are selected."
|
description: 'Single value or an array of values that are selected.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke on focus.",
|
description: 'Callback to invoke on focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke on blur.",
|
description: 'Callback to invoke on blur.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -104,15 +104,15 @@ const SelectButtonEvents = [
|
||||||
|
|
||||||
const SelectButtonSlots = [
|
const SelectButtonSlots = [
|
||||||
{
|
{
|
||||||
name: "option",
|
name: 'option',
|
||||||
description: "Custom content for the item's option"
|
description: "Custom content for the item's option"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
selectbutton: {
|
selectbutton: {
|
||||||
name: "SelectButton",
|
name: 'SelectButton',
|
||||||
description: "SelectButton is a form component to choose a value from a list of options using button elements.",
|
description: 'SelectButton is a form component to choose a value from a list of options using button elements.',
|
||||||
props: SelectButtonProps,
|
props: SelectButtonProps,
|
||||||
events: SelectButtonEvents,
|
events: SelectButtonEvents,
|
||||||
slots: SelectButtonSlots
|
slots: SelectButtonSlots
|
||||||
|
|
|
@ -1,76 +1,76 @@
|
||||||
const SidebarProps = [
|
const SidebarProps = [
|
||||||
{
|
{
|
||||||
name: "visible",
|
name: 'visible',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies the visibility of the dialog."
|
description: 'Specifies the visibility of the dialog.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: 'position',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "left",
|
default: 'left',
|
||||||
description: 'Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".'
|
description: 'Specifies the position of the sidebar, valid values are "left", "right", "top", "bottom" and "full".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dismissable",
|
name: 'dismissable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether clicking outside closes the panel."
|
description: 'Whether clicking outside closes the panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showCloseIcon",
|
name: 'showCloseIcon',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to display a close icon inside the panel."
|
description: 'Whether to display a close icon inside the panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "modal",
|
name: 'modal',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to a modal layer behind the sidebar."
|
description: 'Whether to a modal layer behind the sidebar.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ariaCloseLabel",
|
name: 'ariaCloseLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "close",
|
default: 'close',
|
||||||
description: "Aria label of the close icon."
|
description: 'Aria label of the close icon.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SidebarEvents = [
|
const SidebarEvents = [
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when sidebar gets hidden."
|
description: 'Callback to invoke when sidebar gets hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when sidebar gets shown."
|
description: 'Callback to invoke when sidebar gets shown.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SidebarSlots = [
|
const SidebarSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component header."
|
description: 'Custom content for the component header.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
name: "Sidebar",
|
name: 'Sidebar',
|
||||||
description: "Sidebar is a panel component displayed as an overlay at the edges of the screen.",
|
description: 'Sidebar is a panel component displayed as an overlay at the edges of the screen.',
|
||||||
props: SidebarProps,
|
props: SidebarProps,
|
||||||
events: SidebarEvents,
|
events: SidebarEvents,
|
||||||
slots: SidebarSlots
|
slots: SidebarSlots
|
||||||
|
|
|
@ -1,46 +1,46 @@
|
||||||
const SkeletonProps = [
|
const SkeletonProps = [
|
||||||
{
|
{
|
||||||
name: "shape",
|
name: 'shape',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "rectangle",
|
default: 'rectangle',
|
||||||
description: 'Shape of the element, options are "rectangle" and "circle".'
|
description: 'Shape of the element, options are "rectangle" and "circle".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "size",
|
name: 'size',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Size of the Circle or Square."
|
description: 'Size of the Circle or Square.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "width",
|
name: 'width',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "100%",
|
default: '100%',
|
||||||
description: "Width of the element."
|
description: 'Width of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "height",
|
name: 'height',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "1rem",
|
default: '1rem',
|
||||||
description: "Height of the element."
|
description: 'Height of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "borderRadius",
|
name: 'borderRadius',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Border radius of the element, defaults to value from theme."
|
description: 'Border radius of the element, defaults to value from theme.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "animation",
|
name: 'animation',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "wave",
|
default: 'wave',
|
||||||
description: 'Type of the animation, valid options are "wave" and "none".'
|
description: 'Type of the animation, valid options are "wave" and "none".'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
skeleton: {
|
skeleton: {
|
||||||
name: "Skeleton",
|
name: 'Skeleton',
|
||||||
description: "Skeleton is a placeholder to display instead of the actual content.",
|
description: 'Skeleton is a placeholder to display instead of the actual content.',
|
||||||
props: SkeletonProps
|
props: SkeletonProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,91 +1,91 @@
|
||||||
const SliderProps = [
|
const SliderProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "min",
|
name: 'min',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Mininum boundary value."
|
description: 'Mininum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "max",
|
name: 'max',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "100",
|
default: '100',
|
||||||
description: "Maximum boundary value."
|
description: 'Maximum boundary value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "orientation",
|
name: 'orientation',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "horizontal",
|
default: 'horizontal',
|
||||||
description: "Orientation of the slider, valid values are horizontal and vertical."
|
description: 'Orientation of the slider, valid values are horizontal and vertical.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "step",
|
name: 'step',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Step factor to increment/decrement the value."
|
description: 'Step factor to increment/decrement the value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "range",
|
name: 'range',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When speficed, allows two boundary values to be picked."
|
description: 'When speficed, allows two boundary values to be picked.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SliderEvents = [
|
const SliderEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Selected option value"
|
description: 'Selected option value'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "slideend",
|
name: 'slideend',
|
||||||
description: "Callback to invoke when slide ends.",
|
description: 'Callback to invoke when slide ends.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.value",
|
name: 'event.value',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New value."
|
description: 'New value.'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -93,8 +93,8 @@ const SliderEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
slider: {
|
slider: {
|
||||||
name: "Slider",
|
name: 'Slider',
|
||||||
description: "Slider is an input component to provide a numerical input",
|
description: 'Slider is an input component to provide a numerical input',
|
||||||
props: SliderProps,
|
props: SliderProps,
|
||||||
events: SliderEvents
|
events: SliderEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,153 +1,153 @@
|
||||||
const SpeedDialProps = [
|
const SpeedDialProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "any",
|
default: 'any',
|
||||||
description: "MenuModel instance to define the action items."
|
description: 'MenuModel instance to define the action items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "visible",
|
name: 'visible',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Specifies the visibility of the overlay."
|
description: 'Specifies the visibility of the overlay.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "direction",
|
name: 'direction',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "up",
|
default: 'up',
|
||||||
description: "Specifies the opening direction of actions. Valid values are 'up', 'down', 'left', 'right', 'up-left', 'up-right', 'down-left' and 'down-right'"
|
description: "Specifies the opening direction of actions. Valid values are 'up', 'down', 'left', 'right', 'up-left', 'up-right', 'down-left' and 'down-right'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "transitionDelay",
|
name: 'transitionDelay',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "30",
|
default: '30',
|
||||||
description: "Transition delay step for each action item."
|
description: 'Transition delay step for each action item.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "type",
|
name: 'type',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "linear",
|
default: 'linear',
|
||||||
description: "Specifies the opening type of actions."
|
description: 'Specifies the opening type of actions.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "radius",
|
name: 'radius',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Radius for *circle types."
|
description: 'Radius for *circle types.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mask",
|
name: 'mask',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to show a mask element behind the speeddial"
|
description: 'Whether to show a mask element behind the speeddial'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the component is disabled."
|
description: 'Whether the component is disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideOnClickOutside",
|
name: 'hideOnClickOutside',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the actions close when clicked outside."
|
description: 'Whether the actions close when clicked outside.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "buttonClass",
|
name: 'buttonClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the button element."
|
description: 'Style class of the button element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maskClass",
|
name: 'maskClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the mask element."
|
description: 'Style class of the mask element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "maskStyle",
|
name: 'maskStyle',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the mask element."
|
description: 'Inline style of the mask element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showIcon",
|
name: 'showIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-plus",
|
default: 'pi pi-plus',
|
||||||
description: "Show icon of the button element."
|
description: 'Show icon of the button element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hideIcon",
|
name: 'hideIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: " Hide icon of the button element."
|
description: ' Hide icon of the button element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rotateAnimation",
|
name: 'rotateAnimation',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defined to rotate showIcon when hideIcon is not present."
|
description: 'Defined to rotate showIcon when hideIcon is not present.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "class",
|
name: 'class',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the element."
|
description: 'Style class of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "style",
|
name: 'style',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the element."
|
description: 'Style class of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tooltipOptions",
|
name: 'tooltipOptions',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
|
description: "Whether to display the tooltip on items. The modifiers of tooltip can be used like an object in it. Valid keys are 'event' and 'position'."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SpeedDialEvents = [
|
const SpeedDialEvents = [
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Fired when the button element clicked.",
|
description: 'Fired when the button element clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Fired when the actions are visible."
|
description: 'Fired when the actions are visible.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Fired when the actions are hidden."
|
description: 'Fired when the actions are hidden.'
|
||||||
},
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SpeedDialSlots = [
|
const SpeedDialSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Custom content for the item"
|
description: 'Custom content for the item'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "toggle",
|
name: 'toggle',
|
||||||
description: "toggle: toggle metadata"
|
description: 'toggle: toggle metadata'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
speeddial: {
|
speeddial: {
|
||||||
name: "SpeedDial",
|
name: 'SpeedDial',
|
||||||
description: "When pressed, a floating action button can display multiple primary actions that can be performed on a page.",
|
description: 'When pressed, a floating action button can display multiple primary actions that can be performed on a page.',
|
||||||
props: SpeedDialProps,
|
props: SpeedDialProps,
|
||||||
events: SpeedDialEvents,
|
events: SpeedDialEvents,
|
||||||
slots: SpeedDialSlots
|
slots: SpeedDialSlots
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
@ -1,63 +1,63 @@
|
||||||
const SplitButtonProps = [
|
const SplitButtonProps = [
|
||||||
{
|
{
|
||||||
name: "label",
|
name: 'label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Text of the button."
|
description: 'Text of the button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the icon."
|
description: 'Name of the icon.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "MenuModel instance to define the overlay items."
|
description: 'MenuModel instance to define the overlay items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "class",
|
name: 'class',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the component."
|
description: 'Style class of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "style",
|
name: 'style',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline of the component."
|
description: 'Inline of the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SplitButtonEvents = [
|
const SplitButtonEvents = [
|
||||||
{
|
{
|
||||||
name: "click",
|
name: 'click',
|
||||||
description: "Callback to invoke when main button is clicked.",
|
description: 'Callback to invoke when main button is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -65,8 +65,8 @@ const SplitButtonEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
splitbutton: {
|
splitbutton: {
|
||||||
name: "SplitButton",
|
name: 'SplitButton',
|
||||||
description: "SplitButton groups a set of commands in an overlay with a default command.",
|
description: 'SplitButton groups a set of commands in an overlay with a default command.',
|
||||||
props: SplitButtonProps,
|
props: SplitButtonProps,
|
||||||
events: SplitButtonEvents
|
events: SplitButtonEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,50 +1,50 @@
|
||||||
const SplitterProps = [
|
const SplitterProps = [
|
||||||
{
|
{
|
||||||
name: "layout",
|
name: 'layout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "horizontal",
|
default: 'horizontal',
|
||||||
description: 'Orientation of the panels, valid values are "horizontal" and "vertical".'
|
description: 'Orientation of the panels, valid values are "horizontal" and "vertical".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "gutterSize",
|
name: 'gutterSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "4",
|
default: '4',
|
||||||
description: "Size of the divider in pixels."
|
description: 'Size of the divider in pixels.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stateKey",
|
name: 'stateKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Storage identifier of a stateful Splitter."
|
description: 'Storage identifier of a stateful Splitter.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "stateStorage",
|
name: 'stateStorage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "storage",
|
default: 'storage',
|
||||||
description: 'Defines where a stateful splitter keeps its state, valid values are "session" for sessionStorage and "local" for localStorage.'
|
description: 'Defines where a stateful splitter keeps its state, valid values are "session" for sessionStorage and "local" for localStorage.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "step",
|
name: 'step',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Step factor to increment/decrement the size of the panels while pressing the arrow keys."
|
description: 'Step factor to increment/decrement the size of the panels while pressing the arrow keys.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const SplitterEvents = [
|
const SplitterEvents = [
|
||||||
{
|
{
|
||||||
name: "resizened",
|
name: 'resizened',
|
||||||
description: "Callback to invoke when resize ends.",
|
description: 'Callback to invoke when resize ends.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sizes",
|
name: 'event.sizes',
|
||||||
type: "array",
|
type: 'array',
|
||||||
description: "Sizes of the panels as an array"
|
description: 'Sizes of the panels as an array'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -52,8 +52,8 @@ const SplitterEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
splitter: {
|
splitter: {
|
||||||
name: "Splitter",
|
name: 'Splitter',
|
||||||
description: "Splitter is utilized to separate and resize panels",
|
description: 'Splitter is utilized to separate and resize panels',
|
||||||
props: SplitterProps,
|
props: SplitterProps,
|
||||||
events: SplitterEvents
|
events: SplitterEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
const SplitterPanelProps = [
|
const SplitterPanelProps = [
|
||||||
{
|
{
|
||||||
name: "size",
|
name: 'size',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Size of the element relative to 100%."
|
description: 'Size of the element relative to 100%.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "minSize",
|
name: 'minSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Minimum size of the element relative to 100%."
|
description: 'Minimum size of the element relative to 100%.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
splitterpanel: {
|
splitterpanel: {
|
||||||
name: "SplitterPanel",
|
name: 'SplitterPanel',
|
||||||
description: "Splitter requires two SplitterPanel components to wrap.",
|
description: 'Splitter requires two SplitterPanel components to wrap.',
|
||||||
"doc-url": "splitter",
|
'doc-url': 'splitter',
|
||||||
props: SplitterPanelProps
|
props: SplitterPanelProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,41 +1,41 @@
|
||||||
const StepsProps = [
|
const StepsProps = [
|
||||||
{
|
{
|
||||||
name: "id",
|
name: 'id',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Unique identifier of the element."
|
description: 'Unique identifier of the element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "readonly",
|
name: 'readonly',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether the items are clickable or not."
|
description: 'Whether the items are clickable or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const StepsSlots = [
|
const StepsSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
steps: {
|
steps: {
|
||||||
name: "steps",
|
name: 'steps',
|
||||||
description: "Steps components is an indicator for the steps in a wizard workflow.",
|
description: 'Steps components is an indicator for the steps in a wizard workflow.',
|
||||||
props: StepsProps,
|
props: StepsProps,
|
||||||
slots: StepsSlots
|
slots: StepsSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
styleclass: {
|
styleclass: {
|
||||||
name: "StyleClass",
|
name: 'StyleClass',
|
||||||
description: "StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.",
|
description: 'StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element.',
|
||||||
"vue-modifiers": []
|
'vue-modifiers': []
|
||||||
}
|
}
|
||||||
};
|
};
|
|
@ -1,38 +1,38 @@
|
||||||
const TabMenuProps = [
|
const TabMenuProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines if active route highlight should match the exact route path."
|
description: 'Defines if active route highlight should match the exact route path.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "activeIndex",
|
name: 'activeIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Active index of menuitem."
|
description: 'Active index of menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TabMenuEvents = [
|
const TabMenuEvents = [
|
||||||
{
|
{
|
||||||
name: "tab-change",
|
name: 'tab-change',
|
||||||
description: "Callback to invoke when an active tab is changed.",
|
description: 'Callback to invoke when an active tab is changed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.index",
|
name: 'event.index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the selected tab"
|
description: 'Index of the selected tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -40,15 +40,15 @@ const TabMenuEvents = [
|
||||||
|
|
||||||
const TabMenuSlots = [
|
const TabMenuSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tabmenu: {
|
tabmenu: {
|
||||||
name: "TabMenu",
|
name: 'TabMenu',
|
||||||
description: "TabMenu is a navigation component that displays items as tab headers.",
|
description: 'TabMenu is a navigation component that displays items as tab headers.',
|
||||||
props: TabMenuProps,
|
props: TabMenuProps,
|
||||||
events: TabMenuEvents,
|
events: TabMenuEvents,
|
||||||
slots: TabMenuSlots
|
slots: TabMenuSlots
|
||||||
|
|
|
@ -1,90 +1,90 @@
|
||||||
const TabPanelProps = [
|
const TabPanelProps = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Orientation of tab headers."
|
description: 'Orientation of tab headers.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerStyle",
|
name: 'headerStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the tab header."
|
description: 'Inline style of the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerClass",
|
name: 'headerClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the tab header."
|
description: 'Style class of the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerProps",
|
name: 'headerProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLLiElement to the tab header."
|
description: 'Uses to pass all properties of the HTMLLiElement to the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "headerActionProps",
|
name: 'headerActionProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header."
|
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentStyle",
|
name: 'contentStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the tab content."
|
description: 'Inline style of the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentClass",
|
name: 'contentClass',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the tab content."
|
description: 'Style class of the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "contentProps",
|
name: 'contentProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLDivElement to the tab content."
|
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Whether the tab is disabled."
|
description: 'Whether the tab is disabled.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TabPanelEvents = [
|
const TabPanelEvents = [
|
||||||
{
|
{
|
||||||
name: "tab-change",
|
name: 'tab-change',
|
||||||
description: "Callback to invoke when an active tab is changed.",
|
description: 'Callback to invoke when an active tab is changed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.index",
|
name: 'event.index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the selected tab"
|
description: 'Index of the selected tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tab-click",
|
name: 'tab-click',
|
||||||
description: "Callback to invoke when an active tab is clicked.",
|
description: 'Callback to invoke when an active tab is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.index",
|
name: 'event.index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the selected tab"
|
description: 'Index of the selected tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -92,9 +92,9 @@ const TabPanelEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tabpanel: {
|
tabpanel: {
|
||||||
name: "TabPanel",
|
name: 'TabPanel',
|
||||||
description: "TabView element consists of one or more TabPanel elements.",
|
description: 'TabView element consists of one or more TabPanel elements.',
|
||||||
"doc-url": "tabview",
|
'doc-url': 'tabview',
|
||||||
props: TabPanelProps,
|
props: TabPanelProps,
|
||||||
events: TabPanelEvents
|
events: TabPanelEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,78 +1,78 @@
|
||||||
const TabViewProps = [
|
const TabViewProps = [
|
||||||
{
|
{
|
||||||
name: "activeIndex",
|
name: 'activeIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the active tab."
|
description: 'Index of the active tab.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "lazy",
|
name: 'lazy',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css."
|
description: 'When enabled, hidden tabs are not rendered at all. Defaults to false that hides tabs with css.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollable",
|
name: 'scrollable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled displays buttons at each side of the tab headers to scroll the tab list."
|
description: 'When enabled displays buttons at each side of the tab headers to scroll the tab list.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectOnFocus",
|
name: 'selectOnFocus',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, the focused tab is activated."
|
description: 'When enabled, the focused tab is activated.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "previousButtonProps",
|
name: 'previousButtonProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLButtonElement to the previous button."
|
description: 'Uses to pass all properties of the HTMLButtonElement to the previous button.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "nextButtonProps",
|
name: 'nextButtonProps',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLButtonElement to the next button."
|
description: 'Uses to pass all properties of the HTMLButtonElement to the next button.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TabViewEvents = [
|
const TabViewEvents = [
|
||||||
{
|
{
|
||||||
name: "tab-change",
|
name: 'tab-change',
|
||||||
description: "Callback to invoke when an active tab is changed.",
|
description: 'Callback to invoke when an active tab is changed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "index",
|
name: 'index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the selected tab"
|
description: 'Index of the selected tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tab-click",
|
name: 'tab-click',
|
||||||
description: "Callback to invoke when an active tab is clicked.",
|
description: 'Callback to invoke when an active tab is clicked.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "originalEvent",
|
name: 'originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "index",
|
name: 'index',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of the clicked tab"
|
description: 'Index of the clicked tab'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -80,8 +80,8 @@ const TabViewEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tabview: {
|
tabview: {
|
||||||
name: "TabView",
|
name: 'TabView',
|
||||||
description: "TabView is a container component to group content with tabs.",
|
description: 'TabView is a container component to group content with tabs.',
|
||||||
props: TabViewProps,
|
props: TabViewProps,
|
||||||
event: TabViewEvents
|
event: TabViewEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,34 +1,34 @@
|
||||||
const TagProps = [
|
const TagProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value to display inside the tag."
|
description: 'Value to display inside the tag.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "severity",
|
name: 'severity',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Severity type of the tag. Valid severities are "success", "info", "warning" and "danger".'
|
description: 'Severity type of the tag. Valid severities are "success", "info", "warning" and "danger".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rounded",
|
name: 'rounded',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the corners of the tag are rounded."
|
description: 'Whether the corners of the tag are rounded.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "icon",
|
name: 'icon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Icon of the tag to display next to the value."
|
description: 'Icon of the tag to display next to the value.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tag: {
|
tag: {
|
||||||
name: "Tag",
|
name: 'Tag',
|
||||||
description: "Tag component is used to categorize content.",
|
description: 'Tag component is used to categorize content.',
|
||||||
props: TagProps
|
props: TagProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
const TerminalProps = [
|
const TerminalProps = [
|
||||||
{
|
{
|
||||||
name: "welcomeMessage",
|
name: 'welcomeMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Initial text to display on terminal."
|
description: 'Initial text to display on terminal.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "prompt",
|
name: 'prompt',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Prompt text for each command."
|
description: 'Prompt text for each command.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
terminal: {
|
terminal: {
|
||||||
name: "Terminal",
|
name: 'Terminal',
|
||||||
description: "Terminal is a text based user interface.",
|
description: 'Terminal is a text based user interface.',
|
||||||
props: TerminalProps
|
props: TerminalProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
const TextareaProps = [
|
const TextareaProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoResize",
|
name: 'autoResize',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, height of textarea changes as being typed."
|
description: 'When present, height of textarea changes as being typed.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
textarea: {
|
textarea: {
|
||||||
name: "Textarea",
|
name: 'Textarea',
|
||||||
description: "Textarea is a multi-line text input element.",
|
description: 'Textarea is a multi-line text input element.',
|
||||||
props: TextareaProps
|
props: TextareaProps
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,53 +1,53 @@
|
||||||
const TieredMenuProps = [
|
const TieredMenuProps = [
|
||||||
{
|
{
|
||||||
name: "model",
|
name: 'model',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of menuitems."
|
description: 'An array of menuitems.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "popup",
|
name: 'popup',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if menu would displayed as a popup."
|
description: 'Defines if menu would displayed as a popup.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: "A valid query selector or an HTMLElement to specify where the overlay gets attached."
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "exact",
|
name: 'exact',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
description: "Whether to apply 'router-link-active-exact' class if route exactly matches the item path."
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TieredMenuSlots = [
|
const TieredMenuSlots = [
|
||||||
{
|
{
|
||||||
name: "item",
|
name: 'item',
|
||||||
description: "Template of a menuitem."
|
description: 'Template of a menuitem.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tieredmenu: {
|
tieredmenu: {
|
||||||
name: "TieredMenu",
|
name: 'TieredMenu',
|
||||||
description: "TieredMenu displays submenus in nested overlays.",
|
description: 'TieredMenu displays submenus in nested overlays.',
|
||||||
props: TieredMenuProps,
|
props: TieredMenuProps,
|
||||||
slots: TieredMenuSlots
|
slots: TieredMenuSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,53 +1,53 @@
|
||||||
const TimelineProps = [
|
const TimelineProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of events to display."
|
description: 'An array of events to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "align",
|
name: 'align',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "left",
|
default: 'left',
|
||||||
description: 'Position of the timeline bar relative to the content. Valid values are "left", "right" and "alternate" for vertical layout and "top", "bottom" for horizontal layout.'
|
description: 'Position of the timeline bar relative to the content. Valid values are "left", "right" and "alternate" for vertical layout and "top", "bottom" for horizontal layout.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "layout",
|
name: 'layout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "vertical",
|
default: 'vertical',
|
||||||
description: 'Orientation of the timeline, valid values are "vertical" and "horizontal".'
|
description: 'Orientation of the timeline, valid values are "vertical" and "horizontal".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "dataKey",
|
name: 'dataKey',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Name of the field that uniquely identifies the a record in the data."
|
description: 'Name of the field that uniquely identifies the a record in the data.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TimelineSlots = [
|
const TimelineSlots = [
|
||||||
{
|
{
|
||||||
name: "opposite",
|
name: 'opposite',
|
||||||
description: "Custom content for the content to be placed at the other side of the bar"
|
description: 'Custom content for the content to be placed at the other side of the bar'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "marker",
|
name: 'marker',
|
||||||
description: "Custom content for the marker"
|
description: 'Custom content for the marker'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "content",
|
name: 'content',
|
||||||
description: "Custom content"
|
description: 'Custom content'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "connector",
|
name: 'connector',
|
||||||
description: "Connector element"
|
description: 'Connector element'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
timeline: {
|
timeline: {
|
||||||
name: "Timeline",
|
name: 'Timeline',
|
||||||
description: "Timeline visualizes a series of chained events.",
|
description: 'Timeline visualizes a series of chained events.',
|
||||||
props: TimelineProps,
|
props: TimelineProps,
|
||||||
slots: TimelineSlots
|
slots: TimelineSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,47 +1,47 @@
|
||||||
const ToastProps = [
|
const ToastProps = [
|
||||||
{
|
{
|
||||||
name: "group",
|
name: 'group',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Unique identifier of a message group."
|
description: 'Unique identifier of a message group.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "position",
|
name: 'position',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "top-right",
|
default: 'top-right',
|
||||||
description: 'Position of the toast in viewport. Other valid values are "top-left", "top-center", "bottom-left", "bottom-center", "bottom-right" and "center".'
|
description: 'Position of the toast in viewport. Other valid values are "top-left", "top-center", "bottom-left", "bottom-center", "bottom-right" and "center".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoZIndex",
|
name: 'autoZIndex',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to automatically manage layering."
|
description: 'Whether to automatically manage layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "baseZIndex",
|
name: 'baseZIndex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Base zIndex value to use in layering."
|
description: 'Base zIndex value to use in layering.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "breakpoints",
|
name: 'breakpoints',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Object literal to define widths per screen size."
|
description: 'Object literal to define widths per screen size.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ToastSlots = [
|
const ToastSlots = [
|
||||||
{
|
{
|
||||||
name: "message",
|
name: 'message',
|
||||||
description: "Custom content for the toast message"
|
description: 'Custom content for the toast message'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
toast: {
|
toast: {
|
||||||
name: "Toast",
|
name: 'Toast',
|
||||||
description: "Toast is used to display messages in an overlay.",
|
description: 'Toast is used to display messages in an overlay.',
|
||||||
props: ToastProps,
|
props: ToastProps,
|
||||||
slots: ToastSlots
|
slots: ToastSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,109 +1,109 @@
|
||||||
const ToggleButtonProps = [
|
const ToggleButtonProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "onIcon",
|
name: 'onIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Icon for the on state."
|
description: 'Icon for the on state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "offIcon",
|
name: 'offIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Icon for the off state."
|
description: 'Icon for the off state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "onLabel",
|
name: 'onLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "yes",
|
default: 'yes',
|
||||||
description: "Label for the on state."
|
description: 'Label for the on state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "offLabel",
|
name: 'offLabel',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "no",
|
default: 'no',
|
||||||
description: "Label for the off state."
|
description: 'Label for the off state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "iconPos",
|
name: 'iconPos',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "left",
|
default: 'left',
|
||||||
description: 'Position of the icon, valid values are "left" and "right".'
|
description: 'Position of the icon, valid values are "left" and "right".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the element should be disabled."
|
description: 'When present, it specifies that the element should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the focus input to match a label defined for the chips."
|
description: 'Identifier of the focus input to match a label defined for the chips.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputProps",
|
name: 'inputProps',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component."
|
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ToggleButtonEvents = [
|
const ToggleButtonEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Callback to invoke when the component receives focus.",
|
description: 'Callback to invoke when the component receives focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Callback to invoke when the component loses focus.",
|
description: 'Callback to invoke when the component loses focus.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Browser event"
|
description: 'Browser event'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -111,8 +111,8 @@ const ToggleButtonEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
togglebutton: {
|
togglebutton: {
|
||||||
name: "ToggleButton",
|
name: 'ToggleButton',
|
||||||
description: "ToggleButton is used to select a boolean value using a button.",
|
description: 'ToggleButton is used to select a boolean value using a button.',
|
||||||
props: ToggleButtonProps,
|
props: ToggleButtonProps,
|
||||||
events: ToggleButtonEvents
|
events: ToggleButtonEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
const ToolbarProps = [
|
const ToolbarProps = [
|
||||||
{
|
{
|
||||||
name: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Defines a string value that labels an interactive element."
|
description: 'Defines a string value that labels an interactive element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const ToolbarSlots = [
|
const ToolbarSlots = [
|
||||||
{
|
{
|
||||||
name: "start",
|
name: 'start',
|
||||||
description: "Custom content for the component's left side"
|
description: "Custom content for the component's left side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "end",
|
name: 'end',
|
||||||
description: "Custom content for the component's right side"
|
description: "Custom content for the component's right side"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
toolbar: {
|
toolbar: {
|
||||||
name: "Toolbar",
|
name: 'Toolbar',
|
||||||
description: "Toolbar is a grouping component for buttons and other content.",
|
description: 'Toolbar is a grouping component for buttons and other content.',
|
||||||
props: ToolbarProps,
|
props: ToolbarProps,
|
||||||
slots: ToolbarSlots
|
slots: ToolbarSlots
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,34 +1,34 @@
|
||||||
const TooltipModifiers = [
|
const TooltipModifiers = [
|
||||||
{
|
{
|
||||||
name: "right",
|
name: 'right',
|
||||||
description: "Positions the tooltip on the right of the trigger element (default)"
|
description: 'Positions the tooltip on the right of the trigger element (default)'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "top",
|
name: 'top',
|
||||||
description: "Positions the tooltip on the top of the trigger element"
|
description: 'Positions the tooltip on the top of the trigger element'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "bottom",
|
name: 'bottom',
|
||||||
description: "Positions the tooltip on the bottom of the trigger element"
|
description: 'Positions the tooltip on the bottom of the trigger element'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "left",
|
name: 'left',
|
||||||
description: "Positions the tooltip on the left of the trigger element"
|
description: 'Positions the tooltip on the left of the trigger element'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "focus",
|
name: 'focus',
|
||||||
description: "Focus on the trigger element"
|
description: 'Focus on the trigger element'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "blur",
|
name: 'blur',
|
||||||
description: "Blur the trigger element"
|
description: 'Blur the trigger element'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tooltip: {
|
tooltip: {
|
||||||
name: "Tooltip",
|
name: 'Tooltip',
|
||||||
description: "Tooltip directive provides advisory information for a component.",
|
description: 'Tooltip directive provides advisory information for a component.',
|
||||||
"vue-modifiers": TooltipModifiers
|
'vue-modifiers': TooltipModifiers
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,126 +1,127 @@
|
||||||
const TreeProps = [
|
const TreeProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of treenodes."
|
description: 'An array of treenodes.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expandedKeys",
|
name: 'expandedKeys',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map of keys to represent the expansion state in controlled mode."
|
description: 'A map of keys to represent the expansion state in controlled mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionKeys",
|
name: 'selectionKeys',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map of keys to control the selection state."
|
description: 'A map of keys to control the selection state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines how multiple items can be selected, 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."
|
description:
|
||||||
|
'Defines how multiple items can be selected, 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: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to display loading indicator."
|
description: 'Whether to display loading indicator.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spin",
|
default: 'pi pi-spin',
|
||||||
description: "Icon to display when tree is loading."
|
description: 'Icon to display when tree is loading.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, displays an input field to filter the items."
|
description: 'When specified, displays an input field to filter the items.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterBy",
|
name: 'filterBy',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "label",
|
default: 'label',
|
||||||
description: "When filtering is enabled, filterBy decides which field or fields (comma separated) to search against."
|
description: 'When filtering is enabled, filterBy decides which field or fields (comma separated) to search against.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMode",
|
name: 'filterMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "lenient",
|
default: 'lenient',
|
||||||
description: 'Mode for filtering valid values are "lenient" and "strict". Default is lenient.'
|
description: 'Mode for filtering valid values are "lenient" and "strict". Default is lenient.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterPlaceholder",
|
name: 'filterPlaceholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Placeholder text to show when filter input is empty."
|
description: 'Placeholder text to show when filter input is empty.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterLocale",
|
name: 'filterLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.'
|
description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TreeEvents = [
|
const TreeEvents = [
|
||||||
{
|
{
|
||||||
name: "node-select",
|
name: 'node-select',
|
||||||
description: "Callback to invoke when a node is selected.",
|
description: 'Callback to invoke when a node is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-unselect",
|
name: 'node-unselect',
|
||||||
description: "Callback to invoke when a node is unselected.",
|
description: 'Callback to invoke when a node is unselected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-expand",
|
name: 'node-expand',
|
||||||
description: "Callback to invoke when a node is expanded.",
|
description: 'Callback to invoke when a node is expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-collapse",
|
name: 'node-collapse',
|
||||||
description: "Callback to invoke when a node is collapsed.",
|
description: 'Callback to invoke when a node is collapsed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -128,8 +129,8 @@ const TreeEvents = [
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
tree: {
|
tree: {
|
||||||
name: "Tree",
|
name: 'Tree',
|
||||||
description: "Tree is used to display hierarchical data.",
|
description: 'Tree is used to display hierarchical data.',
|
||||||
props: TreeProps,
|
props: TreeProps,
|
||||||
events: TreeEvents
|
events: TreeEvents
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,177 +1,178 @@
|
||||||
const TreeSelectProps = [
|
const TreeSelectProps = [
|
||||||
{
|
{
|
||||||
name: "modelValue",
|
name: 'modelValue',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Value of the component."
|
description: 'Value of the component.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "options",
|
name: 'options',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of treenodes."
|
description: 'An array of treenodes.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "200px",
|
default: '200px',
|
||||||
description: "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
|
description: 'Height of the viewport, a scrollbar is defined if height of list exceeds this value.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "placeholder",
|
name: 'placeholder',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Label to display when there are no selections."
|
description: 'Label to display when there are no selections.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "disabled",
|
name: 'disabled',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When present, it specifies that the component should be disabled."
|
description: 'When present, it specifies that the component should be disabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "tabindex",
|
name: 'tabindex',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Index of the element in tabbing order."
|
description: 'Index of the element in tabbing order.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputId",
|
name: 'inputId',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Identifier of the underlying input element."
|
description: 'Identifier of the underlying input element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputStyle",
|
name: 'inputStyle',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Inline style of the input field."
|
description: 'Inline style of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "inputClass",
|
name: 'inputClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the input field."
|
description: 'Style class of the input field.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "panelClass",
|
name: 'panelClass',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Style class of the overlay panel."
|
description: 'Style class of the overlay panel.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "appendTo",
|
name: 'appendTo',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "body",
|
default: 'body',
|
||||||
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
description: 'A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "emptyMessage",
|
name: 'emptyMessage',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "No results found",
|
default: 'No results found',
|
||||||
description: "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
description: 'Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "display",
|
name: 'display',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "comma",
|
default: 'comma',
|
||||||
description: 'Defines how the selected items are displayed, valid values are "comma" and "chip".'
|
description: 'Defines how the selected items are displayed, valid values are "comma" and "chip".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines how multiple items can be selected, 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."
|
description:
|
||||||
|
'Defines how multiple items can be selected, 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: "aria-labelledby",
|
name: 'aria-labelledby',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
|
description: 'Establishes relationships between the component and label(s) where its value should be one or more element IDs.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "aria-label",
|
name: 'aria-label',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Used to define a string that labels the element."
|
description: 'Used to define a string that labels the element.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TreeSelectEvents = [
|
const TreeSelectEvents = [
|
||||||
{
|
{
|
||||||
name: "change",
|
name: 'change',
|
||||||
description: "Callback to invoke on value change.",
|
description: 'Callback to invoke on value change.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event",
|
name: 'event',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Selected node keys"
|
description: 'Selected node keys'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-show",
|
name: 'before-show',
|
||||||
description: "Callback to invoke before the overlay is shown."
|
description: 'Callback to invoke before the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "before-hide",
|
name: 'before-hide',
|
||||||
description: "Callback to invoke before the overlay is hidden."
|
description: 'Callback to invoke before the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "show",
|
name: 'show',
|
||||||
description: "Callback to invoke when the overlay is shown."
|
description: 'Callback to invoke when the overlay is shown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "hide",
|
name: 'hide',
|
||||||
description: "Callback to invoke when the overlay is hidden."
|
description: 'Callback to invoke when the overlay is hidden.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-select",
|
name: 'node-select',
|
||||||
description: "Callback to invoke when a node is selected.",
|
description: 'Callback to invoke when a node is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-unselect",
|
name: 'node-unselect',
|
||||||
description: "Callback to invoke when a node is unselected.",
|
description: 'Callback to invoke when a node is unselected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-expand",
|
name: 'node-expand',
|
||||||
description: "Callback to invoke when a node is expanded.",
|
description: 'Callback to invoke when a node is expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-collapse",
|
name: 'node-collapse',
|
||||||
description: "Callback to invoke when a node is collapsed.",
|
description: 'Callback to invoke when a node is collapsed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -179,31 +180,31 @@ const TreeSelectEvents = [
|
||||||
|
|
||||||
const TreeSelectSlots = [
|
const TreeSelectSlots = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
description: "Custom content for the item's value"
|
description: "Custom content for the item's value"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indicator",
|
name: 'indicator',
|
||||||
description: "Custom content for the dropdown indicator"
|
description: 'Custom content for the dropdown indicator'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
treeselect: {
|
treeselect: {
|
||||||
name: "TreeSelect",
|
name: 'TreeSelect',
|
||||||
description: "TreeSelect is a form component to choose from hierarchical data.",
|
description: 'TreeSelect is a form component to choose from hierarchical data.',
|
||||||
props: TreeSelectProps,
|
props: TreeSelectProps,
|
||||||
events: TreeSelectEvents,
|
events: TreeSelectEvents,
|
||||||
slots: TreeSelectSlots
|
slots: TreeSelectSlots
|
||||||
|
|
|
@ -1,439 +1,440 @@
|
||||||
const TreeTableProps = [
|
const TreeTableProps = [
|
||||||
{
|
{
|
||||||
name: "value",
|
name: 'value',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of treenodes."
|
description: 'An array of treenodes.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "expandedKeys",
|
name: 'expandedKeys',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map of keys to represent the state of the tree expansion state in controlled mode."
|
description: 'A map of keys to represent the state of the tree expansion state in controlled mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionKeys",
|
name: 'selectionKeys',
|
||||||
type: "any",
|
type: 'any',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "A map of keys to control the selection state."
|
description: 'A map of keys to control the selection state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "selectionMode",
|
name: 'selectionMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
description: 'Defines the selection mode, valid values "single", "multiple", and "checkbox".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "metaKeySelection",
|
name: 'metaKeySelection',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Defines how multiple items can be selected, 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."
|
description:
|
||||||
|
'Defines how multiple items can be selected, 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: "rows",
|
name: 'rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Number of rows to display per page."
|
description: 'Number of rows to display per page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "first",
|
name: 'first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "0",
|
default: '0',
|
||||||
description: "Index of the first row to be displayed."
|
description: 'Index of the first row to be displayed.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "totalRecords",
|
name: 'totalRecords',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Number of total records, defaults to length of value when not defined."
|
description: 'Number of total records, defaults to length of value when not defined.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginator",
|
name: 'paginator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified as true, enables the pagination."
|
description: 'When specified as true, enables the pagination.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorPosition",
|
name: 'paginatorPosition',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "bottom",
|
default: 'bottom',
|
||||||
description: 'Position of the paginator, options are "top", "bottom" or "both".'
|
description: 'Position of the paginator, options are "top", "bottom" or "both".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "alwaysShowPaginator",
|
name: 'alwaysShowPaginator',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "true",
|
default: 'true',
|
||||||
description: "Whether to show it even there is only one page."
|
description: 'Whether to show it even there is only one page.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorTemplate",
|
name: 'paginatorTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown",
|
default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown',
|
||||||
description: "Template of the paginator."
|
description: 'Template of the paginator.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "pageLinkSize",
|
name: 'pageLinkSize',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "5",
|
default: '5',
|
||||||
description: "Number of page links to display."
|
description: 'Number of page links to display.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowsPerPageOptions",
|
name: 'rowsPerPageOptions',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Array of integer values to display inside rows per page dropdown."
|
description: 'Array of integer values to display inside rows per page dropdown.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "currentPageReportTemplate",
|
name: 'currentPageReportTemplate',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "({currentPage} of {totalPages})",
|
default: '({currentPage} of {totalPages})',
|
||||||
description: "Template of the current page report element."
|
description: 'Template of the current page report element.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "lazy",
|
name: 'lazy',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Defines if data is loaded and interacted with in lazy manner."
|
description: 'Defines if data is loaded and interacted with in lazy manner.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loading",
|
name: 'loading',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Displays a loader to indicate data load is in progress."
|
description: 'Displays a loader to indicate data load is in progress.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "loadingIcon",
|
name: 'loadingIcon',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "pi pi-spinner",
|
default: 'pi pi-spinner',
|
||||||
description: "The icon to show while indicating data load is in progress."
|
description: 'The icon to show while indicating data load is in progress.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "rowHover",
|
name: 'rowHover',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, background of the rows change on hover."
|
description: 'When enabled, background of the rows change on hover.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "autoLayout",
|
name: 'autoLayout',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether the cell widths scale according to their content or not."
|
description: 'Whether the cell widths scale according to their content or not.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortField",
|
name: 'sortField',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Property name or a getter function of a row data used for sorting by default."
|
description: 'Property name or a getter function of a row data used for sorting by default.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortOrder",
|
name: 'sortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Order to sort the data by default."
|
description: 'Order to sort the data by default.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "defaultSortOrder",
|
name: 'defaultSortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Default sort order of an unsorted column."
|
description: 'Default sort order of an unsorted column.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multiSortMeta",
|
name: 'multiSortMeta',
|
||||||
type: "array",
|
type: 'array',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "An array of SortMeta objects to sort the data by default in multiple sort mode."
|
description: 'An array of SortMeta objects to sort the data by default in multiple sort mode.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sortMode",
|
name: 'sortMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "single",
|
default: 'single',
|
||||||
description: "Defines whether sorting works on single column or on multiple columns."
|
description: 'Defines whether sorting works on single column or on multiple columns.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "removableSort",
|
name: 'removableSort',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, columns can have an un-sorted state."
|
description: 'When enabled, columns can have an un-sorted state.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filters",
|
name: 'filters',
|
||||||
type: "object",
|
type: 'object',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: "Filters object with key-value pairs to define the filters."
|
description: 'Filters object with key-value pairs to define the filters.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterMode",
|
name: 'filterMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "lenient",
|
default: 'lenient',
|
||||||
description: 'Mode for filtering valid values are "lenient" and "strict". Default is lenient.'
|
description: 'Mode for filtering valid values are "lenient" and "strict". Default is lenient.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filterLocale",
|
name: 'filterLocale',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "undefined",
|
default: 'undefined',
|
||||||
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
description: "Locale to use in filtering. The default locale is the host environment's current locale."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "resizableColumns",
|
name: 'resizableColumns',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When enabled, columns can be resized using drag and drop."
|
description: 'When enabled, columns can be resized using drag and drop.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "columnResizeMode",
|
name: 'columnResizeMode',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "fit",
|
default: 'fit',
|
||||||
description: 'Defines whether the overall table width should change on column resize, valid values are "fit" and "expand".'
|
description: 'Defines whether the overall table width should change on column resize, valid values are "fit" and "expand".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "indentation",
|
name: 'indentation',
|
||||||
type: "number",
|
type: 'number',
|
||||||
default: "1",
|
default: '1',
|
||||||
description: "Indentation factor as rem value for children nodes. Defaults to 1rem."
|
description: 'Indentation factor as rem value for children nodes. Defaults to 1rem.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "showGridlines",
|
name: 'showGridlines',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "Whether to show grid lines between cells."
|
description: 'Whether to show grid lines between cells.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollable",
|
name: 'scrollable',
|
||||||
type: "boolean",
|
type: 'boolean',
|
||||||
default: "false",
|
default: 'false',
|
||||||
description: "When specified, enables horizontal and/or vertical scrolling."
|
description: 'When specified, enables horizontal and/or vertical scrolling.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollDirection",
|
name: 'scrollDirection',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "vertical",
|
default: 'vertical',
|
||||||
description: 'Orientation of the scrolling, options are "vertical", "horizontal" and "both".'
|
description: 'Orientation of the scrolling, options are "vertical", "horizontal" and "both".'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scrollHeight",
|
name: 'scrollHeight',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.'
|
description: 'Height of the scroll viewport in fixed units or the "flex" keyword for a dynamic size.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "responsiveLayout",
|
name: 'responsiveLayout',
|
||||||
type: "string",
|
type: 'string',
|
||||||
default: "null",
|
default: 'null',
|
||||||
description: 'Defines the responsive mode, currently only option is scroll.'
|
description: 'Defines the responsive mode, currently only option is scroll.'
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const TreeTableEvents = [
|
const TreeTableEvents = [
|
||||||
{
|
{
|
||||||
name: "page",
|
name: 'page',
|
||||||
description: "Callback to invoke on pagination. Sort and Filter information is also available for lazy loading implementation.",
|
description: 'Callback to invoke on pagination. Sort and Filter information is also available for lazy loading implementation.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.page",
|
name: 'event.page',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "New page number"
|
description: 'New page number'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.pageCount",
|
name: 'event.pageCount',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Total page count"
|
description: 'Total page count'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.first",
|
name: 'event.first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of first record"
|
description: 'Index of first record'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.rows",
|
name: 'event.rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Number of rows to display in new page"
|
description: 'Number of rows to display in new page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortField",
|
name: 'event.sortField',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Field to sort against"
|
description: 'Field to sort against'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortOrder",
|
name: 'event.sortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Sort order as integer"
|
description: 'Sort order as integer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.multiSortMeta",
|
name: 'event.multiSortMeta',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "MultiSort metadata"
|
description: 'MultiSort metadata'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filters",
|
name: 'event.filters',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Collection of active filters"
|
description: 'Collection of active filters'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filterMatchModes",
|
name: 'event.filterMatchModes',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Match modes per field"
|
description: 'Match modes per field'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "sort",
|
name: 'sort',
|
||||||
description: "Callback to invoke on sort. Page and Filter information is also available for lazy loading implementation.",
|
description: 'Callback to invoke on sort. Page and Filter information is also available for lazy loading implementation.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.first",
|
name: 'event.first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of first record"
|
description: 'Index of first record'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.rows",
|
name: 'event.rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Number of rows to display in new page"
|
description: 'Number of rows to display in new page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortField",
|
name: 'event.sortField',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Field to sort against"
|
description: 'Field to sort against'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortOrder",
|
name: 'event.sortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Sort order as integer"
|
description: 'Sort order as integer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.multiSortMeta",
|
name: 'event.multiSortMeta',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "MultiSort metadata"
|
description: 'MultiSort metadata'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filters",
|
name: 'event.filters',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Collection of active filters"
|
description: 'Collection of active filters'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filterMatchModes",
|
name: 'event.filterMatchModes',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Match modes per field"
|
description: 'Match modes per field'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "filter",
|
name: 'filter',
|
||||||
description: "Event to emit after filtering, not triggered in lazy mode.",
|
description: 'Event to emit after filtering, not triggered in lazy mode.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.originalEvent",
|
name: 'event.originalEvent',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Original event"
|
description: 'Original event'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.first",
|
name: 'event.first',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Index of first record"
|
description: 'Index of first record'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.rows",
|
name: 'event.rows',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Number of rows to display in new page"
|
description: 'Number of rows to display in new page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortField",
|
name: 'event.sortField',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Field to sort against"
|
description: 'Field to sort against'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.sortOrder",
|
name: 'event.sortOrder',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Sort order as integer"
|
description: 'Sort order as integer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.multiSortMeta",
|
name: 'event.multiSortMeta',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "MultiSort metadata"
|
description: 'MultiSort metadata'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filters",
|
name: 'event.filters',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Collection of active filters"
|
description: 'Collection of active filters'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filteredValue",
|
name: 'event.filteredValue',
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Filtered collection"
|
description: 'Filtered collection'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.filterMatchModes",
|
name: 'event.filterMatchModes',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Match modes per field"
|
description: 'Match modes per field'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-select",
|
name: 'node-select',
|
||||||
description: "Callback to invoke when a node is selected.",
|
description: 'Callback to invoke when a node is selected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-unselect",
|
name: 'node-unselect',
|
||||||
description: "Callback to invoke when a node is unselected.",
|
description: 'Callback to invoke when a node is unselected.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-expand",
|
name: 'node-expand',
|
||||||
description: "Callback to invoke when a node is expanded.",
|
description: 'Callback to invoke when a node is expanded.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "node-collapse",
|
name: 'node-collapse',
|
||||||
description: "Callback to invoke when a node is collapsed.",
|
description: 'Callback to invoke when a node is collapsed.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "node",
|
name: 'node',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "Node instance"
|
description: 'Node instance'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "column-resize-end",
|
name: 'column-resize-end',
|
||||||
description: "Callback to invoke when a column is resized.",
|
description: 'Callback to invoke when a column is resized.',
|
||||||
arguments: [
|
arguments: [
|
||||||
{
|
{
|
||||||
name: "event.element",
|
name: 'event.element',
|
||||||
type: "object",
|
type: 'object',
|
||||||
description: "DOM element of the resized column."
|
description: 'DOM element of the resized column.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "event.delta",
|
name: 'event.delta',
|
||||||
type: "number",
|
type: 'number',
|
||||||
description: "Change in column width"
|
description: 'Change in column width'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -441,31 +442,31 @@ const TreeTableEvents = [
|
||||||
|
|
||||||
const TreeTableSlots = [
|
const TreeTableSlots = [
|
||||||
{
|
{
|
||||||
name: "header",
|
name: 'header',
|
||||||
description: "Custom content for the component's header"
|
description: "Custom content for the component's header"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorstart",
|
name: 'paginatorstart',
|
||||||
description: "Custom content for the component paginator's left side"
|
description: "Custom content for the component paginator's left side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "paginatorend",
|
name: 'paginatorend',
|
||||||
description: "Custom content for the component paginator's right side"
|
description: "Custom content for the component paginator's right side"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "empty",
|
name: 'empty',
|
||||||
description: "Custom content when there is no data to display"
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "footer",
|
name: 'footer',
|
||||||
description: "Custom content for the component's footer"
|
description: "Custom content for the component's footer"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
treetable: {
|
treetable: {
|
||||||
name: "TreeTable",
|
name: 'TreeTable',
|
||||||
description: "TreeTable is used to display hierarchical data in tabular format.",
|
description: 'TreeTable is used to display hierarchical data in tabular format.',
|
||||||
props: TreeTableProps,
|
props: TreeTableProps,
|
||||||
events: TreeTableEvents,
|
events: TreeTableEvents,
|
||||||
slots: TreeTableSlots
|
slots: TreeTableSlots
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue