mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
121
components/lib/timeline/Timeline.d.ts
vendored
Normal file
121
components/lib/timeline/Timeline.d.ts
vendored
Normal file
|
@ -0,0 +1,121 @@
|
|||
/**
|
||||
*
|
||||
* Timeline visualizes a series of chained events.
|
||||
*
|
||||
* [Live Demo](https://primevue.org/timeline)
|
||||
*
|
||||
* @module timeline
|
||||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Defines valid properties in Timeline component.
|
||||
*/
|
||||
export interface TimelineProps {
|
||||
/**
|
||||
* An array of events to display.
|
||||
*/
|
||||
value?: any[] | undefined;
|
||||
/**
|
||||
* Position of the timeline bar relative to the content.
|
||||
* @defaultValue left
|
||||
*/
|
||||
align?: 'left' | 'right' | 'alternate' | 'top' | 'bottom' | undefined;
|
||||
/**
|
||||
* Orientation of the timeline.
|
||||
* @defaultValue horizontal
|
||||
*/
|
||||
layout?: 'vertical' | 'horizontal' | undefined;
|
||||
/**
|
||||
* Name of the field that uniquely identifies the a record in the data.
|
||||
*/
|
||||
dataKey?: string | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid slots in Timeline component.
|
||||
*/
|
||||
export interface TimelineSlots {
|
||||
/**
|
||||
* Custom content template
|
||||
* @param {Object} scope - content slot's params.
|
||||
*/
|
||||
content(scope: {
|
||||
/**
|
||||
* Item data
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Index of item
|
||||
*/
|
||||
index: number;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom opposite template.
|
||||
* @param {Object} scope - opposite slot's params.
|
||||
*/
|
||||
opposite(scope: {
|
||||
/**
|
||||
* Item data
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Index of item
|
||||
*/
|
||||
index: number;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom marker template.
|
||||
* @param {Object} scope - marker slot's params.
|
||||
*/
|
||||
marker(scope: {
|
||||
/**
|
||||
* Item data
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Index of item
|
||||
*/
|
||||
index: number;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom connector template.
|
||||
*/
|
||||
connector(scope: {
|
||||
/**
|
||||
* Item data
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Index of item
|
||||
*/
|
||||
index: number;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in Timeline component.
|
||||
*/
|
||||
export interface TimelineEmits {}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Timeline**
|
||||
*
|
||||
* _Timeline visualizes a series of chained events._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/timeline/)
|
||||
* --- ---
|
||||
* 
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class Timeline extends ClassComponent<TimelineProps, TimelineSlots, TimelineEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
Timeline: GlobalComponentConstructor<Timeline>;
|
||||
}
|
||||
}
|
||||
|
||||
export default Timeline;
|
Loading…
Add table
Add a link
Reference in a new issue