import type { ToolBtn, Header } from "@@@/table/models" import type { VbFormItem, VbFormRowItem } from "@@@/form/models" export default { tableBox: Symbol("tableBox") as InjectionKey>, table: Symbol("table") as InjectionKey>, //loading: Symbol("loading") as InjectionKey>, searchFrom: Symbol("searchFrom") as InjectionKey<{ searchFormRowItems: Ref searchFormItems: Ref queryParams: Ref searchFormSpan?: number tableSearchBtnSpan?: number }>, toolBtns: Symbol("toolBtns") as InjectionKey>, selectedRowCount: Symbol("selectedRowCount") as InjectionKey>, rightToolbar: Symbol("rightToolbar") as InjectionKey<{ columns: Ref showSearchBtn: boolean showColumnBtn: boolean gutter: number }>, content: Symbol("content") as InjectionKey<{ loading: Ref tableClass: string tableStyle: string }>, checkAll: Symbol("checkAll") as InjectionKey>, header: Symbol("header") as InjectionKey<{ columns: Ref hasCheckbox: boolean // 是否有选择框 isMultipleCheck: boolean // 是否多选 sortField: string // 排序字段 sortOrder: string headerClass: string thTrClass: string }>, body: Symbol("body") as InjectionKey<{ isTree: boolean childrenField: string bodyClass: string }>, bodyTr: Symbol("bodyTr") as InjectionKey<{ selectedIds: Ref isTree: boolean keyField: string hasCheckbox?: boolean isMultipleCheck?: boolean parentField: string expandDepth: number intervalLeft: number iconField: string childrenField: string leafField: string isLazy: boolean lazySearch: boolean tdTrClass?: string }>, bodyTds: Symbol("bodyTds") as InjectionKey<{ columns: Ref rowSpanSuffix: string colSpanSuffix: string expandDepth: number intervalLeft: number iconField: string parentField: string childrenField: string leafField: string isLazy: boolean }>, bodyTd: Symbol("bodyTd") as InjectionKey<{ isExpand: boolean hasChildren: boolean expandDepth: number intervalLeft: number iconField: string parentField: string childrenField: string leafField: string isLazy: boolean }>, displayData: Symbol("displayData") as InjectionKey, fixedColumn: Symbol("fixedColumn") as InjectionKey<{ tableClass: string showBody: boolean }>, pagination: Symbol("pagination") as InjectionKey<{ total: Ref currentPage: Ref pageSize: Ref maxPageBtnCount: number }>, pagePerItems: Symbol("pagePerItems") as InjectionKey<{ total: Ref currentPage: Ref pageSize: Ref pageSizeArray: number[] pageSizeChange: boolean }>, formSlotSuffix: Symbol("formSlotSuffix") as InjectionKey }