ScrollPanel d.ts updated

pull/3689/head
Bahadır Sofuoğlu 2023-02-28 20:39:29 +03:00
parent 6a2839fd59
commit d74b3a20c5
2 changed files with 148 additions and 51 deletions

View File

@ -1,14 +1,29 @@
/**
*
* ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.
*
* [Live Demo](https://www.primevue.org/scrollpanel/)
*
* @module scrollpanel
*
*/
import { VNode } from 'vue'; import { VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
/**
* Defines valid properties in ScrollPanel component.
*/
export interface ScrollPanelProps { export interface ScrollPanelProps {
/** /**
* Step factor to scroll the content while pressing the arrow keys. * Step factor to scroll the content while pressing the arrow keys.
* Default value is 5. * @defaultValue 5
*/ */
step?: number | undefined; step?: number | undefined;
} }
/**
* Defines valid slots in Accordion slots.
*/
export interface ScrollPanelSlots { export interface ScrollPanelSlots {
/** /**
* Custom content slot. * Custom content slot.
@ -16,9 +31,21 @@ export interface ScrollPanelSlots {
default: () => VNode[]; default: () => VNode[];
} }
export declare type ScrollPanelEmits = {}; export interface ScrollPanelEmits {}
declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {} /**
* **PrimeVue - ScrollPanel**
*
* _ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.._
*
* [Live Demo](https://www.primevue.org/scrollpanel/)
* --- ---
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
*
* @group Component
*
*/
export declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -10411,7 +10411,17 @@
} }
} }
}, },
"fieldset/Fieldset": { "fieldset": {
"description": "Fieldset is a grouping component with the optional content toggle feature.\n\n[Live Demo](https://www.primevue.org/fieldset/)",
"components": {
"Fieldset": {
"description": "Fieldset is a grouping component with the optional content toggle feature.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": { "interfaces": {
"description": "Defines the custom interfaces used by the module.", "description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.", "eventDescription": "Defines the custom events used by the component's emit.",
@ -10420,7 +10430,41 @@
"emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.", "emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.",
"slotDescription": "Defines the slots used by the component.", "slotDescription": "Defines the slots used by the component.",
"values": { "values": {
"FieldsetEmits": {
"description": "Defines valid emits in Fildset component.",
"relatedProp": "",
"props": [],
"methods": [
{
"name": "toggle",
"parameters": [
{
"name": "event",
"optional": false,
"type": "FieldsetToggleEvent",
"description": "Custom toggle event."
}
],
"returnType": "void",
"description": "Callback to invoke when a tab gets expanded or collapsed."
},
{
"name": "update:collapsed",
"parameters": [
{
"name": "value",
"optional": false,
"type": "boolean",
"description": "New value."
}
],
"returnType": "void",
"description": "Emitted when the collapsed changes."
}
]
},
"FieldsetProps": { "FieldsetProps": {
"description": "Defines valid properties in Fieldset component.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [
{ {
@ -10428,7 +10472,7 @@
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "boolean", "type": "boolean",
"default": "", "default": "false",
"description": "Defines the default visibility state of the content." "description": "Defines the default visibility state of the content."
}, },
{ {
@ -10452,13 +10496,14 @@
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "boolean", "type": "boolean",
"default": "", "default": "false",
"description": "When specified, content can toggled by clicking the legend." "description": "When specified, content can toggled by clicking the legend."
} }
], ],
"methods": [] "methods": []
}, },
"FieldsetSlots": { "FieldsetSlots": {
"description": "Defines valid slots in Fieldset slots.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [
{ {
@ -10479,7 +10524,8 @@
"methods": [] "methods": []
}, },
"FieldsetToggleEvent": { "FieldsetToggleEvent": {
"relatedProp": "", "description": "Custom toggle event.",
"relatedProp": "toggle",
"props": [ "props": [
{ {
"name": "originalEvent", "name": "originalEvent",
@ -10501,14 +10547,6 @@
"methods": [] "methods": []
} }
} }
},
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"FieldsetEmits": {
"values": "{\n \"toggle\": \"Function, \",\n \"update:collapsed\": \"Function, \"\n}"
}
}
} }
}, },
"fileupload/FileUpload": { "fileupload/FileUpload": {
@ -14448,7 +14486,17 @@
} }
} }
}, },
"panel/Panel": { "panel": {
"description": "Panel is a container with the optional content toggle feature.\n\n[Live Demo](https://www.primevue.org/panel/)",
"components": {
"Panel": {
"description": "Panel is a container with the optional content toggle feature.",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": { "interfaces": {
"description": "Defines the custom interfaces used by the module.", "description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.", "eventDescription": "Defines the custom events used by the component's emit.",
@ -14457,7 +14505,29 @@
"emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.", "emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.",
"slotDescription": "Defines the slots used by the component.", "slotDescription": "Defines the slots used by the component.",
"values": { "values": {
"PanelEmits": {
"description": "Defines valid emits in Panel component.",
"relatedProp": "",
"props": [
{
"name": "toggle",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
},
{
"name": "update:collapsed",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
}
],
"methods": []
},
"PanelProps": { "PanelProps": {
"description": "Defines valid properties in Panel component.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [
{ {
@ -14496,34 +14566,33 @@
"methods": [] "methods": []
}, },
"PanelSlots": { "PanelSlots": {
"description": "Defines valid slots in Panel slots.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [],
"methods": [
{ {
"name": "default", "name": "default",
"optional": false, "parameters": [],
"readonly": false, "returnType": "VNode<RendererNode, RendererElement, Object>[]",
"type": "Function", "description": "Custom content template."
"default": ""
}, },
{ {
"name": "header", "name": "header",
"optional": false, "parameters": [],
"readonly": false, "returnType": "VNode<RendererNode, RendererElement, Object>[]",
"type": "Function", "description": "Custom header template."
"default": ""
}, },
{ {
"name": "icons", "name": "icons",
"optional": false, "parameters": [],
"readonly": false, "returnType": "VNode<RendererNode, RendererElement, Object>[]",
"type": "Function", "description": "Custom icons template."
"default": ""
} }
], ]
"methods": []
}, },
"PanelToggleEvent": { "PanelToggleEvent": {
"relatedProp": "", "description": "Custom toggle event.",
"relatedProp": "toggle",
"props": [ "props": [
{ {
"name": "originalEvent", "name": "originalEvent",
@ -14545,14 +14614,6 @@
"methods": [] "methods": []
} }
} }
},
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"PanelEmits": {
"values": "{\n \"toggle\": \"Function, \",\n \"update:collapsed\": \"Function, \"\n}"
}
}
} }
}, },
"panelmenu/PanelMenu": { "panelmenu/PanelMenu": {
@ -15824,7 +15885,17 @@
} }
} }
}, },
"scrollpanel/ScrollPanel": { "scrollpanel": {
"description": "ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar.\n\n[Live Demo](https://www.primevue.org/scrollpanel/)",
"components": {
"ScrollPanel": {
"description": "ScrollPanel is a cross browser, lightweight and themable alternative to native browser scrollbar..",
"methods": {
"description": "Defines methods that can be accessed by the component's reference.",
"values": []
}
}
},
"interfaces": { "interfaces": {
"description": "Defines the custom interfaces used by the module.", "description": "Defines the custom interfaces used by the module.",
"eventDescription": "Defines the custom events used by the component's emit.", "eventDescription": "Defines the custom events used by the component's emit.",
@ -15833,7 +15904,13 @@
"emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.", "emitDescription": "Defines emit that determine the behavior of the component based on a given condition or report the actions that the component takes.",
"slotDescription": "Defines the slots used by the component.", "slotDescription": "Defines the slots used by the component.",
"values": { "values": {
"ScrollPanelEmits": {
"relatedProp": "",
"props": [],
"methods": []
},
"ScrollPanelProps": { "ScrollPanelProps": {
"description": "Defines valid properties in ScrollPanel component.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [
{ {
@ -15841,13 +15918,14 @@
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "number", "type": "number",
"default": "", "default": "5",
"description": "Step factor to scroll the content while pressing the arrow keys.\nDefault value is 5." "description": "Step factor to scroll the content while pressing the arrow keys."
} }
], ],
"methods": [] "methods": []
}, },
"ScrollPanelSlots": { "ScrollPanelSlots": {
"description": "Defines valid slots in Accordion slots.",
"relatedProp": "", "relatedProp": "",
"props": [ "props": [
{ {
@ -15861,14 +15939,6 @@
"methods": [] "methods": []
} }
} }
},
"types": {
"description": "Defines the custom types used by the module.",
"values": {
"ScrollPanelEmits": {
"values": "{}"
}
}
} }
}, },
"scrolltop/ScrollTop": { "scrolltop/ScrollTop": {