pro-design-vue 1.3.20 → 1.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.full.js +26 -7
- package/dist/index.full.min.js +8 -8
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +26 -7
- package/es/components/config-provider/src/typing.d.ts +2 -1
- package/es/components/table/src/components/Body/Body.vue.d.ts +9 -0
- package/es/components/table/src/components/Body/BodyExtraCell.vue.d.ts +6 -1
- package/es/components/table/src/components/Body/BodyRow.vue.d.ts +9 -0
- package/es/components/table/src/components/Body/BodyRows.vue.d.ts +9 -0
- package/es/components/table/src/components/ExpandIcon.vue.d.ts +3 -0
- package/es/components/table/src/components/InteralTable.vue.d.ts +18 -0
- package/es/components/table/src/components/Table.d.ts +9 -0
- package/es/components/table/src/components/context/TableContext.d.ts +2 -1
- package/es/components/table/src/components/interface.d.ts +13 -0
- package/es/index.d.ts +15 -0
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue.mjs +2 -1
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue2.mjs +1 -0
- package/es/packages/components/table/src/components/Body/BodyExtraCell.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyRow.vue.mjs +4 -2
- package/es/packages/components/table/src/components/Body/BodyRow.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/Body/BodyRow.vue2.mjs +2 -0
- package/es/packages/components/table/src/components/Body/BodyRow.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/ExpandIcon.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/ExpandIcon.vue2.mjs +4 -2
- package/es/packages/components/table/src/components/ExpandIcon.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue.mjs.map +1 -1
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs +7 -0
- package/es/packages/components/table/src/components/InteralTable.vue2.mjs.map +1 -1
- package/es/packages/components/table/src/components/context/TableContext.mjs.map +1 -1
- package/es/packages/components/table/src/components/interface.mjs +4 -0
- package/es/packages/components/table/src/components/interface.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/config-provider/src/typing.d.ts +2 -1
- package/lib/components/table/src/components/Body/Body.vue.d.ts +9 -0
- package/lib/components/table/src/components/Body/BodyExtraCell.vue.d.ts +6 -1
- package/lib/components/table/src/components/Body/BodyRow.vue.d.ts +9 -0
- package/lib/components/table/src/components/Body/BodyRows.vue.d.ts +9 -0
- package/lib/components/table/src/components/ExpandIcon.vue.d.ts +3 -0
- package/lib/components/table/src/components/InteralTable.vue.d.ts +18 -0
- package/lib/components/table/src/components/Table.d.ts +9 -0
- package/lib/components/table/src/components/context/TableContext.d.ts +2 -1
- package/lib/components/table/src/components/interface.d.ts +13 -0
- package/lib/index.d.ts +15 -0
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue.js +2 -1
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue2.js +1 -0
- package/lib/packages/components/table/src/components/Body/BodyExtraCell.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyRow.vue.js +4 -2
- package/lib/packages/components/table/src/components/Body/BodyRow.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/Body/BodyRow.vue2.js +2 -0
- package/lib/packages/components/table/src/components/Body/BodyRow.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/ExpandIcon.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/ExpandIcon.vue2.js +4 -2
- package/lib/packages/components/table/src/components/ExpandIcon.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue.js.map +1 -1
- package/lib/packages/components/table/src/components/InteralTable.vue2.js +7 -0
- package/lib/packages/components/table/src/components/InteralTable.vue2.js.map +1 -1
- package/lib/packages/components/table/src/components/context/TableContext.js.map +1 -1
- package/lib/packages/components/table/src/components/interface.js +4 -0
- package/lib/packages/components/table/src/components/interface.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/table/table.less +49 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.mjs","sources":["../../../../../../../../packages/components/table/src/components/interface.ts"],"sourcesContent":["import type { TooltipProps } from 'ant-design-vue/es/tooltip'\nimport type { SpinProps } from 'ant-design-vue/es/spin'\nimport type { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType, Ref, VNode } from 'vue'\nimport type {\n AppendCellRange,\n FormatRangeCellTextParams,\n KeydownPayload,\n SelectedRangeItem,\n} from '../hooks/RangeInterface'\nimport type { INTERNAL_SELECTION_ITEM } from '../hooks/useRowSelection'\nimport type { DOWN, LEFT, RIGHT, UP } from './Drag/constant'\nimport type { TablePaginationConfig, TablePaginationPosition } from './PaginationConfig'\nimport type { InputProps } from 'ant-design-vue/es/input'\nimport type { UseFetchDataAction } from '../hooks/useFetchData'\nimport type { CardProps, PopoverProps } from 'ant-design-vue'\nimport type {\n ProFormActionType,\n ProFormItemType,\n ProQueryFilterProps,\n} from '@pro-design-vue/components/form'\nexport type DefaultRecordType = Record<string, any>\nexport interface TooltipAlignConfig {\n points?: [string, string]\n offset?: [number | string, number | string]\n targetOffset?: [number | string, number | string]\n overflow?: {\n adjustX: boolean\n adjustY: boolean\n }\n useCssRight?: boolean\n useCssBottom?: boolean\n useCssTransform?: boolean\n}\nexport type RowType = 'left' | 'center' | 'right'\nexport type ValueStatus = 'success' | 'processing' | 'error' | 'warning' | string | undefined\nexport type Key = string | number\nexport interface Position {\n left?: number\n top?: number\n columnIndex?: number\n columnKey?: Key\n rowKey?: Key\n}\nexport type { TablePaginationPosition, TablePaginationConfig }\nexport type DataIndex = string | number | readonly (string | number)[]\nexport type CellEllipsisType =\n | {\n showTitle?: boolean\n line?: number\n }\n | boolean\nexport type FixedType = 'left' | 'right' | boolean\nexport type RowHeight =\n | ((p: Record<any, any>, isExpandRow: boolean, baseHeight: number) => number | undefined)\n | number\nexport type HeaderHeight = number[] | number\nexport interface RowsRefsItem {\n left?: any\n right?: any\n conter?: any\n}\n// const SpinSizes = ['small', 'default', 'large']\nexport type SpinSize = 'small' | 'default' | 'large'\n// const TableActions = ['paginate', 'sort', 'filter']\nexport type TableAction = 'paginate' | 'sort' | 'filter'\nexport interface StickyOffsets {\n left: readonly number[]\n right: readonly number[]\n isSticky?: boolean\n}\nexport interface CellEditorArgs {\n modelValue: Ref<any>\n save: () => void\n onInput: (event: Event, value: any) => void\n closeEditor: () => void\n column: ColumnType\n editorRef: Ref<any>\n getPopupContainer: () => HTMLElement\n recordIndexs: number[]\n record: any\n}\n\nexport const checkboxProps = () => ({\n prefixCls: String as PropType<string>,\n disabled: Boolean as PropType<boolean>,\n tabindex: [String, Number],\n name: String as PropType<string>,\n id: String as PropType<string>,\n style: {\n type: Object as PropType<CSSProperties>,\n default: () => ({}),\n },\n class: String as PropType<string>,\n checked: Boolean as PropType<boolean>,\n indeterminate: Boolean as PropType<boolean>,\n ariaLabel: String as PropType<string>,\n})\n\nexport type CheckboxProps = Partial<ExtractPropTypes<ReturnType<typeof checkboxProps>>>\nexport type RowSelectionType = 'checkbox' | 'radio'\nexport type GetRowKey<RecordType = DefaultRecordType> = (record: RecordType, index?: number) => Key\nexport interface HeaderSticky {\n offsetHeader?: number\n topSummary?: boolean\n}\n\nexport interface BottomSticky {\n offsetBottom?: number\n}\n\nexport type FlatRecord<T = DefaultRecordType> = {\n record: T\n indent: number\n rowKey: Key\n isExpandRow?: boolean\n rowIndex: number\n pos: string\n flattenIndex: number\n level: number\n}\nexport type GetPopupContainer = (triggerNode: HTMLElement) => HTMLElement\nexport interface SorterResult<RecordType> {\n column?: ColumnType<RecordType>\n order?: SortOrder\n field?: Key | readonly Key[]\n columnKey?: Key\n}\nexport interface TableCurrentDataSource<RecordType = DefaultRecordType> {\n currentDataSource: RecordType[]\n action: TableAction\n}\ntype ChangeEvent<RecordType> = (\n pagination: TablePaginationConfig,\n filters: Record<string, FilterValue | null>,\n sorter: SorterResult<RecordType> | SorterResult<RecordType>[],\n extra: TableCurrentDataSource<RecordType>,\n) => void\ntype Scroll = {\n x?: number | string\n y?: number | string\n scrollToFirstRowOnChange?: boolean\n}\nexport type RowClassName<RecordType> = (\n record: RecordType,\n index: number,\n indent?: number,\n) => string\nexport type ExpandType = null | 'row' | 'nest'\nexport type ExpandedRowRender<ValueType> = (opt: {\n record: ValueType\n index: number\n indent: number\n expanded: boolean\n}) => any\nexport type TriggerEventHandler<RecordType> = (\n record: RecordType,\n key: Key,\n event: MouseEvent,\n) => void\nexport interface RenderExpandIconProps<RecordType> {\n prefixCls: string\n expanded: boolean\n record: RecordType\n expandable: boolean\n onExpand: TriggerEventHandler<RecordType>\n}\nexport type RenderExpandIcon<RecordType> = (props: RenderExpandIconProps<RecordType>) => any\nexport type SelectionItemSelectFn = (currentRowKeys: Key[]) => void\nexport interface SelectionItem {\n key: string\n text: any\n onSelect?: SelectionItemSelectFn\n}\nexport type SelectionSelectFn<T> = (\n record: T,\n selected: boolean,\n selectedRows: T[],\n nativeEvent: Event,\n) => void\nexport interface TableRowSelection<T = DefaultRecordType> {\n /** Keep the selection keys in list even the key not exist in `dataSource` anymore */\n preserveSelectedRowKeys?: boolean\n type?: RowSelectionType\n allowCancelRadio?: boolean\n selectedRowKeys?: Key[]\n defaultSelectedRowKeys?: Key[]\n onChange?: (selectedRowKeys: Key[], selectedRows: T[]) => void\n getCheckboxProps?: (record: T) => Partial<Omit<CheckboxProps, 'checked' | 'defaultChecked'>>\n onSelect?: SelectionSelectFn<T>\n onSelectMultiple?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void\n /** @deprecated This function is meaningless and should use `onChange` instead */\n onSelectAll?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void\n /** @deprecated This function is meaningless and should use `onChange` instead */\n onSelectInvert?: (selectedRowKeys: Key[]) => void\n onSelectNone?: () => void\n selections?: INTERNAL_SELECTION_ITEM[] | boolean\n hideSelectAll?: boolean\n fixed?: boolean\n columnWidth?: string | number\n columnTitle?: any\n checkStrictly?: boolean\n renderCell?: (value: boolean, record: T, index: number, originNode: any) => any\n}\ntype GetComponentProps<DataType> = (\n data: DataType,\n index?: number,\n) => Omit<HTMLAttributes, 'style'> & {\n style?: CSSProperties\n}\nexport type ResizeActionType = 'start' | 'move' | 'end'\nexport type SummaryFixed = boolean | 'top' | 'bottom'\nexport const baseTableProps = <T = DefaultRecordType>() => ({\n ignoreCellKey: Boolean,\n showHeaderScrollbar: Boolean,\n deepWatchDataSource: Boolean,\n deepWatchColumns: Boolean,\n prefixCls: String,\n columnDrag: {\n type: Boolean,\n default: false,\n },\n animateRows: {\n type: Boolean,\n default: undefined,\n },\n dropdownPrefixCls: { type: String },\n columns: {\n type: Array as PropType<ColumnsType<T>>,\n default: () => [],\n },\n dataSource: {\n type: Array as PropType<T[]>,\n default: () => [],\n },\n virtual: {\n type: Boolean,\n default: false,\n },\n xVirtual: {\n type: Boolean,\n default: undefined,\n },\n rowHeight: {\n type: [Number, Function] as PropType<RowHeight>,\n default: undefined,\n },\n autoHeaderHeight: {\n type: Boolean,\n default: false,\n },\n headerHeight: {\n type: [Number, Array] as PropType<HeaderHeight>,\n },\n height: {\n type: [Number, String],\n },\n maxHeight: {\n type: [Number, String],\n },\n minHeight: {\n type: [Number, String],\n },\n size: {\n type: String as PropType<DensitySize>,\n default: undefined,\n },\n bordered: {\n type: Boolean,\n default: undefined,\n },\n wrapText: {\n type: Boolean,\n default: false,\n },\n loading: {\n type: [Boolean, Object] as PropType<boolean | SpinProps>,\n default: undefined,\n },\n pagination: {\n type: [Boolean, Object] as PropType<false | TablePaginationConfig>,\n default: () => ({}),\n },\n direction: {\n type: String as PropType<'rtl'>,\n default: undefined,\n },\n stripe: {\n type: Boolean,\n default: false,\n },\n rowClassName: {\n type: [String, Function] as PropType<string | RowClassName<T>>,\n default: undefined,\n },\n sticky: {\n type: [Boolean, Object] as PropType<boolean | HeaderSticky>,\n default: true,\n },\n selectedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n expandFixed: {\n type: [Boolean, String] as PropType<FixedType>,\n default: undefined,\n },\n expandColumnWidth: {\n type: Number,\n default: undefined,\n },\n expandedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n defaultExpandedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n expandedRowRender: {\n type: Function as PropType<ExpandedRowRender<T>>,\n default: undefined,\n },\n expandRowByClick: {\n type: Boolean,\n default: undefined,\n },\n expandIcon: {\n type: Function as PropType<RenderExpandIcon<T>>,\n default: undefined,\n },\n onExpand: {\n type: Function as PropType<(expanded: boolean, record: T) => void>,\n default: undefined,\n },\n onExpandedRowsChange: {\n type: Function as PropType<(expandedKeys: Key[]) => void>,\n default: undefined,\n },\n defaultExpandAllRows: {\n type: Boolean,\n default: undefined,\n },\n indentSize: Number,\n expandIconColumnIndex: Number,\n childrenColumnName: {\n type: String,\n default: undefined,\n },\n rowExpandable: {\n type: Function as PropType<(record: T) => boolean>,\n default: () => true,\n },\n rowSelection: {\n type: Object as PropType<TableRowSelection<DefaultRecordType>>,\n default: undefined,\n },\n rowHoverDelay: {\n type: Number,\n default: 59,\n },\n rowHover: {\n type: Boolean,\n default: undefined,\n },\n rowKey: {\n type: [Function, String] as PropType<string | GetRowKey<T>>,\n default: undefined,\n },\n customRow: {\n type: Function as PropType<GetComponentProps<T>>,\n default: () => ({}),\n },\n customCell: {\n type: Function as PropType<\n (obj: { record: T; rowIndex: number; column: ColumnType<T> }) => Record<string, any>\n >,\n default: () => ({}),\n },\n customHeaderCell: {\n type: Function as PropType<(column: ColumnType<T>) => Record<string, any>>,\n default: () => ({}),\n },\n customSummaryCellProps: {\n type: Function as PropType<\n (obj: {\n record: T\n rowIndex: number\n column: ColumnType<T>\n columnIndex: number\n }) => Record<string, any>\n >,\n default: () => ({}),\n },\n showHeader: {\n type: Boolean,\n default: true,\n },\n showSorterTooltip: {\n type: [Boolean, Object] as PropType<boolean | TooltipProps>,\n default: true,\n },\n getPopupContainer: {\n type: Function as PropType<GetPopupContainer>,\n },\n locale: {\n type: Object as PropType<TableLocale>,\n default: undefined,\n },\n scrollX: {\n type: [Number, String] as PropType<string | number>,\n },\n scroll: {\n type: Object as PropType<Scroll>,\n default: undefined,\n },\n autoHeight: {\n type: [Boolean, Function] as PropType<boolean | ((autoHeight: number) => number)>,\n default: false,\n },\n rangeSelection: {\n type: [String, Boolean] as PropType<boolean | 'single'>,\n default: false,\n },\n copyDelimiter: {\n type: String,\n default: '',\n },\n rowDrag: {\n type: [Boolean],\n },\n onChange: {\n type: Function as PropType<ChangeEvent<T>>,\n },\n summaryFixed: {\n type: [Boolean, String] as PropType<SummaryFixed>,\n default: undefined,\n },\n hasContextmenuPopup: Boolean,\n formatRangeCellText: {\n type: Function as PropType<(params: FormatRangeCellTextParams) => string>,\n },\n\n columnEmptyText: {\n type: [String, Boolean] as PropType<string | false>,\n default: undefined,\n },\n toolBar: { type: Boolean, default: undefined },\n options: { type: [Object, Boolean] as PropType<OptionConfig | false>, default: undefined },\n alwaysShowAlert: { type: Boolean, default: undefined },\n showAlert: { type: Boolean, default: undefined },\n // requst 相关配置\n request: Function as PropType<Request>,\n params: Object as PropType<Record<string, any>>,\n defaultData: Array as PropType<T[]>,\n manual: Boolean,\n manualRequest: Boolean,\n polling: [Number, Function] as PropType<number | ((dataSource: any[]) => number)>,\n debounceTime: Number,\n onLoad: {\n type: Function as PropType<(dataSource: T[], extra: any) => void>,\n default: undefined,\n },\n onLoadingChange: {\n type: Function as PropType<(loading: boolean | SpinProps | undefined) => void>,\n default: undefined,\n },\n onRequestError: {\n type: Function as PropType<(e: Error) => void>,\n default: undefined,\n },\n onSizeChange: {\n type: Function as PropType<(size: DensitySize) => void>,\n default: undefined,\n },\n onSubmit: {\n type: Function as PropType<ProQueryFilterProps['onFinish']>,\n default: undefined,\n },\n onReset: {\n type: Function as PropType<ProQueryFilterProps['onReset']>,\n default: undefined,\n },\n /** @name 列状态的配置,可以用来操作列功能 */\n columnsState: {\n type: Object as PropType<ColumnStateType>,\n default: undefined,\n },\n /** @name 是否要高亮选择行\t */\n highlightSelectRow: {\n type: Boolean,\n default: undefined,\n },\n\n paginationSticky: {\n type: [Boolean, Object] as PropType<boolean | BottomSticky>,\n default: true,\n },\n horizontalScrollSticky: {\n type: [Boolean, Object] as PropType<boolean | BottomSticky>,\n default: true,\n },\n 'onUpdate:selectedRowKeys': {\n type: Function as PropType<(selectedRowKeys: Key[], selectedRows: T[]) => void>,\n },\n onScroll: {\n type: Function as PropType<(e: UIEvent) => void>,\n },\n 'onUpdate:expandedRowKeys': {\n type: Function as PropType<(info: Key[]) => void>,\n },\n onResizeColumn: {\n type: Function as PropType<\n (w: number, col: ColumnType, action: ResizeActionType) => boolean | void\n >,\n default: undefined,\n },\n onRowDragEnd: {\n type: Function as PropType<(opt: DragRowEventInfo) => boolean | Promise<any> | void>,\n default: undefined,\n },\n onColumnDragEnd: {\n type: Function as PropType<(opt: DragColumnEventInfo) => boolean | Promise<any> | void>,\n default: undefined,\n },\n onCellKeydown: {\n type: Function as PropType<(e: KeyboardEvent, opt: KeydownPayload) => boolean | void>,\n default: undefined,\n },\n onCellClick: {\n type: Function as PropType<(e: MouseEvent, opt: CellRenderArgs) => void>,\n default: undefined,\n },\n onBeforeOpenEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => boolean | Promise<boolean> | void>,\n default: undefined,\n },\n onOpenEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => void>,\n default: undefined,\n },\n onBeforeCloseEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => boolean | Promise<boolean> | void>,\n default: undefined,\n },\n onCloseEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => void>,\n default: undefined,\n },\n 'onUpdate:pagination': {\n type: Function as PropType<(info: TablePaginationConfig) => void>,\n },\n 'onUpdate:dataSource': {\n type: Function as PropType<(dataSource: T[]) => void>,\n },\n 'onUpdate:columns': {\n type: Function as PropType<(columns: ColumnsType<T>, action: 'resize' | 'drag') => void>,\n },\n 'onUpdate:showAlert': {\n type: Function as PropType<(show: boolean) => void>,\n },\n})\n\nexport const tableProps = <T = DefaultRecordType>() => ({\n ...baseTableProps<T>(),\n title: String,\n subTitle: String,\n footer: Function,\n tooltip: String,\n cardProps: {\n type: [Object, Boolean] as PropType<CardProps | false>,\n default: undefined,\n },\n search: {\n type: [Object, Boolean] as PropType<SearchConfig | false>,\n default: undefined,\n },\n beforeSearchSubmit: {\n type: Function as PropType<(params: Partial<T>) => any>,\n default: undefined,\n },\n cardBordered: {\n type: [Boolean, Object] as PropType<Bordered>,\n default: undefined,\n },\n})\nclass Helper<T extends DefaultRecordType> {\n Return = tableProps<T>()\n}\nexport type ProTableProps<T extends DefaultRecordType = DefaultRecordType> = Partial<\n ExtractPropTypes<Helper<T>['Return']>\n>\nexport interface TableLocale {\n filterTitle?: string\n filterConfirm?: any\n filterReset?: any\n filterEmptyText?: any\n emptyText?: any | (() => any)\n selectAll?: any\n selectNone?: any\n selectInvert?: any\n selectionAll?: any\n sortTitle?: string\n expand?: string\n collapse?: string\n triggerDesc?: string\n triggerAsc?: string\n cancelSort?: string\n}\nexport interface ColumnTitleProps<RecordType> {\n /** @deprecated Please use `sorterColumns` instead. */\n sortOrder?: SortOrder\n /** @deprecated Please use `sorterColumns` instead. */\n sortColumn?: ColumnType<RecordType>\n column: ColumnType<RecordType>\n sortColumns?: {\n column: ColumnType<RecordType>\n order: SortOrder\n }[]\n filters?: Record<string, string[]>\n}\nexport type ColumnTitle<RecordType = DefaultRecordType> =\n | string\n | number\n | object\n | ((props: ColumnTitleProps<RecordType>) => any)\ninterface ColumnSharedType {\n title?: ColumnTitle\n key?: Key\n className?: string\n class?: string\n fixed?: FixedType\n ellipsis?: CellEllipsisType\n align?: AlignType\n wrapText?: boolean\n dataIndex?: DataIndex\n}\nexport interface FilterConfirmProps {\n closeDropdown: boolean\n}\nexport type AlignType = 'left' | 'center' | 'right'\nexport interface ColumnFilterItem {\n text: string | number\n value: string | number | boolean\n children?: ColumnFilterItem[]\n}\nexport type SortOrder = 'desc' | 'asc' | null\nexport type CompareFn<T> = (a: T, b: T, sortOrder?: SortOrder) => number\nexport type FilterValue = (Key | boolean)[]\nexport type FilterKey = Key[] | null\nexport interface FilterDropdownProps {\n prefixCls: string\n confirm: (param?: FilterConfirmProps) => void\n clearFilters?: () => void\n filters?: ColumnFilterItem[]\n /** @deprecated Please use `open` instead */\n visible: boolean\n open: boolean\n}\nexport interface CellType {\n key?: Key\n class?: string\n style?: CSSProperties\n colSpan?: number\n rowSpan?: number\n}\nexport interface HeaderCellType {\n key?: Key\n class?: string\n style?: CSSProperties\n column?: FinallyColumnType\n colSpan?: number\n rowSpan?: number\n hasSubColumns?: boolean\n colStart?: number\n colEnd?: number\n}\nexport interface RenderedCell {\n props?: CellType\n children?: any\n}\nexport type CellRenderArgs = {\n record: any\n column: ColumnType<DefaultRecordType> | ColumnGroupType<DefaultRecordType>\n text: any\n value: any\n index: number\n oldValue?: any\n recordIndexs: number[]\n openEditor: () => void\n closeEditor: () => void\n}\nexport interface ContextmenuPopupArg<RecordT, ColumnT>\n extends Omit<Partial<CellRenderArgs>, 'column' | 'record'> {\n column?: ColumnT\n record?: RecordT\n event: MouseEvent\n isExpand?: boolean\n hidePopup: () => void\n}\nexport type MenuFilterProps = {\n prefixCls: string\n setSelectedKeys: (selectedKeys: Key[]) => void\n selectedKeysRef: Ref<Key[]>\n confirm: () => void\n clearFilters: () => void\n filters: ColumnFilterItem[]\n}\nexport interface MenuPopupArg<ColumnT> {\n column: ColumnT\n event: MouseEvent\n hidePopup: () => void\n filter: MenuFilterProps\n}\nexport interface CellTooltip {\n placement?:\n | 'top'\n | 'left'\n | 'right'\n | 'bottom'\n | 'topLeft'\n | 'topRight'\n | 'bottomLeft'\n | 'bottomRight'\n | 'leftTop'\n | 'leftBottom'\n | 'rightTop'\n | 'rightBottom'\n color?: string\n overlayStyle?: CSSProperties\n overlayClassName?: string\n openClassName?: string\n title?: (args: CellRenderArgs) => any\n align?: TooltipAlignConfig\n shouldOpen?: (isEllipsis: boolean, args: CellRenderArgs) => boolean\n allowEnter?: boolean\n}\nexport interface ValueParserParams<RecordType = DefaultRecordType, TValue = any> {\n newValue: TValue\n oldValue: TValue\n record: RecordType\n recordIndexs: number[]\n column: ColumnType<RecordType>\n}\nexport interface EditableValueParams<RecordType = DefaultRecordType, TValue = any> {\n value: TValue\n record: RecordType\n recordIndexs: number[]\n column: ColumnType<RecordType>\n}\nexport interface ValueParserFunc<T = any, TValue = any> {\n (params: ValueParserParams<T, TValue>): TValue | null | undefined\n}\nexport interface ValueGetterFunc<T = any, TValue = any> {\n (params: EditableValueParams<T, TValue>): string | null | undefined\n}\ntype CellEditorSlot = 'cellEditorSlot'\nexport type EditableTrigger = 'click' | 'dblClick' | 'contextmenu'\nexport interface ColumnType<RecordType = DefaultRecordType>\n extends ColumnSharedType,\n Omit<\n ProFormItemType,\n | 'key'\n | 'originKey'\n | 'tooltip'\n | 'hidden'\n | 'grid'\n | 'title'\n | 'spaceProps'\n | 'children'\n | 'width'\n | 'ignoreWidth'\n | 'name'\n | 'originName'\n | 'rowProps'\n | 'colProps'\n | 'valueEnum'\n > {\n search?: ProFormItemType\n colSpan?: number\n dataIndex?: DataIndex\n key?: Key\n rowSpan?: number\n width?: number\n minWidth?: number\n maxWidth?: number\n resizable?: boolean\n flex?: number\n autoHeight?: boolean\n tooltip?: true | CellTooltip\n headerTooltip?: string | true\n hidden?: boolean\n sorter?:\n | boolean\n | CompareFn<RecordType>\n | {\n compare?: CompareFn<RecordType>\n /** Config multiple sorter order priority */\n multiple?: number\n }\n showCellPopover?: boolean | PopoverProps\n sortOrder?: SortOrder\n defaultSortOrder?: SortOrder\n sortDirections?: SortOrder[]\n showSorterTooltip?: boolean | TooltipProps\n filtered?: boolean\n filters?: ColumnFilterItem[]\n filterIcon?: ({ filtered }: { filtered: boolean }) => any\n filterDropdown?: (props: FilterDropdownProps) => any\n filterMultiple?: boolean\n filteredValue?: FilterValue | null\n defaultFilteredValue?: FilterValue | null\n onFilter?: (value: string | number | boolean, record: RecordType) => boolean\n showFilter?: boolean\n showMenu?: boolean | 'hover'\n /** @deprecated Please use `filterDropdownOpen` instead */\n filterDropdownVisible?: boolean\n /** @deprecated Please use `onFilterDropdownOpenChange` instead */\n onFilterDropdownVisibleChange?: (open: boolean) => void\n filterDropdownOpen?: boolean\n onFilterDropdownOpenChange?: (open: boolean) => void\n customFilterDropdown?: boolean\n getPopupContainer?: GetPopupContainer\n customCell?: (obj: {\n record: any\n rowIndex: number\n column: ColumnType<RecordType>\n }) => Record<string, any>\n customHeaderCell?: (column: ColumnType<RecordType>) => Record<string, any>\n customRender?: (opt: {\n value: any\n text: any\n record: RecordType\n index: number\n column: ColumnType<RecordType>\n }) => any | RenderedCell\n editable?:\n | boolean\n | CellEditorSlot\n | ((params: EditableValueParams<RecordType>) => boolean | CellEditorSlot)\n editableTrigger?: EditableTrigger | EditableTrigger[]\n valueParser?: ValueParserFunc<RecordType>\n valueGetter?: ValueGetterFunc<RecordType>\n valueSetter?: (params: ValueParserParams<RecordType>) => boolean | Promise<any>\n valueChange?: (e: Event, params: ValueParserParams<RecordType>) => void\n rowDrag?: boolean | ((arg: { record: RecordType; column: ColumnType<RecordType> }) => boolean)\n drag?: boolean\n /** @deprecated Please use `v-slot:customFilterIcon` `v-slot:bodyCell` `v-slot:headerCell` instead */\n slots?: {\n filterIcon?: string\n filterDropdown?: string\n customRender?: string\n title?: string\n }\n valueEnum?: ((row: RecordType) => Record<string, ValueEnumType>) | Record<string, ValueEnumType>\n valueStatus?: ((value: any, row: RecordType) => ValueStatus) | ValueStatus\n renderText?: (text: any, record: RecordType, rowIndex: number) => string | number\n /** @name 列设置的 disabled */\n disable?:\n | boolean\n | {\n checkbox: boolean\n }\n /** @name 在 table 中隐藏 */\n hideInTable?: boolean\n\n /** @name 在 search 中隐藏 */\n hideInSearch?: boolean\n\n /** @name 不在配置工具中显示 */\n hideInSetting?: boolean\n\n children?: ColumnType<RecordType>[]\n}\nexport interface ColumnGroupType<RecordType = DefaultRecordType> extends ColumnType<RecordType> {\n children?: ColumnsType<RecordType>\n}\nexport type ColumnsType<RecordType = DefaultRecordType> = (\n | ColumnGroupType<RecordType>\n | ColumnType<RecordType>\n)[]\nexport interface FinallyColumnType<RecordType = DefaultRecordType> extends ColumnType<RecordType> {\n finallyWidth?: number\n rowSpan?: number\n height?: number\n left?: number\n top?: number\n type?: 'checkbox' | 'expand' | 'rowIndex' | 'draggable'\n columnKey: Key\n columnIndex: number\n children?: FinallyColumnType<RecordType>[]\n originColumn?: ColumnsType[number]\n __Internal__Column__?: boolean\n showTitle: boolean\n fixed?: 'left' | 'right'\n}\ntype CellInfo = {\n columnKey: Key\n rowKey: Key\n}\nexport interface TableExposeType {\n scrollTo: (pos: string | Position, behavior: 'auto' | 'smooth') => void\n scrollLeft?: number\n scrollTop?: number\n bodyRef: HTMLDivElement\n rootRef: HTMLDivElement\n paginationRef: HTMLDivElement\n formAction: ProFormActionType\n getSelectedRange: () => SelectedRangeItem[]\n clearAllSelectedRange: () => void\n clearDataSource: () => void\n copySelectedRange: () => void\n appendCellToSelectedRange: (cell: AppendCellRange) => void\n openEditor: (cellInfos: CellInfo[]) => void\n closeEditor: (cellInfos?: CellInfo[]) => void\n reload: (resetPageIndex?: boolean) => Promise<void>\n reset: () => void\n calcTableHeight: () => Promise<void>\n formSearchSubmit: () => void\n getSearchParams: () => Record<string, any>\n}\nexport interface DragRowsHandleInfo {\n y: number\n top: number\n height: number\n rowKey: Key\n centerY: number\n record: DefaultRecordType\n indexs: number[]\n}\nexport interface DragColumnHandleInfo {\n x: number\n left: number\n width: number\n columnKey: Key\n centerX: number\n indexs: number[]\n}\nexport interface DragRowEventInfo {\n top: number\n height: number\n dir: typeof DOWN | typeof UP\n rowKey: Key\n record: DefaultRecordType\n event: MouseEvent | Touch\n column: ColumnType\n preTargetInfo: DragRowsHandleInfo | null\n nextTargetInfo: DragRowsHandleInfo | null\n fromIndexs: number[]\n insertToRowKey: Key\n}\nexport interface RowDragGhostArg<RecordT, ColumnT> {\n record: RecordT\n column: ColumnT\n icon: VNode\n allowed: boolean\n dragging: boolean\n event: MouseEvent | Touch\n preTargetInfo: DragRowsHandleInfo | null\n nextTargetInfo: DragRowsHandleInfo | null\n}\nexport interface DragColumnEventInfo {\n event: MouseEvent | Touch\n column: ColumnType\n targetColumn: ColumnType\n dir: typeof LEFT | typeof RIGHT\n}\nexport interface ColumnDragGhostArg<ColumnT> {\n column: ColumnT\n icon: VNode\n allowed: boolean\n dragging: boolean\n event: MouseEvent | Touch\n targetColumn: ColumnT\n}\n\nexport type DensitySize = 'small' | 'middle' | 'large' | undefined\nexport type Request<T = DefaultRecordType, U = Record<string, any>> = (\n params: U & {\n pageSize?: number\n current?: number\n keyword?: string\n },\n sorters?: SorterResult<T>[],\n filter?: Record<string, (string | number)[] | null>,\n) => Promise<Partial<RequestData<T>>>\n\nexport type RequestData<T = DefaultRecordType> = {\n data: T[] | undefined\n success?: boolean\n total?: number\n} & Record<string, any>\n\nexport type OptionsFunctionType = (e: any, action?: UseFetchDataAction<any>) => void\nexport type OptionsType = OptionsFunctionType | boolean\n\nexport type SettingOptionType = {\n draggable?: boolean\n checkable?: boolean\n checkedReset?: boolean\n listsHeight?: number\n}\n\nexport type OptionSearchProps = Omit<InputProps, 'onSearch'> & {\n /** 如果 onSearch 返回一个false,直接拦截请求 */\n onSearch?: (keyword: string) => Promise<boolean | undefined> | boolean | undefined\n}\n\nexport type OptionConfig = {\n density?: boolean\n filter?: boolean\n fullScreen?: OptionsType\n reload?: OptionsType\n setting?: boolean | SettingOptionType\n search?: (OptionSearchProps & { name?: string }) | boolean\n}\n\nexport type ValueEnumType = {\n text: string | number\n label?: string | number\n status?: string\n color?: string\n disabled?: boolean\n value?: string | number | boolean\n children?: ValueEnumType[]\n}\n\nexport type ColumnsState = {\n show?: boolean\n fixed?: true | 'right' | 'left' | undefined\n order?: number\n width?: number\n disable?:\n | boolean\n | {\n checkbox: boolean\n }\n}\n\nexport type ColumnStateType = {\n /**\n * 持久化的类型,支持 localStorage 和 sessionStorage\n *\n * @param localStorage 设置在关闭浏览器后也是存在的\n * @param sessionStorage 关闭浏览器后会丢失\n */\n persistenceType?: 'localStorage' | 'sessionStorage'\n /** 持久化的key,用于存储到 storage 中 */\n persistenceKey?: string\n /** ColumnsState 的值 */\n defaultValue?: Record<string, ColumnsState>\n /** ColumnsState 的值 */\n value?: Record<string, ColumnsState>\n onChange?: (map: Record<string, ColumnsState>) => void\n}\n\nexport type SearchConfig = ProQueryFilterProps & {\n cardProps?: CardProps | false\n tabName?: string\n style?: CSSProperties\n}\n\nexport type BorderedType = 'search' | 'table'\n\nexport type Bordered =\n | boolean\n | {\n search?: boolean\n table?: boolean\n }\n"],"names":[],"mappings":"AAkFO,MAAM,gBAAgB,OAAO;AAAA,EAClC,SAAA,EAAW,MAAA;AAAA,EACX,QAAA,EAAU,OAAA;AAAA,EACV,QAAA,EAAU,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,EACzB,IAAA,EAAM,MAAA;AAAA,EACN,EAAA,EAAI,MAAA;AAAA,EACJ,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC;AAAA,GACnB;AAAA,EACA,KAAA,EAAO,MAAA;AAAA,EACP,OAAA,EAAS,OAAA;AAAA,EACT,aAAA,EAAe,OAAA;AAAA,EACf,SAAA,EAAW;AACb,CAAA;AAmHO,MAAM,iBAAiB,OAA8B;AAAA,EAC1D,aAAA,EAAe,OAA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AA,IACZ,IAAA,EAAM,CAAC,OAAA,EAAS,MAAM,CAAA;AAAA,IACtB,OAAA,EAAS;AAAA;AAEb,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"interface.mjs","sources":["../../../../../../../../packages/components/table/src/components/interface.ts"],"sourcesContent":["import type { TooltipProps } from 'ant-design-vue/es/tooltip'\nimport type { SpinProps } from 'ant-design-vue/es/spin'\nimport type { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType, Ref, VNode } from 'vue'\nimport type {\n AppendCellRange,\n FormatRangeCellTextParams,\n KeydownPayload,\n SelectedRangeItem,\n} from '../hooks/RangeInterface'\nimport type { INTERNAL_SELECTION_ITEM } from '../hooks/useRowSelection'\nimport type { DOWN, LEFT, RIGHT, UP } from './Drag/constant'\nimport type { TablePaginationConfig, TablePaginationPosition } from './PaginationConfig'\nimport type { InputProps } from 'ant-design-vue/es/input'\nimport type { UseFetchDataAction } from '../hooks/useFetchData'\nimport type { CardProps, PopoverProps } from 'ant-design-vue'\nimport type {\n ProFormActionType,\n ProFormItemType,\n ProQueryFilterProps,\n} from '@pro-design-vue/components/form'\nexport type DefaultRecordType = Record<string, any>\nexport interface TooltipAlignConfig {\n points?: [string, string]\n offset?: [number | string, number | string]\n targetOffset?: [number | string, number | string]\n overflow?: {\n adjustX: boolean\n adjustY: boolean\n }\n useCssRight?: boolean\n useCssBottom?: boolean\n useCssTransform?: boolean\n}\nexport type RowType = 'left' | 'center' | 'right'\nexport type ValueStatus = 'success' | 'processing' | 'error' | 'warning' | string | undefined\nexport type Key = string | number\nexport interface Position {\n left?: number\n top?: number\n columnIndex?: number\n columnKey?: Key\n rowKey?: Key\n}\nexport type { TablePaginationPosition, TablePaginationConfig }\nexport type DataIndex = string | number | readonly (string | number)[]\nexport type CellEllipsisType =\n | {\n showTitle?: boolean\n line?: number\n }\n | boolean\nexport type FixedType = 'left' | 'right' | boolean\nexport type RowHeight =\n | ((p: Record<any, any>, isExpandRow: boolean, baseHeight: number) => number | undefined)\n | number\nexport type HeaderHeight = number[] | number\nexport interface RowsRefsItem {\n left?: any\n right?: any\n conter?: any\n}\n// const SpinSizes = ['small', 'default', 'large']\nexport type SpinSize = 'small' | 'default' | 'large'\n// const TableActions = ['paginate', 'sort', 'filter']\nexport type TableAction = 'paginate' | 'sort' | 'filter'\nexport interface StickyOffsets {\n left: readonly number[]\n right: readonly number[]\n isSticky?: boolean\n}\nexport interface CellEditorArgs {\n modelValue: Ref<any>\n save: () => void\n onInput: (event: Event, value: any) => void\n closeEditor: () => void\n column: ColumnType\n editorRef: Ref<any>\n getPopupContainer: () => HTMLElement\n recordIndexs: number[]\n record: any\n}\n\nexport const checkboxProps = () => ({\n prefixCls: String as PropType<string>,\n disabled: Boolean as PropType<boolean>,\n tabindex: [String, Number],\n name: String as PropType<string>,\n id: String as PropType<string>,\n style: {\n type: Object as PropType<CSSProperties>,\n default: () => ({}),\n },\n class: String as PropType<string>,\n checked: Boolean as PropType<boolean>,\n indeterminate: Boolean as PropType<boolean>,\n ariaLabel: String as PropType<string>,\n})\n\nexport type CheckboxProps = Partial<ExtractPropTypes<ReturnType<typeof checkboxProps>>>\nexport type RowSelectionType = 'checkbox' | 'radio'\nexport type GetRowKey<RecordType = DefaultRecordType> = (record: RecordType, index?: number) => Key\nexport interface HeaderSticky {\n offsetHeader?: number\n topSummary?: boolean\n}\n\nexport interface BottomSticky {\n offsetBottom?: number\n}\n\nexport type FlatRecord<T = DefaultRecordType> = {\n record: T\n indent: number\n rowKey: Key\n isExpandRow?: boolean\n rowIndex: number\n pos: string\n flattenIndex: number\n level: number\n}\nexport type GetPopupContainer = (triggerNode: HTMLElement) => HTMLElement\nexport interface SorterResult<RecordType> {\n column?: ColumnType<RecordType>\n order?: SortOrder\n field?: Key | readonly Key[]\n columnKey?: Key\n}\nexport interface TableCurrentDataSource<RecordType = DefaultRecordType> {\n currentDataSource: RecordType[]\n action: TableAction\n}\ntype ChangeEvent<RecordType> = (\n pagination: TablePaginationConfig,\n filters: Record<string, FilterValue | null>,\n sorter: SorterResult<RecordType> | SorterResult<RecordType>[],\n extra: TableCurrentDataSource<RecordType>,\n) => void\ntype Scroll = {\n x?: number | string\n y?: number | string\n scrollToFirstRowOnChange?: boolean\n}\nexport type RowClassName<RecordType> = (\n record: RecordType,\n index: number,\n indent?: number,\n) => string\nexport type ExpandType = null | 'row' | 'nest'\nexport type ExpandedRowRender<ValueType> = (opt: {\n record: ValueType\n index: number\n indent: number\n expanded: boolean\n}) => any\nexport type TriggerEventHandler<RecordType> = (\n record: RecordType,\n key: Key,\n event: MouseEvent,\n) => void\nexport interface RenderExpandIconProps<RecordType> {\n prefixCls: string\n expanded: boolean\n record: RecordType\n expandable: boolean\n onExpand: TriggerEventHandler<RecordType>\n}\nexport type RenderExpandIcon<RecordType> = (props: RenderExpandIconProps<RecordType>) => any\nexport type ExpandIconType = 'default' | 'arrow'\nexport type SelectionItemSelectFn = (currentRowKeys: Key[]) => void\nexport interface SelectionItem {\n key: string\n text: any\n onSelect?: SelectionItemSelectFn\n}\nexport type SelectionSelectFn<T> = (\n record: T,\n selected: boolean,\n selectedRows: T[],\n nativeEvent: Event,\n) => void\nexport interface TableRowSelection<T = DefaultRecordType> {\n /** Keep the selection keys in list even the key not exist in `dataSource` anymore */\n preserveSelectedRowKeys?: boolean\n type?: RowSelectionType\n allowCancelRadio?: boolean\n selectedRowKeys?: Key[]\n defaultSelectedRowKeys?: Key[]\n onChange?: (selectedRowKeys: Key[], selectedRows: T[]) => void\n getCheckboxProps?: (record: T) => Partial<Omit<CheckboxProps, 'checked' | 'defaultChecked'>>\n onSelect?: SelectionSelectFn<T>\n onSelectMultiple?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void\n /** @deprecated This function is meaningless and should use `onChange` instead */\n onSelectAll?: (selected: boolean, selectedRows: T[], changeRows: T[]) => void\n /** @deprecated This function is meaningless and should use `onChange` instead */\n onSelectInvert?: (selectedRowKeys: Key[]) => void\n onSelectNone?: () => void\n selections?: INTERNAL_SELECTION_ITEM[] | boolean\n hideSelectAll?: boolean\n fixed?: boolean\n columnWidth?: string | number\n columnTitle?: any\n checkStrictly?: boolean\n renderCell?: (value: boolean, record: T, index: number, originNode: any) => any\n}\ntype GetComponentProps<DataType> = (\n data: DataType,\n index?: number,\n) => Omit<HTMLAttributes, 'style'> & {\n style?: CSSProperties\n}\nexport type ResizeActionType = 'start' | 'move' | 'end'\nexport type SummaryFixed = boolean | 'top' | 'bottom'\nexport const baseTableProps = <T = DefaultRecordType>() => ({\n ignoreCellKey: Boolean,\n showHeaderScrollbar: Boolean,\n deepWatchDataSource: Boolean,\n deepWatchColumns: Boolean,\n prefixCls: String,\n columnDrag: {\n type: Boolean,\n default: false,\n },\n animateRows: {\n type: Boolean,\n default: undefined,\n },\n dropdownPrefixCls: { type: String },\n columns: {\n type: Array as PropType<ColumnsType<T>>,\n default: () => [],\n },\n dataSource: {\n type: Array as PropType<T[]>,\n default: () => [],\n },\n virtual: {\n type: Boolean,\n default: false,\n },\n xVirtual: {\n type: Boolean,\n default: undefined,\n },\n rowHeight: {\n type: [Number, Function] as PropType<RowHeight>,\n default: undefined,\n },\n autoHeaderHeight: {\n type: Boolean,\n default: false,\n },\n headerHeight: {\n type: [Number, Array] as PropType<HeaderHeight>,\n },\n height: {\n type: [Number, String],\n },\n maxHeight: {\n type: [Number, String],\n },\n minHeight: {\n type: [Number, String],\n },\n size: {\n type: String as PropType<DensitySize>,\n default: undefined,\n },\n bordered: {\n type: Boolean,\n default: undefined,\n },\n wrapText: {\n type: Boolean,\n default: false,\n },\n loading: {\n type: [Boolean, Object] as PropType<boolean | SpinProps>,\n default: undefined,\n },\n pagination: {\n type: [Boolean, Object] as PropType<false | TablePaginationConfig>,\n default: () => ({}),\n },\n direction: {\n type: String as PropType<'rtl'>,\n default: undefined,\n },\n stripe: {\n type: Boolean,\n default: false,\n },\n rowClassName: {\n type: [String, Function] as PropType<string | RowClassName<T>>,\n default: undefined,\n },\n sticky: {\n type: [Boolean, Object] as PropType<boolean | HeaderSticky>,\n default: true,\n },\n selectedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n expandFixed: {\n type: [Boolean, String] as PropType<FixedType>,\n default: undefined,\n },\n expandColumnWidth: {\n type: Number,\n default: undefined,\n },\n expandedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n defaultExpandedRowKeys: {\n type: Array as PropType<Key[]>,\n default: undefined,\n },\n expandedRowRender: {\n type: Function as PropType<ExpandedRowRender<T>>,\n default: undefined,\n },\n expandRowByClick: {\n type: Boolean,\n default: undefined,\n },\n expandIcon: {\n type: Function as PropType<RenderExpandIcon<T>>,\n default: undefined,\n },\n expandIconType: {\n type: String as PropType<ExpandIconType>,\n default: undefined,\n },\n onExpand: {\n type: Function as PropType<(expanded: boolean, record: T) => void>,\n default: undefined,\n },\n onExpandedRowsChange: {\n type: Function as PropType<(expandedKeys: Key[]) => void>,\n default: undefined,\n },\n defaultExpandAllRows: {\n type: Boolean,\n default: undefined,\n },\n indentSize: Number,\n expandIconColumnIndex: Number,\n childrenColumnName: {\n type: String,\n default: undefined,\n },\n rowExpandable: {\n type: Function as PropType<(record: T) => boolean>,\n default: () => true,\n },\n rowSelection: {\n type: Object as PropType<TableRowSelection<DefaultRecordType>>,\n default: undefined,\n },\n rowHoverDelay: {\n type: Number,\n default: 59,\n },\n rowHover: {\n type: Boolean,\n default: undefined,\n },\n rowKey: {\n type: [Function, String] as PropType<string | GetRowKey<T>>,\n default: undefined,\n },\n customRow: {\n type: Function as PropType<GetComponentProps<T>>,\n default: () => ({}),\n },\n customCell: {\n type: Function as PropType<\n (obj: { record: T; rowIndex: number; column: ColumnType<T> }) => Record<string, any>\n >,\n default: () => ({}),\n },\n customHeaderCell: {\n type: Function as PropType<(column: ColumnType<T>) => Record<string, any>>,\n default: () => ({}),\n },\n customSummaryCellProps: {\n type: Function as PropType<\n (obj: {\n record: T\n rowIndex: number\n column: ColumnType<T>\n columnIndex: number\n }) => Record<string, any>\n >,\n default: () => ({}),\n },\n showHeader: {\n type: Boolean,\n default: true,\n },\n showSorterTooltip: {\n type: [Boolean, Object] as PropType<boolean | TooltipProps>,\n default: true,\n },\n getPopupContainer: {\n type: Function as PropType<GetPopupContainer>,\n },\n locale: {\n type: Object as PropType<TableLocale>,\n default: undefined,\n },\n scrollX: {\n type: [Number, String] as PropType<string | number>,\n },\n scroll: {\n type: Object as PropType<Scroll>,\n default: undefined,\n },\n autoHeight: {\n type: [Boolean, Function] as PropType<boolean | ((autoHeight: number) => number)>,\n default: false,\n },\n rangeSelection: {\n type: [String, Boolean] as PropType<boolean | 'single'>,\n default: false,\n },\n copyDelimiter: {\n type: String,\n default: '',\n },\n rowDrag: {\n type: [Boolean],\n },\n onChange: {\n type: Function as PropType<ChangeEvent<T>>,\n },\n summaryFixed: {\n type: [Boolean, String] as PropType<SummaryFixed>,\n default: undefined,\n },\n hasContextmenuPopup: Boolean,\n formatRangeCellText: {\n type: Function as PropType<(params: FormatRangeCellTextParams) => string>,\n },\n\n columnEmptyText: {\n type: [String, Boolean] as PropType<string | false>,\n default: undefined,\n },\n toolBar: { type: Boolean, default: undefined },\n options: { type: [Object, Boolean] as PropType<OptionConfig | false>, default: undefined },\n alwaysShowAlert: { type: Boolean, default: undefined },\n showAlert: { type: Boolean, default: undefined },\n // requst 相关配置\n request: Function as PropType<Request>,\n params: Object as PropType<Record<string, any>>,\n defaultData: Array as PropType<T[]>,\n manual: Boolean,\n manualRequest: Boolean,\n polling: [Number, Function] as PropType<number | ((dataSource: any[]) => number)>,\n debounceTime: Number,\n onLoad: {\n type: Function as PropType<(dataSource: T[], extra: any) => void>,\n default: undefined,\n },\n onLoadingChange: {\n type: Function as PropType<(loading: boolean | SpinProps | undefined) => void>,\n default: undefined,\n },\n onRequestError: {\n type: Function as PropType<(e: Error) => void>,\n default: undefined,\n },\n onSizeChange: {\n type: Function as PropType<(size: DensitySize) => void>,\n default: undefined,\n },\n onSubmit: {\n type: Function as PropType<ProQueryFilterProps['onFinish']>,\n default: undefined,\n },\n onReset: {\n type: Function as PropType<ProQueryFilterProps['onReset']>,\n default: undefined,\n },\n /** @name 列状态的配置,可以用来操作列功能 */\n columnsState: {\n type: Object as PropType<ColumnStateType>,\n default: undefined,\n },\n /** @name 是否要高亮选择行\t */\n highlightSelectRow: {\n type: Boolean,\n default: undefined,\n },\n\n paginationSticky: {\n type: [Boolean, Object] as PropType<boolean | BottomSticky>,\n default: true,\n },\n horizontalScrollSticky: {\n type: [Boolean, Object] as PropType<boolean | BottomSticky>,\n default: true,\n },\n 'onUpdate:selectedRowKeys': {\n type: Function as PropType<(selectedRowKeys: Key[], selectedRows: T[]) => void>,\n },\n onScroll: {\n type: Function as PropType<(e: UIEvent) => void>,\n },\n 'onUpdate:expandedRowKeys': {\n type: Function as PropType<(info: Key[]) => void>,\n },\n onResizeColumn: {\n type: Function as PropType<\n (w: number, col: ColumnType, action: ResizeActionType) => boolean | void\n >,\n default: undefined,\n },\n onRowDragEnd: {\n type: Function as PropType<(opt: DragRowEventInfo) => boolean | Promise<any> | void>,\n default: undefined,\n },\n onColumnDragEnd: {\n type: Function as PropType<(opt: DragColumnEventInfo) => boolean | Promise<any> | void>,\n default: undefined,\n },\n onCellKeydown: {\n type: Function as PropType<(e: KeyboardEvent, opt: KeydownPayload) => boolean | void>,\n default: undefined,\n },\n onCellClick: {\n type: Function as PropType<(e: MouseEvent, opt: CellRenderArgs) => void>,\n default: undefined,\n },\n onBeforeOpenEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => boolean | Promise<boolean> | void>,\n default: undefined,\n },\n onOpenEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => void>,\n default: undefined,\n },\n onBeforeCloseEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => boolean | Promise<boolean> | void>,\n default: undefined,\n },\n onCloseEditor: {\n type: Function as PropType<(opt: CellRenderArgs) => void>,\n default: undefined,\n },\n 'onUpdate:pagination': {\n type: Function as PropType<(info: TablePaginationConfig) => void>,\n },\n 'onUpdate:dataSource': {\n type: Function as PropType<(dataSource: T[]) => void>,\n },\n 'onUpdate:columns': {\n type: Function as PropType<(columns: ColumnsType<T>, action: 'resize' | 'drag') => void>,\n },\n 'onUpdate:showAlert': {\n type: Function as PropType<(show: boolean) => void>,\n },\n})\n\nexport const tableProps = <T = DefaultRecordType>() => ({\n ...baseTableProps<T>(),\n title: String,\n subTitle: String,\n footer: Function,\n tooltip: String,\n cardProps: {\n type: [Object, Boolean] as PropType<CardProps | false>,\n default: undefined,\n },\n search: {\n type: [Object, Boolean] as PropType<SearchConfig | false>,\n default: undefined,\n },\n beforeSearchSubmit: {\n type: Function as PropType<(params: Partial<T>) => any>,\n default: undefined,\n },\n cardBordered: {\n type: [Boolean, Object] as PropType<Bordered>,\n default: undefined,\n },\n})\nclass Helper<T extends DefaultRecordType> {\n Return = tableProps<T>()\n}\nexport type ProTableProps<T extends DefaultRecordType = DefaultRecordType> = Partial<\n ExtractPropTypes<Helper<T>['Return']>\n>\nexport interface TableLocale {\n filterTitle?: string\n filterConfirm?: any\n filterReset?: any\n filterEmptyText?: any\n emptyText?: any | (() => any)\n selectAll?: any\n selectNone?: any\n selectInvert?: any\n selectionAll?: any\n sortTitle?: string\n expand?: string\n collapse?: string\n triggerDesc?: string\n triggerAsc?: string\n cancelSort?: string\n}\nexport interface ColumnTitleProps<RecordType> {\n /** @deprecated Please use `sorterColumns` instead. */\n sortOrder?: SortOrder\n /** @deprecated Please use `sorterColumns` instead. */\n sortColumn?: ColumnType<RecordType>\n column: ColumnType<RecordType>\n sortColumns?: {\n column: ColumnType<RecordType>\n order: SortOrder\n }[]\n filters?: Record<string, string[]>\n}\nexport type ColumnTitle<RecordType = DefaultRecordType> =\n | string\n | number\n | object\n | ((props: ColumnTitleProps<RecordType>) => any)\ninterface ColumnSharedType {\n title?: ColumnTitle\n key?: Key\n className?: string\n class?: string\n fixed?: FixedType\n ellipsis?: CellEllipsisType\n align?: AlignType\n wrapText?: boolean\n dataIndex?: DataIndex\n}\nexport interface FilterConfirmProps {\n closeDropdown: boolean\n}\nexport type AlignType = 'left' | 'center' | 'right'\nexport interface ColumnFilterItem {\n text: string | number\n value: string | number | boolean\n children?: ColumnFilterItem[]\n}\nexport type SortOrder = 'desc' | 'asc' | null\nexport type CompareFn<T> = (a: T, b: T, sortOrder?: SortOrder) => number\nexport type FilterValue = (Key | boolean)[]\nexport type FilterKey = Key[] | null\nexport interface FilterDropdownProps {\n prefixCls: string\n confirm: (param?: FilterConfirmProps) => void\n clearFilters?: () => void\n filters?: ColumnFilterItem[]\n /** @deprecated Please use `open` instead */\n visible: boolean\n open: boolean\n}\nexport interface CellType {\n key?: Key\n class?: string\n style?: CSSProperties\n colSpan?: number\n rowSpan?: number\n}\nexport interface HeaderCellType {\n key?: Key\n class?: string\n style?: CSSProperties\n column?: FinallyColumnType\n colSpan?: number\n rowSpan?: number\n hasSubColumns?: boolean\n colStart?: number\n colEnd?: number\n}\nexport interface RenderedCell {\n props?: CellType\n children?: any\n}\nexport type CellRenderArgs = {\n record: any\n column: ColumnType<DefaultRecordType> | ColumnGroupType<DefaultRecordType>\n text: any\n value: any\n index: number\n oldValue?: any\n recordIndexs: number[]\n openEditor: () => void\n closeEditor: () => void\n}\nexport interface ContextmenuPopupArg<RecordT, ColumnT>\n extends Omit<Partial<CellRenderArgs>, 'column' | 'record'> {\n column?: ColumnT\n record?: RecordT\n event: MouseEvent\n isExpand?: boolean\n hidePopup: () => void\n}\nexport type MenuFilterProps = {\n prefixCls: string\n setSelectedKeys: (selectedKeys: Key[]) => void\n selectedKeysRef: Ref<Key[]>\n confirm: () => void\n clearFilters: () => void\n filters: ColumnFilterItem[]\n}\nexport interface MenuPopupArg<ColumnT> {\n column: ColumnT\n event: MouseEvent\n hidePopup: () => void\n filter: MenuFilterProps\n}\nexport interface CellTooltip {\n placement?:\n | 'top'\n | 'left'\n | 'right'\n | 'bottom'\n | 'topLeft'\n | 'topRight'\n | 'bottomLeft'\n | 'bottomRight'\n | 'leftTop'\n | 'leftBottom'\n | 'rightTop'\n | 'rightBottom'\n color?: string\n overlayStyle?: CSSProperties\n overlayClassName?: string\n openClassName?: string\n title?: (args: CellRenderArgs) => any\n align?: TooltipAlignConfig\n shouldOpen?: (isEllipsis: boolean, args: CellRenderArgs) => boolean\n allowEnter?: boolean\n}\nexport interface ValueParserParams<RecordType = DefaultRecordType, TValue = any> {\n newValue: TValue\n oldValue: TValue\n record: RecordType\n recordIndexs: number[]\n column: ColumnType<RecordType>\n}\nexport interface EditableValueParams<RecordType = DefaultRecordType, TValue = any> {\n value: TValue\n record: RecordType\n recordIndexs: number[]\n column: ColumnType<RecordType>\n}\nexport interface ValueParserFunc<T = any, TValue = any> {\n (params: ValueParserParams<T, TValue>): TValue | null | undefined\n}\nexport interface ValueGetterFunc<T = any, TValue = any> {\n (params: EditableValueParams<T, TValue>): string | null | undefined\n}\ntype CellEditorSlot = 'cellEditorSlot'\nexport type EditableTrigger = 'click' | 'dblClick' | 'contextmenu'\nexport interface ColumnType<RecordType = DefaultRecordType>\n extends ColumnSharedType,\n Omit<\n ProFormItemType,\n | 'key'\n | 'originKey'\n | 'tooltip'\n | 'hidden'\n | 'grid'\n | 'title'\n | 'spaceProps'\n | 'children'\n | 'width'\n | 'ignoreWidth'\n | 'name'\n | 'originName'\n | 'rowProps'\n | 'colProps'\n | 'valueEnum'\n > {\n search?: ProFormItemType\n colSpan?: number\n dataIndex?: DataIndex\n key?: Key\n rowSpan?: number\n width?: number\n minWidth?: number\n maxWidth?: number\n resizable?: boolean\n flex?: number\n autoHeight?: boolean\n tooltip?: true | CellTooltip\n headerTooltip?: string | true\n hidden?: boolean\n sorter?:\n | boolean\n | CompareFn<RecordType>\n | {\n compare?: CompareFn<RecordType>\n /** Config multiple sorter order priority */\n multiple?: number\n }\n showCellPopover?: boolean | PopoverProps\n sortOrder?: SortOrder\n defaultSortOrder?: SortOrder\n sortDirections?: SortOrder[]\n showSorterTooltip?: boolean | TooltipProps\n filtered?: boolean\n filters?: ColumnFilterItem[]\n filterIcon?: ({ filtered }: { filtered: boolean }) => any\n filterDropdown?: (props: FilterDropdownProps) => any\n filterMultiple?: boolean\n filteredValue?: FilterValue | null\n defaultFilteredValue?: FilterValue | null\n onFilter?: (value: string | number | boolean, record: RecordType) => boolean\n showFilter?: boolean\n showMenu?: boolean | 'hover'\n /** @deprecated Please use `filterDropdownOpen` instead */\n filterDropdownVisible?: boolean\n /** @deprecated Please use `onFilterDropdownOpenChange` instead */\n onFilterDropdownVisibleChange?: (open: boolean) => void\n filterDropdownOpen?: boolean\n onFilterDropdownOpenChange?: (open: boolean) => void\n customFilterDropdown?: boolean\n getPopupContainer?: GetPopupContainer\n customCell?: (obj: {\n record: any\n rowIndex: number\n column: ColumnType<RecordType>\n }) => Record<string, any>\n customHeaderCell?: (column: ColumnType<RecordType>) => Record<string, any>\n customRender?: (opt: {\n value: any\n text: any\n record: RecordType\n index: number\n column: ColumnType<RecordType>\n }) => any | RenderedCell\n editable?:\n | boolean\n | CellEditorSlot\n | ((params: EditableValueParams<RecordType>) => boolean | CellEditorSlot)\n editableTrigger?: EditableTrigger | EditableTrigger[]\n valueParser?: ValueParserFunc<RecordType>\n valueGetter?: ValueGetterFunc<RecordType>\n valueSetter?: (params: ValueParserParams<RecordType>) => boolean | Promise<any>\n valueChange?: (e: Event, params: ValueParserParams<RecordType>) => void\n rowDrag?: boolean | ((arg: { record: RecordType; column: ColumnType<RecordType> }) => boolean)\n drag?: boolean\n /** @deprecated Please use `v-slot:customFilterIcon` `v-slot:bodyCell` `v-slot:headerCell` instead */\n slots?: {\n filterIcon?: string\n filterDropdown?: string\n customRender?: string\n title?: string\n }\n valueEnum?: ((row: RecordType) => Record<string, ValueEnumType>) | Record<string, ValueEnumType>\n valueStatus?: ((value: any, row: RecordType) => ValueStatus) | ValueStatus\n renderText?: (text: any, record: RecordType, rowIndex: number) => string | number\n /** @name 列设置的 disabled */\n disable?:\n | boolean\n | {\n checkbox: boolean\n }\n /** @name 在 table 中隐藏 */\n hideInTable?: boolean\n\n /** @name 在 search 中隐藏 */\n hideInSearch?: boolean\n\n /** @name 不在配置工具中显示 */\n hideInSetting?: boolean\n\n children?: ColumnType<RecordType>[]\n}\nexport interface ColumnGroupType<RecordType = DefaultRecordType> extends ColumnType<RecordType> {\n children?: ColumnsType<RecordType>\n}\nexport type ColumnsType<RecordType = DefaultRecordType> = (\n | ColumnGroupType<RecordType>\n | ColumnType<RecordType>\n)[]\nexport interface FinallyColumnType<RecordType = DefaultRecordType> extends ColumnType<RecordType> {\n finallyWidth?: number\n rowSpan?: number\n height?: number\n left?: number\n top?: number\n type?: 'checkbox' | 'expand' | 'rowIndex' | 'draggable'\n columnKey: Key\n columnIndex: number\n children?: FinallyColumnType<RecordType>[]\n originColumn?: ColumnsType[number]\n __Internal__Column__?: boolean\n showTitle: boolean\n fixed?: 'left' | 'right'\n}\ntype CellInfo = {\n columnKey: Key\n rowKey: Key\n}\nexport interface TableExposeType {\n scrollTo: (pos: string | Position, behavior: 'auto' | 'smooth') => void\n scrollLeft?: number\n scrollTop?: number\n bodyRef: HTMLDivElement\n rootRef: HTMLDivElement\n paginationRef: HTMLDivElement\n formAction: ProFormActionType\n getSelectedRange: () => SelectedRangeItem[]\n clearAllSelectedRange: () => void\n clearDataSource: () => void\n copySelectedRange: () => void\n appendCellToSelectedRange: (cell: AppendCellRange) => void\n openEditor: (cellInfos: CellInfo[]) => void\n closeEditor: (cellInfos?: CellInfo[]) => void\n reload: (resetPageIndex?: boolean) => Promise<void>\n reset: () => void\n calcTableHeight: () => Promise<void>\n formSearchSubmit: () => void\n getSearchParams: () => Record<string, any>\n}\nexport interface DragRowsHandleInfo {\n y: number\n top: number\n height: number\n rowKey: Key\n centerY: number\n record: DefaultRecordType\n indexs: number[]\n}\nexport interface DragColumnHandleInfo {\n x: number\n left: number\n width: number\n columnKey: Key\n centerX: number\n indexs: number[]\n}\nexport interface DragRowEventInfo {\n top: number\n height: number\n dir: typeof DOWN | typeof UP\n rowKey: Key\n record: DefaultRecordType\n event: MouseEvent | Touch\n column: ColumnType\n preTargetInfo: DragRowsHandleInfo | null\n nextTargetInfo: DragRowsHandleInfo | null\n fromIndexs: number[]\n insertToRowKey: Key\n}\nexport interface RowDragGhostArg<RecordT, ColumnT> {\n record: RecordT\n column: ColumnT\n icon: VNode\n allowed: boolean\n dragging: boolean\n event: MouseEvent | Touch\n preTargetInfo: DragRowsHandleInfo | null\n nextTargetInfo: DragRowsHandleInfo | null\n}\nexport interface DragColumnEventInfo {\n event: MouseEvent | Touch\n column: ColumnType\n targetColumn: ColumnType\n dir: typeof LEFT | typeof RIGHT\n}\nexport interface ColumnDragGhostArg<ColumnT> {\n column: ColumnT\n icon: VNode\n allowed: boolean\n dragging: boolean\n event: MouseEvent | Touch\n targetColumn: ColumnT\n}\n\nexport type DensitySize = 'small' | 'middle' | 'large' | undefined\nexport type Request<T = DefaultRecordType, U = Record<string, any>> = (\n params: U & {\n pageSize?: number\n current?: number\n keyword?: string\n },\n sorters?: SorterResult<T>[],\n filter?: Record<string, (string | number)[] | null>,\n) => Promise<Partial<RequestData<T>>>\n\nexport type RequestData<T = DefaultRecordType> = {\n data: T[] | undefined\n success?: boolean\n total?: number\n} & Record<string, any>\n\nexport type OptionsFunctionType = (e: any, action?: UseFetchDataAction<any>) => void\nexport type OptionsType = OptionsFunctionType | boolean\n\nexport type SettingOptionType = {\n draggable?: boolean\n checkable?: boolean\n checkedReset?: boolean\n listsHeight?: number\n}\n\nexport type OptionSearchProps = Omit<InputProps, 'onSearch'> & {\n /** 如果 onSearch 返回一个false,直接拦截请求 */\n onSearch?: (keyword: string) => Promise<boolean | undefined> | boolean | undefined\n}\n\nexport type OptionConfig = {\n density?: boolean\n filter?: boolean\n fullScreen?: OptionsType\n reload?: OptionsType\n setting?: boolean | SettingOptionType\n search?: (OptionSearchProps & { name?: string }) | boolean\n}\n\nexport type ValueEnumType = {\n text: string | number\n label?: string | number\n status?: string\n color?: string\n disabled?: boolean\n value?: string | number | boolean\n children?: ValueEnumType[]\n}\n\nexport type ColumnsState = {\n show?: boolean\n fixed?: true | 'right' | 'left' | undefined\n order?: number\n width?: number\n disable?:\n | boolean\n | {\n checkbox: boolean\n }\n}\n\nexport type ColumnStateType = {\n /**\n * 持久化的类型,支持 localStorage 和 sessionStorage\n *\n * @param localStorage 设置在关闭浏览器后也是存在的\n * @param sessionStorage 关闭浏览器后会丢失\n */\n persistenceType?: 'localStorage' | 'sessionStorage'\n /** 持久化的key,用于存储到 storage 中 */\n persistenceKey?: string\n /** ColumnsState 的值 */\n defaultValue?: Record<string, ColumnsState>\n /** ColumnsState 的值 */\n value?: Record<string, ColumnsState>\n onChange?: (map: Record<string, ColumnsState>) => void\n}\n\nexport type SearchConfig = ProQueryFilterProps & {\n cardProps?: CardProps | false\n tabName?: string\n style?: CSSProperties\n}\n\nexport type BorderedType = 'search' | 'table'\n\nexport type Bordered =\n | boolean\n | {\n search?: boolean\n table?: boolean\n }\n"],"names":[],"mappings":"AAkFO,MAAM,gBAAgB,OAAO;AAAA,EAClC,SAAA,EAAW,MAAA;AAAA,EACX,QAAA,EAAU,OAAA;AAAA,EACV,QAAA,EAAU,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,EACzB,IAAA,EAAM,MAAA;AAAA,EACN,EAAA,EAAI,MAAA;AAAA,EACJ,KAAA,EAAO;AAAA,IACL,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS,OAAO,EAAC;AAAA,GACnB;AAAA,EACA,KAAA,EAAO,MAAA;AAAA,EACP,OAAA,EAAS,OAAA;AAAA,EACT,aAAA,EAAe,OAAA;AAAA,EACf,SAAA,EAAW;AACb,CAAA;AAoHO,MAAM,iBAAiB,OAA8B;AAAA,EAC1D,aAAA,EAAe,OAAA;AAAA,EACf,mBAAA,EAAqB,OAAA;AAAA,EACrB,mBAAA,EAAqB,OAAA;AAAA,EACrB,gBAAA,EAAkB,OAAA;AAAA,EAClB,SAAA,EAAW,MAAA;AAAA,EACX,UAAA,EAAY;AA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A,EAAS;AAAA;AAEb,CAAA;;;;"}
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.3.
|
|
1
|
+
export declare const version = "1.3.21";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.3.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/pro-design-vue/version.ts"],"sourcesContent":["export const version = '1.3.21'\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
|
|
@@ -2,7 +2,7 @@ import type { AliasToken } from 'ant-design-vue/es/theme/interface';
|
|
|
2
2
|
import type { ColProps, ConfigProviderProps, NotificationPlacement } from 'ant-design-vue';
|
|
3
3
|
import type { IntlType } from './intl';
|
|
4
4
|
import type { ValidateMessages, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
5
|
-
import type { Bordered, OptionConfig, TablePaginationConfig, DensitySize } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
5
|
+
import type { Bordered, OptionConfig, TablePaginationConfig, DensitySize, ExpandIconType } from 'pro-design-vue/es/components/table/src/components/interface';
|
|
6
6
|
interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
7
7
|
intl?: IntlType;
|
|
8
8
|
proPrefixCls?: string;
|
|
@@ -19,6 +19,7 @@ interface ProConfigProviderProps extends Omit<ConfigProviderProps, 'form'> {
|
|
|
19
19
|
expandRowByClick?: boolean;
|
|
20
20
|
rowKey?: string;
|
|
21
21
|
size?: DensitySize;
|
|
22
|
+
expandIconType?: ExpandIconType;
|
|
22
23
|
rowHover?: boolean;
|
|
23
24
|
summaryFixed?: boolean;
|
|
24
25
|
columnEmptyText?: string;
|
|
@@ -212,6 +212,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
212
212
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
213
213
|
indentSize: import("vue").ComputedRef<number>;
|
|
214
214
|
expanded: import("vue").ComputedRef<boolean>;
|
|
215
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
215
216
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
216
217
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
217
218
|
style?: CSSProperties;
|
|
@@ -273,6 +274,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
273
274
|
expandable: BooleanConstructor;
|
|
274
275
|
disabled: BooleanConstructor;
|
|
275
276
|
onExpand: FunctionConstructor;
|
|
277
|
+
expandIconType: StringConstructor;
|
|
276
278
|
}>, {
|
|
277
279
|
handleClick: () => void;
|
|
278
280
|
className: import("vue").ComputedRef<{
|
|
@@ -287,6 +289,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
287
289
|
expandable: BooleanConstructor;
|
|
288
290
|
disabled: BooleanConstructor;
|
|
289
291
|
onExpand: FunctionConstructor;
|
|
292
|
+
expandIconType: StringConstructor;
|
|
290
293
|
}>> & Readonly<{
|
|
291
294
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
292
295
|
}> & {}>;
|
|
@@ -297,6 +300,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
297
300
|
expandable: BooleanConstructor;
|
|
298
301
|
disabled: BooleanConstructor;
|
|
299
302
|
onExpand: FunctionConstructor;
|
|
303
|
+
expandIconType: StringConstructor;
|
|
300
304
|
}>> & Readonly<{
|
|
301
305
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
302
306
|
}>, {
|
|
@@ -1959,6 +1963,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1959
1963
|
type: (StringConstructor | NumberConstructor)[];
|
|
1960
1964
|
};
|
|
1961
1965
|
expanded: PropType<boolean>;
|
|
1966
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1962
1967
|
supportExpand: BooleanConstructor;
|
|
1963
1968
|
}>, {
|
|
1964
1969
|
handleRadioChange: (e: Event) => void;
|
|
@@ -2013,6 +2018,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2013
2018
|
type: (StringConstructor | NumberConstructor)[];
|
|
2014
2019
|
};
|
|
2015
2020
|
expanded: PropType<boolean>;
|
|
2021
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
2016
2022
|
supportExpand: BooleanConstructor;
|
|
2017
2023
|
}>> & Readonly<{}>, {
|
|
2018
2024
|
column: import("../interface").FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -2055,6 +2061,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2055
2061
|
expandable: BooleanConstructor;
|
|
2056
2062
|
disabled: BooleanConstructor;
|
|
2057
2063
|
onExpand: FunctionConstructor;
|
|
2064
|
+
expandIconType: StringConstructor;
|
|
2058
2065
|
}>, {
|
|
2059
2066
|
handleClick: () => void;
|
|
2060
2067
|
className: import("vue").ComputedRef<{
|
|
@@ -2069,6 +2076,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2069
2076
|
expandable: BooleanConstructor;
|
|
2070
2077
|
disabled: BooleanConstructor;
|
|
2071
2078
|
onExpand: FunctionConstructor;
|
|
2079
|
+
expandIconType: StringConstructor;
|
|
2072
2080
|
}>> & Readonly<{
|
|
2073
2081
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
2074
2082
|
}> & {}>;
|
|
@@ -2079,6 +2087,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2079
2087
|
expandable: BooleanConstructor;
|
|
2080
2088
|
disabled: BooleanConstructor;
|
|
2081
2089
|
onExpand: FunctionConstructor;
|
|
2090
|
+
expandIconType: StringConstructor;
|
|
2082
2091
|
}>> & Readonly<{
|
|
2083
2092
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
2084
2093
|
}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { FinallyColumnType, RowType, Key, DefaultRecordType, RowSelectionType, CellType } from '../interface';
|
|
2
|
+
import type { FinallyColumnType, RowType, Key, DefaultRecordType, RowSelectionType, CellType, ExpandIconType } from '../interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
prefixCls: PropType<string>;
|
|
5
5
|
rowIndex: {
|
|
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
type: (StringConstructor | NumberConstructor)[];
|
|
21
21
|
};
|
|
22
22
|
expanded: PropType<boolean>;
|
|
23
|
+
expandIconType: PropType<ExpandIconType>;
|
|
23
24
|
supportExpand: BooleanConstructor;
|
|
24
25
|
}>, {
|
|
25
26
|
handleRadioChange: (e: Event) => void;
|
|
@@ -74,6 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
74
75
|
type: (StringConstructor | NumberConstructor)[];
|
|
75
76
|
};
|
|
76
77
|
expanded: PropType<boolean>;
|
|
78
|
+
expandIconType: PropType<ExpandIconType>;
|
|
77
79
|
supportExpand: BooleanConstructor;
|
|
78
80
|
}>> & Readonly<{}>, {
|
|
79
81
|
column: FinallyColumnType<DefaultRecordType>;
|
|
@@ -116,6 +118,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
116
118
|
expandable: BooleanConstructor;
|
|
117
119
|
disabled: BooleanConstructor;
|
|
118
120
|
onExpand: FunctionConstructor;
|
|
121
|
+
expandIconType: StringConstructor;
|
|
119
122
|
}>, {
|
|
120
123
|
handleClick: () => void;
|
|
121
124
|
className: import("vue").ComputedRef<{
|
|
@@ -130,6 +133,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
130
133
|
expandable: BooleanConstructor;
|
|
131
134
|
disabled: BooleanConstructor;
|
|
132
135
|
onExpand: FunctionConstructor;
|
|
136
|
+
expandIconType: StringConstructor;
|
|
133
137
|
}>> & Readonly<{
|
|
134
138
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
135
139
|
}> & {}>;
|
|
@@ -140,6 +144,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
140
144
|
expandable: BooleanConstructor;
|
|
141
145
|
disabled: BooleanConstructor;
|
|
142
146
|
onExpand: FunctionConstructor;
|
|
147
|
+
expandIconType: StringConstructor;
|
|
143
148
|
}>> & Readonly<{
|
|
144
149
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
145
150
|
}>, {
|
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
44
44
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
45
45
|
indentSize: import("vue").ComputedRef<number>;
|
|
46
46
|
expanded: import("vue").ComputedRef<boolean>;
|
|
47
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
47
48
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
48
49
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
49
50
|
style?: CSSProperties;
|
|
@@ -105,6 +106,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
105
106
|
expandable: BooleanConstructor;
|
|
106
107
|
disabled: BooleanConstructor;
|
|
107
108
|
onExpand: FunctionConstructor;
|
|
109
|
+
expandIconType: StringConstructor;
|
|
108
110
|
}>, {
|
|
109
111
|
handleClick: () => void;
|
|
110
112
|
className: import("vue").ComputedRef<{
|
|
@@ -119,6 +121,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
119
121
|
expandable: BooleanConstructor;
|
|
120
122
|
disabled: BooleanConstructor;
|
|
121
123
|
onExpand: FunctionConstructor;
|
|
124
|
+
expandIconType: StringConstructor;
|
|
122
125
|
}>> & Readonly<{
|
|
123
126
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
124
127
|
}> & {}>;
|
|
@@ -129,6 +132,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
129
132
|
expandable: BooleanConstructor;
|
|
130
133
|
disabled: BooleanConstructor;
|
|
131
134
|
onExpand: FunctionConstructor;
|
|
135
|
+
expandIconType: StringConstructor;
|
|
132
136
|
}>> & Readonly<{
|
|
133
137
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
134
138
|
}>, {
|
|
@@ -1791,6 +1795,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1791
1795
|
type: (StringConstructor | NumberConstructor)[];
|
|
1792
1796
|
};
|
|
1793
1797
|
expanded: PropType<boolean>;
|
|
1798
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1794
1799
|
supportExpand: BooleanConstructor;
|
|
1795
1800
|
}>, {
|
|
1796
1801
|
handleRadioChange: (e: Event) => void;
|
|
@@ -1845,6 +1850,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1845
1850
|
type: (StringConstructor | NumberConstructor)[];
|
|
1846
1851
|
};
|
|
1847
1852
|
expanded: PropType<boolean>;
|
|
1853
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1848
1854
|
supportExpand: BooleanConstructor;
|
|
1849
1855
|
}>> & Readonly<{}>, {
|
|
1850
1856
|
column: import("../interface").FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -1887,6 +1893,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1887
1893
|
expandable: BooleanConstructor;
|
|
1888
1894
|
disabled: BooleanConstructor;
|
|
1889
1895
|
onExpand: FunctionConstructor;
|
|
1896
|
+
expandIconType: StringConstructor;
|
|
1890
1897
|
}>, {
|
|
1891
1898
|
handleClick: () => void;
|
|
1892
1899
|
className: import("vue").ComputedRef<{
|
|
@@ -1901,6 +1908,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1901
1908
|
expandable: BooleanConstructor;
|
|
1902
1909
|
disabled: BooleanConstructor;
|
|
1903
1910
|
onExpand: FunctionConstructor;
|
|
1911
|
+
expandIconType: StringConstructor;
|
|
1904
1912
|
}>> & Readonly<{
|
|
1905
1913
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1906
1914
|
}> & {}>;
|
|
@@ -1911,6 +1919,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1911
1919
|
expandable: BooleanConstructor;
|
|
1912
1920
|
disabled: BooleanConstructor;
|
|
1913
1921
|
onExpand: FunctionConstructor;
|
|
1922
|
+
expandIconType: StringConstructor;
|
|
1914
1923
|
}>> & Readonly<{
|
|
1915
1924
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1916
1925
|
}>, {
|
|
@@ -76,6 +76,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
76
76
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
77
77
|
indentSize: import("vue").ComputedRef<number>;
|
|
78
78
|
expanded: import("vue").ComputedRef<boolean>;
|
|
79
|
+
expandIconType: import("vue").ComputedRef<import("../interface").ExpandIconType>;
|
|
79
80
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
80
81
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
81
82
|
style?: import("vue").CSSProperties;
|
|
@@ -137,6 +138,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
137
138
|
expandable: BooleanConstructor;
|
|
138
139
|
disabled: BooleanConstructor;
|
|
139
140
|
onExpand: FunctionConstructor;
|
|
141
|
+
expandIconType: StringConstructor;
|
|
140
142
|
}>, {
|
|
141
143
|
handleClick: () => void;
|
|
142
144
|
className: import("vue").ComputedRef<{
|
|
@@ -151,6 +153,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
153
|
expandable: BooleanConstructor;
|
|
152
154
|
disabled: BooleanConstructor;
|
|
153
155
|
onExpand: FunctionConstructor;
|
|
156
|
+
expandIconType: StringConstructor;
|
|
154
157
|
}>> & Readonly<{
|
|
155
158
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
156
159
|
}> & {}>;
|
|
@@ -161,6 +164,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
161
164
|
expandable: BooleanConstructor;
|
|
162
165
|
disabled: BooleanConstructor;
|
|
163
166
|
onExpand: FunctionConstructor;
|
|
167
|
+
expandIconType: StringConstructor;
|
|
164
168
|
}>> & Readonly<{
|
|
165
169
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
166
170
|
}>, {
|
|
@@ -1823,6 +1827,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1823
1827
|
type: (StringConstructor | NumberConstructor)[];
|
|
1824
1828
|
};
|
|
1825
1829
|
expanded: PropType<boolean>;
|
|
1830
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1826
1831
|
supportExpand: BooleanConstructor;
|
|
1827
1832
|
}>, {
|
|
1828
1833
|
handleRadioChange: (e: Event) => void;
|
|
@@ -1877,6 +1882,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1877
1882
|
type: (StringConstructor | NumberConstructor)[];
|
|
1878
1883
|
};
|
|
1879
1884
|
expanded: PropType<boolean>;
|
|
1885
|
+
expandIconType: PropType<import("../interface").ExpandIconType>;
|
|
1880
1886
|
supportExpand: BooleanConstructor;
|
|
1881
1887
|
}>> & Readonly<{}>, {
|
|
1882
1888
|
column: FinallyColumnType<import("../interface").DefaultRecordType>;
|
|
@@ -1919,6 +1925,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1919
1925
|
expandable: BooleanConstructor;
|
|
1920
1926
|
disabled: BooleanConstructor;
|
|
1921
1927
|
onExpand: FunctionConstructor;
|
|
1928
|
+
expandIconType: StringConstructor;
|
|
1922
1929
|
}>, {
|
|
1923
1930
|
handleClick: () => void;
|
|
1924
1931
|
className: import("vue").ComputedRef<{
|
|
@@ -1933,6 +1940,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1933
1940
|
expandable: BooleanConstructor;
|
|
1934
1941
|
disabled: BooleanConstructor;
|
|
1935
1942
|
onExpand: FunctionConstructor;
|
|
1943
|
+
expandIconType: StringConstructor;
|
|
1936
1944
|
}>> & Readonly<{
|
|
1937
1945
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1938
1946
|
}> & {}>;
|
|
@@ -1943,6 +1951,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1943
1951
|
expandable: BooleanConstructor;
|
|
1944
1952
|
disabled: BooleanConstructor;
|
|
1945
1953
|
onExpand: FunctionConstructor;
|
|
1954
|
+
expandIconType: StringConstructor;
|
|
1946
1955
|
}>> & Readonly<{
|
|
1947
1956
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
1948
1957
|
}>, {
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5
5
|
expandable: BooleanConstructor;
|
|
6
6
|
disabled: BooleanConstructor;
|
|
7
7
|
onExpand: FunctionConstructor;
|
|
8
|
+
expandIconType: StringConstructor;
|
|
8
9
|
}>, {
|
|
9
10
|
handleClick: () => void;
|
|
10
11
|
className: import("vue").ComputedRef<{
|
|
@@ -19,6 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
19
20
|
expandable: BooleanConstructor;
|
|
20
21
|
disabled: BooleanConstructor;
|
|
21
22
|
onExpand: FunctionConstructor;
|
|
23
|
+
expandIconType: StringConstructor;
|
|
22
24
|
}>> & Readonly<{
|
|
23
25
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
24
26
|
}> & {}>;
|
|
@@ -29,6 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
29
31
|
expandable: BooleanConstructor;
|
|
30
32
|
disabled: BooleanConstructor;
|
|
31
33
|
onExpand: FunctionConstructor;
|
|
34
|
+
expandIconType: StringConstructor;
|
|
32
35
|
}>> & Readonly<{
|
|
33
36
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
34
37
|
}>, {
|
|
@@ -151,6 +151,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
151
|
type: import("vue").PropType<import("./interface").RenderExpandIcon<DefaultRecordType>>;
|
|
152
152
|
default: undefined;
|
|
153
153
|
};
|
|
154
|
+
expandIconType: {
|
|
155
|
+
type: import("vue").PropType<import("./interface").ExpandIconType>;
|
|
156
|
+
default: undefined;
|
|
157
|
+
};
|
|
154
158
|
onExpand: {
|
|
155
159
|
type: import("vue").PropType<(expanded: boolean, record: DefaultRecordType) => void>;
|
|
156
160
|
default: undefined;
|
|
@@ -678,6 +682,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
678
682
|
type: import("vue").PropType<import("./interface").RenderExpandIcon<DefaultRecordType>>;
|
|
679
683
|
default: undefined;
|
|
680
684
|
};
|
|
685
|
+
expandIconType: {
|
|
686
|
+
type: import("vue").PropType<import("./interface").ExpandIconType>;
|
|
687
|
+
default: undefined;
|
|
688
|
+
};
|
|
681
689
|
onExpand: {
|
|
682
690
|
type: import("vue").PropType<(expanded: boolean, record: DefaultRecordType) => void>;
|
|
683
691
|
default: undefined;
|
|
@@ -1045,6 +1053,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1045
1053
|
expandedRowRender: import("./interface").ExpandedRowRender<DefaultRecordType>;
|
|
1046
1054
|
expandRowByClick: boolean;
|
|
1047
1055
|
expandIcon: import("./interface").RenderExpandIcon<DefaultRecordType>;
|
|
1056
|
+
expandIconType: import("./interface").ExpandIconType;
|
|
1048
1057
|
onExpand: (expanded: boolean, record: DefaultRecordType) => void;
|
|
1049
1058
|
onExpandedRowsChange: (expandedKeys: Key[]) => void;
|
|
1050
1059
|
defaultExpandAllRows: boolean;
|
|
@@ -16490,6 +16499,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16490
16499
|
expandIconColumnIndex: import("vue").ComputedRef<number>;
|
|
16491
16500
|
indentSize: import("vue").ComputedRef<number>;
|
|
16492
16501
|
expanded: import("vue").ComputedRef<boolean>;
|
|
16502
|
+
expandIconType: import("vue").ComputedRef<import("./interface").ExpandIconType>;
|
|
16493
16503
|
onInternalTriggerExpand: (record: any, event: any) => void;
|
|
16494
16504
|
customRowProps: import("vue").ComputedRef<(Omit<import("vue").HTMLAttributes, "style"> & {
|
|
16495
16505
|
style?: import("vue").CSSProperties;
|
|
@@ -16551,6 +16561,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16551
16561
|
expandable: BooleanConstructor;
|
|
16552
16562
|
disabled: BooleanConstructor;
|
|
16553
16563
|
onExpand: FunctionConstructor;
|
|
16564
|
+
expandIconType: StringConstructor;
|
|
16554
16565
|
}>, {
|
|
16555
16566
|
handleClick: () => void;
|
|
16556
16567
|
className: import("vue").ComputedRef<{
|
|
@@ -16565,6 +16576,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16565
16576
|
expandable: BooleanConstructor;
|
|
16566
16577
|
disabled: BooleanConstructor;
|
|
16567
16578
|
onExpand: FunctionConstructor;
|
|
16579
|
+
expandIconType: StringConstructor;
|
|
16568
16580
|
}>> & Readonly<{
|
|
16569
16581
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
16570
16582
|
}> & {}>;
|
|
@@ -16575,6 +16587,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16575
16587
|
expandable: BooleanConstructor;
|
|
16576
16588
|
disabled: BooleanConstructor;
|
|
16577
16589
|
onExpand: FunctionConstructor;
|
|
16590
|
+
expandIconType: StringConstructor;
|
|
16578
16591
|
}>> & Readonly<{
|
|
16579
16592
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
16580
16593
|
}>, {
|
|
@@ -18237,6 +18250,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18237
18250
|
type: (StringConstructor | NumberConstructor)[];
|
|
18238
18251
|
};
|
|
18239
18252
|
expanded: import("vue").PropType<boolean>;
|
|
18253
|
+
expandIconType: import("vue").PropType<import("./interface").ExpandIconType>;
|
|
18240
18254
|
supportExpand: BooleanConstructor;
|
|
18241
18255
|
}>, {
|
|
18242
18256
|
handleRadioChange: (e: Event) => void;
|
|
@@ -18291,6 +18305,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18291
18305
|
type: (StringConstructor | NumberConstructor)[];
|
|
18292
18306
|
};
|
|
18293
18307
|
expanded: import("vue").PropType<boolean>;
|
|
18308
|
+
expandIconType: import("vue").PropType<import("./interface").ExpandIconType>;
|
|
18294
18309
|
supportExpand: BooleanConstructor;
|
|
18295
18310
|
}>> & Readonly<{}>, {
|
|
18296
18311
|
column: import("./interface").FinallyColumnType<DefaultRecordType>;
|
|
@@ -18333,6 +18348,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18333
18348
|
expandable: BooleanConstructor;
|
|
18334
18349
|
disabled: BooleanConstructor;
|
|
18335
18350
|
onExpand: FunctionConstructor;
|
|
18351
|
+
expandIconType: StringConstructor;
|
|
18336
18352
|
}>, {
|
|
18337
18353
|
handleClick: () => void;
|
|
18338
18354
|
className: import("vue").ComputedRef<{
|
|
@@ -18347,6 +18363,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18347
18363
|
expandable: BooleanConstructor;
|
|
18348
18364
|
disabled: BooleanConstructor;
|
|
18349
18365
|
onExpand: FunctionConstructor;
|
|
18366
|
+
expandIconType: StringConstructor;
|
|
18350
18367
|
}>> & Readonly<{
|
|
18351
18368
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
18352
18369
|
}> & {}>;
|
|
@@ -18357,6 +18374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18357
18374
|
expandable: BooleanConstructor;
|
|
18358
18375
|
disabled: BooleanConstructor;
|
|
18359
18376
|
onExpand: FunctionConstructor;
|
|
18377
|
+
expandIconType: StringConstructor;
|
|
18360
18378
|
}>> & Readonly<{
|
|
18361
18379
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
18362
18380
|
}>, {
|