UNPKG

@agendize/design-system

Version:
60 lines 2.08 kB
import { CardDataEntity, QuickFilterActionType } from "./viewModel"; interface Props { selectable?: boolean; keyField?: string; data?: CardDataEntity[]; fetchMoreData?: (page: number) => Promise<CardDataEntity[]>; fetchAndFilterMoreData?: (search: string, page: number) => Promise<CardDataEntity[]>; filter?: (data: CardDataEntity[], search: string) => CardDataEntity[]; quickFilters?: QuickFilterActionType[]; searchable?: boolean; fetchOnSearch?: boolean; searchLabel?: string; defaultPicture?: string; nbElementByLine?: number; } declare function __VLS_template(): { attrs: Partial<{}>; slots: { 'footer-left'?(_: { row: CardDataEntity; }): any; 'footer-right'?(_: { row: CardDataEntity; }): any; noData?(_: {}): any; }; refs: {}; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import("vue").DefineComponent<Props, { reload: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { checkCard: (item: CardDataEntity[]) => any; quickFilter: (item: { id: string; active: boolean; }) => any; selectCard: (item: CardDataEntity) => any; }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{ onCheckCard?: ((item: CardDataEntity[]) => any) | undefined; onQuickFilter?: ((item: { id: string; active: boolean; }) => any) | undefined; onSelectCard?: ((item: CardDataEntity) => any) | undefined; }>, { selectable: boolean; keyField: string; searchable: boolean; fetchOnSearch: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; }; //# sourceMappingURL=View.vue.d.ts.map