UNPKG

@agendize/design-system

Version:
230 lines 10.3 kB
import { ListItemRow, Selectable } from "../list/viewModel"; import { TableProperties } from "./viewModel"; declare function __VLS_template(): { attrs: Partial<{}>; slots: Partial<Record<`col(${string})`, (_: { row: { checked: boolean; id?: string | undefined; title?: string | undefined; subTitle?: string | undefined; ariaLabel: string; secondSubTitle?: string | undefined; hasBorder?: boolean | undefined; hasPadding?: boolean | undefined; selectable?: Selectable | undefined; clickable?: boolean | undefined; object?: any; type?: string | undefined; hoverAnimation?: import("../list-item/viewModel").ListItemHoverAnimationType | undefined; appearAnimation?: import("../list-item/viewModel").ListItemAppearAnimationType | undefined; background?: import("../list-item/viewModel").ListItemBackgroundType | undefined; endSlotPosition?: "center" | "start" | "end" | undefined; disabled?: boolean | undefined; loading?: boolean | undefined; index?: number | undefined; titleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; subtitleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; secondSubtitleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; tags?: { title: string; }[] | undefined; applyTittleAttribute?: boolean | undefined; applyTitleAsTooltip?: boolean | undefined; }; rowIndex: number; columnIndex: number; dataPosition: string; }) => any>> & { customAction?(_: {}): any; emptySlot?(_: {}): any; bulkActionSlot?(_: { items: { checked: boolean; id?: string | undefined; title?: string | undefined; subTitle?: string | undefined; ariaLabel: string; secondSubTitle?: string | undefined; hasBorder?: boolean | undefined; hasPadding?: boolean | undefined; selectable?: Selectable | undefined; clickable?: boolean | undefined; object?: any; type?: string | undefined; hoverAnimation?: import("../list-item/viewModel").ListItemHoverAnimationType | undefined; appearAnimation?: import("../list-item/viewModel").ListItemAppearAnimationType | undefined; background?: import("../list-item/viewModel").ListItemBackgroundType | undefined; endSlotPosition?: "center" | "start" | "end" | undefined; disabled?: boolean | undefined; loading?: boolean | undefined; index?: number | undefined; titleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; subtitleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; secondSubtitleProperties?: { title?: string | undefined; type?: ("primary" | "secondary") | undefined; tooltipLabel?: string | undefined; icon?: string | undefined; nowrap?: boolean | undefined; through?: boolean | undefined; tooltip?: boolean | undefined; twoLines?: boolean | undefined; } | undefined; tags?: { title: string; }[] | undefined; applyTittleAttribute?: boolean | undefined; applyTitleAsTooltip?: boolean | undefined; }[]; }): any; }; refs: { localFullTable: HTMLDivElement; searchInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../search-input/viewModel").SearchInputProps> & Readonly<{ "onUpdate:modelValue"?: ((item: string) => any) | undefined; onOnEnter?: (() => any) | undefined; onOnSearch?: (() => any) | undefined; }>, { focus: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { "update:modelValue": (item: string) => any; onEnter: () => any; onSearch: () => any; }, import("vue").PublicProps, { disabled: boolean; }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, { input: HTMLInputElement; }, HTMLDivElement, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("../../search-input/viewModel").SearchInputProps> & Readonly<{ "onUpdate:modelValue"?: ((item: string) => any) | undefined; onOnEnter?: (() => any) | undefined; onOnSearch?: (() => any) | undefined; }>, { focus: () => void; }, {}, {}, {}, { disabled: boolean; }> | null; localTable: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import("vue").DefineComponent<TableProperties, { filter: () => void; focus: () => void; loadAndFetch: (pageParam?: number) => void; selectQuickFilterById: (filterId: string, disabledIfAlreadyActive?: boolean) => void; clearSearch: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { delete: (item: ListItemRow) => any; "item-clicked": (item: ListItemRow) => any; quickFilterSelected: (filterId: string) => any; updateSelection: (items: ListItemRow[]) => any; "update:filteredCount": (items: number) => any; filteredItems: (items: ListItemRow[]) => any; }, string, import("vue").PublicProps, Readonly<TableProperties> & Readonly<{ onDelete?: ((item: ListItemRow) => any) | undefined; "onItem-clicked"?: ((item: ListItemRow) => any) | undefined; onQuickFilterSelected?: ((filterId: string) => any) | undefined; onUpdateSelection?: ((items: ListItemRow[]) => any) | undefined; "onUpdate:filteredCount"?: ((items: number) => any) | undefined; onFilteredItems?: ((items: ListItemRow[]) => any) | undefined; }>, { id: string; searchDisabled: boolean; displayHeader: boolean; aloneActionBottom: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, { localFullTable: HTMLDivElement; searchInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../search-input/viewModel").SearchInputProps> & Readonly<{ "onUpdate:modelValue"?: ((item: string) => any) | undefined; onOnEnter?: (() => any) | undefined; onOnSearch?: (() => any) | undefined; }>, { focus: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { "update:modelValue": (item: string) => any; onEnter: () => any; onSearch: () => any; }, import("vue").PublicProps, { disabled: boolean; }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, { input: HTMLInputElement; }, HTMLDivElement, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("../../search-input/viewModel").SearchInputProps> & Readonly<{ "onUpdate:modelValue"?: ((item: string) => any) | undefined; onOnEnter?: (() => any) | undefined; onOnSearch?: (() => any) | undefined; }>, { focus: () => void; }, {}, {}, {}, { disabled: boolean; }> | null; localTable: HTMLDivElement; }, 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