UNPKG

@dcodegroup-au/dsg-vue

Version:

Front-end Vue/Tailwind DSG for UntitledUI.

42 lines (41 loc) 1.48 kB
/** * ------------------------------------------------ * # Setup: Props/Variables * ------------------------------------------------ */ export interface DsgTablePaginationInfoProps { onEachSide?: number; firstPage?: number; showFirstLast?: boolean; firstIcon?: string; lastIcon?: string; prevIcon?: string; nextIcon?: string; } export interface DsgTablePagination { current_page: number; last_page: number; } export interface DsgTablePaginationCss { linkClass?: string; disabledClass?: string; pageClass?: string; activeClass?: string; wrapperClass?: string; } export type Page = number | "next" | "prev"; type __VLS_Props = DsgTablePaginationInfoProps; type __VLS_PublicProps = { "pagination"?: DsgTablePagination | null; } & __VLS_Props; declare const _default: import('vue').DefineComponent<__VLS_PublicProps, { loadPage: (page: Page) => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:pagination": (value: DsgTablePagination | null) => any; } & { "dsg-table:change-page": (page: Page) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onDsg-table:change-page"?: ((page: Page) => any) | undefined; "onUpdate:pagination"?: ((value: DsgTablePagination | null) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>; export default _default;