@dt-frames/ui 2.0.1 → 2.0.2
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/es/assets/data/icons/actions.d.ts +1 -0
- package/es/assets/data/icons/actions.ts +423 -0
- package/es/assets/data/icons/code.d.ts +1 -0
- package/es/assets/data/icons/code.ts +10 -0
- package/es/assets/data/icons/commuticate.d.ts +1 -0
- package/es/assets/data/icons/commuticate.ts +182 -0
- package/es/assets/data/icons/currency.d.ts +1 -0
- package/es/assets/data/icons/currency.ts +44 -0
- package/es/assets/data/icons/devices.d.ts +1 -0
- package/es/assets/data/icons/devices.ts +126 -0
- package/es/assets/data/icons/edit.d.ts +1 -0
- package/es/assets/data/icons/edit.ts +163 -0
- package/es/assets/data/icons/file.d.ts +1 -0
- package/es/assets/data/icons/file.ts +99 -0
- package/es/assets/data/icons/math.d.ts +1 -0
- package/es/assets/data/icons/math.ts +53 -0
- package/es/assets/data/icons/message.d.ts +1 -0
- package/es/assets/data/icons/message.ts +68 -0
- package/es/assets/data/icons/navigate.d.ts +1 -0
- package/es/assets/data/icons/navigate.ts +181 -0
- package/es/assets/data/icons/other.d.ts +1 -0
- package/es/assets/data/icons/other.ts +324 -0
- package/es/assets/data/index.d.ts +4 -0
- package/es/assets/data/index.ts +58 -0
- package/es/assets/icons/iconfont.css +7266 -0
- package/es/assets/icons/iconfont.eot +0 -0
- package/es/assets/icons/iconfont.svg +5445 -0
- package/es/assets/icons/iconfont.ttf +0 -0
- package/es/assets/icons/iconfont.woff +0 -0
- package/es/assets/icons/iconfont.woff2 +0 -0
- package/es/assets/imgs/header/avatar.png +0 -0
- package/es/assets/imgs/logo/logo.png +0 -0
- package/es/assets/imgs/table/empty.png +0 -0
- package/es/assets/locales/en.d.ts +101 -0
- package/es/assets/locales/en.ts +101 -0
- package/es/assets/locales/index.d.ts +2 -0
- package/es/assets/locales/index.ts +5 -0
- package/es/assets/locales/zh.d.ts +103 -0
- package/es/assets/locales/zh.ts +103 -0
- package/es/components/container/index.d.ts +93 -0
- package/es/components/container/index.js +288 -0
- package/es/components/container/index.less +64 -0
- package/es/components/container/src/components/bar.d.ts +14 -0
- package/es/components/container/src/components/scroll-bar.d.ts +70 -0
- package/es/components/container/src/hooks/scroll.d.ts +10 -0
- package/es/components/container/src/scroll-container.d.ts +76 -0
- package/es/components/container/src/slot-container.d.ts +18 -0
- package/es/components/container/src/types/scroll.type.d.ts +22 -0
- package/es/components/container/src/utils/scroll.d.ts +5 -0
- package/es/components/curd/index.d.ts +2 -0
- package/es/components/curd/index.js +3098 -0
- package/es/components/curd/src/components/Curd.d.ts +1451 -0
- package/es/components/curd/src/hooks/useCurd.d.ts +112 -0
- package/es/components/curd/src/props.d.ts +188 -0
- package/es/components/curd/src/types/curd.type.d.ts +19 -0
- package/es/components/drawer/index.d.ts +8041 -0
- package/es/components/drawer/index.js +837 -0
- package/es/components/drawer/index.less +10 -0
- package/es/components/drawer/src/components/DrawerFooter.d.ts +139 -0
- package/es/components/drawer/src/components/DrawerHeader.d.ts +13 -0
- package/es/components/drawer/src/hooks/useDrawer.d.ts +3 -0
- package/es/components/drawer/src/index.d.ts +8043 -0
- package/es/components/drawer/src/props.d.ts +64 -0
- package/es/components/drawer/src/types/index.type.d.ts +48 -0
- package/es/components/form/index.d.ts +3367 -0
- package/es/components/form/index.js +1895 -0
- package/es/components/form/index.less +141 -0
- package/es/components/form/src/components/FormButtons.d.ts +88 -0
- package/es/components/form/src/components/FormItem.d.ts +313 -0
- package/es/components/form/src/components/componentMap.d.ts +4 -0
- package/es/components/form/src/components/formIcon.d.ts +1231 -0
- package/es/components/form/src/components/formInputUseDialog.d.ts +911 -0
- package/es/components/form/src/components/index.d.ts +4 -0
- package/es/components/form/src/components/radioButton.d.ts +34 -0
- package/es/components/form/src/enums/index.d.ts +7 -0
- package/es/components/form/src/hooks/helper.d.ts +14 -0
- package/es/components/form/src/hooks/useForm.d.ts +6 -0
- package/es/components/form/src/hooks/useFormActions.d.ts +12 -0
- package/es/components/form/src/hooks/useFormEvent.d.ts +25 -0
- package/es/components/form/src/hooks/useFormValue.d.ts +3 -0
- package/es/components/form/src/hooks/useFormValues.d.ts +11 -0
- package/es/components/form/src/hooks/useLabelWidth.d.ts +22 -0
- package/es/components/form/src/index.d.ts +3113 -0
- package/es/components/form/src/props.d.ts +133 -0
- package/es/components/form/src/types/actions.type.d.ts +15 -0
- package/es/components/form/src/types/form.type.d.ts +70 -0
- package/es/components/icons/index.d.ts +3 -0
- package/es/components/icons/index.js +1969 -0
- package/es/components/icons/index.less +42 -0
- package/es/components/icons/src/pick-icon.d.ts +455 -0
- package/es/components/icons/src/svg-icon.d.ts +44 -0
- package/es/components/modal/index.d.ts +3 -0
- package/es/components/modal/index.js +1192 -0
- package/es/components/modal/index.less +54 -0
- package/es/components/modal/src/components/CloseIcon.d.ts +40 -0
- package/es/components/modal/src/components/Modal.d.ts +215 -0
- package/es/components/modal/src/components/ModalFooter.d.ts +139 -0
- package/es/components/modal/src/components/ModalWrap.d.ts +153 -0
- package/es/components/modal/src/hooks/useDrag.d.ts +7 -0
- package/es/components/modal/src/hooks/useFullScreen.d.ts +6 -0
- package/es/components/modal/src/hooks/useModal.d.ts +5 -0
- package/es/components/modal/src/index.d.ts +881 -0
- package/es/components/modal/src/props.d.ts +100 -0
- package/es/components/modal/src/types/modal.type.d.ts +17 -0
- package/es/components/source/hooks/useDownload.d.ts +8 -0
- package/es/components/source/hooks/useSource.d.ts +40 -0
- package/es/components/source/index.d.ts +2 -0
- package/es/components/source/index.js +331 -0
- package/es/components/source/types/source.type.d.ts +37 -0
- package/es/components/source/utils/index.d.ts +8 -0
- package/es/components/table/index.d.ts +3 -0
- package/es/components/table/index.js +4414 -0
- package/es/components/table/index.less +183 -0
- package/es/components/table/src/components/TableAction.d.ts +70 -0
- package/es/components/table/src/components/TableHeader.d.ts +1243 -0
- package/es/components/table/src/components/TableRender.d.ts +13 -0
- package/es/components/table/src/components/editTable/CellComponent.d.ts +22 -0
- package/es/components/table/src/components/editTable/EditTableCell.d.ts +93 -0
- package/es/components/table/src/components/editTable/componentMap.d.ts +4 -0
- package/es/components/table/src/components/editTable/index.d.ts +9 -0
- package/es/components/table/src/components/editTable/props.d.ts +27 -0
- package/es/components/table/src/components/tableSetting/Column.d.ts +69 -0
- package/es/components/table/src/components/tableSetting/Download.d.ts +1029 -0
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +995 -0
- package/es/components/table/src/components/tableSetting/Fullscreen.d.ts +22 -0
- package/es/components/table/src/components/tableSetting/index.d.ts +1137 -0
- package/es/components/table/src/hooks/useColumns.d.ts +14 -0
- package/es/components/table/src/hooks/useCustomRow.d.ts +20 -0
- package/es/components/table/src/hooks/useDataSource.d.ts +16 -0
- package/es/components/table/src/hooks/useHeader.d.ts +8 -0
- package/es/components/table/src/hooks/useHeaderCode.d.ts +3 -0
- package/es/components/table/src/hooks/useLoading.d.ts +6 -0
- package/es/components/table/src/hooks/usePagination.d.ts +122 -0
- package/es/components/table/src/hooks/useRow.d.ts +5 -0
- package/es/components/table/src/hooks/useRowSelection.d.ts +12 -0
- package/es/components/table/src/hooks/useTable.d.ts +9 -0
- package/es/components/table/src/hooks/useTableInstance.d.ts +16 -0
- package/es/components/table/src/hooks/useTableScroll.d.ts +13 -0
- package/es/components/table/src/index.d.ts +990 -0
- package/es/components/table/src/props.d.ts +244 -0
- package/es/components/table/src/types/actions.type.d.ts +22 -0
- package/es/components/table/src/types/header.type.d.ts +23 -0
- package/es/components/table/src/types/table.type.d.ts +92 -0
- package/es/directives/icon.d.ts +2 -0
- package/es/directives/index.d.ts +7 -0
- package/es/directives/index.js +2015 -0
- package/es/directives/permission.d.ts +2 -0
- package/es/global.d.ts +7 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +3242 -0
- package/es/theme/index.d.ts +10 -0
- package/es/theme/index.js +3242 -0
- package/es/theme/index.less +603 -0
- package/es/theme/src/components/content/index.d.ts +27 -0
- package/es/theme/src/components/feature/back-top.d.ts +5 -0
- package/es/theme/src/components/feature/index.d.ts +7 -0
- package/es/theme/src/components/footer/index.d.ts +31 -0
- package/es/theme/src/components/header/components/bread-crumb.d.ts +6 -0
- package/es/theme/src/components/header/components/fullscreen.d.ts +5 -0
- package/es/theme/src/components/header/components/index.d.ts +11 -0
- package/es/theme/src/components/header/components/lang-picker.d.ts +23 -0
- package/es/theme/src/components/header/components/logo.d.ts +36 -0
- package/es/theme/src/components/header/components/menu-filter.d.ts +22 -0
- package/es/theme/src/components/header/components/notify.d.ts +23 -0
- package/es/theme/src/components/header/components/setting-theme.d.ts +222 -0
- package/es/theme/src/components/header/components/size.d.ts +282 -0
- package/es/theme/src/components/header/components/theme-drawer/feature.d.ts +138 -0
- package/es/theme/src/components/header/components/theme-drawer/index.d.ts +3 -0
- package/es/theme/src/components/header/components/theme-drawer/menu-type.d.ts +16 -0
- package/es/theme/src/components/header/components/theme-drawer/select.d.ts +58 -0
- package/es/theme/src/components/header/components/theme-drawer/switch.d.ts +49 -0
- package/es/theme/src/components/header/components/trigger.d.ts +10 -0
- package/es/theme/src/components/header/components/user-info.d.ts +36 -0
- package/es/theme/src/components/header/helper/change-theme.d.ts +13 -0
- package/es/theme/src/components/header/helper/menu-tree.d.ts +3 -0
- package/es/theme/src/components/header/index.d.ts +698 -0
- package/es/theme/src/components/header/multiple-header.d.ts +787 -0
- package/es/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +62 -0
- package/es/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +207 -0
- package/es/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +127 -0
- package/es/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +26 -0
- package/es/theme/src/components/sider/components/drag-bar.d.ts +14 -0
- package/es/theme/src/components/sider/components/layout-menu.d.ts +22 -0
- package/es/theme/src/components/sider/components/props.d.ts +69 -0
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +18 -0
- package/es/theme/src/components/sider/helper/sider.d.ts +12 -0
- package/es/theme/src/components/sider/helper/split-menu.d.ts +10 -0
- package/es/theme/src/components/sider/index.d.ts +70 -0
- package/es/theme/src/components/tabs/components/TabContent.d.ts +6 -0
- package/es/theme/src/components/tabs/components/TabRedo.d.ts +21 -0
- package/es/theme/src/components/tabs/components/index.d.ts +3 -0
- package/es/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +7 -0
- package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -0
- package/es/theme/src/components/tabs/index.d.ts +63 -0
- package/es/theme/src/components/tabs/types/tabs.type.d.ts +7 -0
- package/es/theme/src/enums/index.d.ts +1 -0
- package/es/theme/src/enums/theme.enum.d.ts +33 -0
- package/es/theme/src/hooks/index.d.ts +6 -0
- package/es/theme/src/hooks/useDragLine.d.ts +2 -0
- package/es/theme/src/hooks/useHeader.d.ts +25 -0
- package/es/theme/src/hooks/useMenu.d.ts +27 -0
- package/es/theme/src/hooks/useMultifyTab.d.ts +7 -0
- package/es/theme/src/hooks/useOpenKeys.d.ts +7 -0
- package/es/theme/src/hooks/useTheme.d.ts +9 -0
- package/es/theme/src/index.d.ts +1644 -0
- package/es/theme/src/setting/theme.setting.d.ts +2 -0
- package/es/theme/src/stores/index.d.ts +3 -0
- package/es/theme/src/stores/routeReuse.store.d.ts +23 -0
- package/es/theme/src/stores/theme.store.d.ts +15 -0
- package/es/theme/src/types/index.d.ts +3 -0
- package/es/theme/src/types/menu.type.d.ts +15 -0
- package/es/theme/src/types/theme.type.d.ts +60 -0
- package/es/utils/withInstall.d.ts +4 -0
- package/index.d.ts +10 -0
- package/index.js +34 -0
- package/package.json +1 -5
- package/tailwind.config.cjs +11 -0
- package/tsconfig.json +41 -0
- package/tsconfig.node.json +9 -0
- package/vite.config.ts +78 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Recordable } from '@dt-frames/core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { BasicColumn } from '../types/table.type';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
column: PropType<BasicColumn>;
|
|
6
|
+
record: PropType<Recordable<any>>;
|
|
7
|
+
index: NumberConstructor;
|
|
8
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
column: PropType<BasicColumn>;
|
|
10
|
+
record: PropType<Recordable<any>>;
|
|
11
|
+
index: NumberConstructor;
|
|
12
|
+
}>>, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Recordable } from "@dt-frames/core";
|
|
2
|
+
import { FunctionalComponent, Ref } from "vue";
|
|
3
|
+
import { ComponentType } from "../../types/table.type";
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
component: ComponentType;
|
|
6
|
+
rule: boolean;
|
|
7
|
+
popoverVisible: boolean;
|
|
8
|
+
ruleMessage: string;
|
|
9
|
+
getPopupContainer?: any;
|
|
10
|
+
}
|
|
11
|
+
export declare type EditRecordRow<T = Recordable> = Partial<{
|
|
12
|
+
onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
|
|
13
|
+
onValid: () => Promise<boolean>;
|
|
14
|
+
editable: boolean;
|
|
15
|
+
onCancel: Function;
|
|
16
|
+
onSubmit: Function;
|
|
17
|
+
submitCbs: Function[];
|
|
18
|
+
cancelCbs: Function[];
|
|
19
|
+
validCbs: Function[];
|
|
20
|
+
editValueRefs: Recordable<Ref>;
|
|
21
|
+
} & T>;
|
|
22
|
+
export declare const CellComponent: FunctionalComponent;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Recordable } from "@dt-frames/core";
|
|
2
|
+
import { ComponentType, LableValOptions } from "../../types/table.type";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
type: import("vue").PropType<string | number | boolean | Recordable<any>>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
record: {
|
|
9
|
+
type: import("vue").PropType<Partial<{
|
|
10
|
+
onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
|
|
11
|
+
onValid: () => Promise<boolean>;
|
|
12
|
+
editable: boolean;
|
|
13
|
+
onCancel: Function;
|
|
14
|
+
onSubmit: Function;
|
|
15
|
+
submitCbs: Function[];
|
|
16
|
+
cancelCbs: Function[];
|
|
17
|
+
validCbs: Function[];
|
|
18
|
+
editValueRefs: Recordable<import("vue").Ref<any>>;
|
|
19
|
+
} & Recordable<any>>>;
|
|
20
|
+
};
|
|
21
|
+
column: {
|
|
22
|
+
type: import("vue").PropType<import("../../types/table.type").BasicColumn>;
|
|
23
|
+
default: () => import("../../types/table.type").BasicColumn;
|
|
24
|
+
};
|
|
25
|
+
index: NumberConstructor;
|
|
26
|
+
}, {
|
|
27
|
+
getUiSize: import("vue").ComputedRef<import("../../../../../theme/src/enums").UiSize>;
|
|
28
|
+
t: {
|
|
29
|
+
(key: string): string;
|
|
30
|
+
(key: string, locale: string): string;
|
|
31
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
32
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
33
|
+
(key: string, list: unknown[]): string;
|
|
34
|
+
(key: string, named: Record<string, unknown>): string;
|
|
35
|
+
};
|
|
36
|
+
props: any;
|
|
37
|
+
editRule: boolean | ((text: string, record: Recordable<any>) => Promise<string>);
|
|
38
|
+
align: import("ant-design-vue/es/vc-table/interface").AlignType;
|
|
39
|
+
table: Omit<import("../../types/actions.type").TableActionType & {
|
|
40
|
+
tableElRef: import("vue").Ref<HTMLElement>;
|
|
41
|
+
getBind: import("vue").ComputedRef<Recordable<any>>;
|
|
42
|
+
getProps: import("vue").ComputedRef<Recordable<any>>;
|
|
43
|
+
}, "getBind"> & {
|
|
44
|
+
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
45
|
+
getProps: import("vue").ComputedRef<Recordable<any>>;
|
|
46
|
+
};
|
|
47
|
+
ruleMessage: import("vue").Ref<string>;
|
|
48
|
+
ruleVisible: import("vue").Ref<boolean>;
|
|
49
|
+
optionsRef: import("vue").Ref<{
|
|
50
|
+
[x: string]: string | number | boolean;
|
|
51
|
+
label: string;
|
|
52
|
+
value: any;
|
|
53
|
+
}[]>;
|
|
54
|
+
currentValueRef: any;
|
|
55
|
+
getComponent: import("vue").ComputedRef<ComponentType>;
|
|
56
|
+
getRuleVisible: import("vue").ComputedRef<boolean>;
|
|
57
|
+
getWrapperClass: import("vue").ComputedRef<string>;
|
|
58
|
+
getIsCheckComp: import("vue").ComputedRef<boolean>;
|
|
59
|
+
createPlaceholderMessage: (component: ComponentType) => string;
|
|
60
|
+
setTableValue: () => void;
|
|
61
|
+
getComponentProps: import("vue").ComputedRef<any>;
|
|
62
|
+
handleChange: (e: any) => Promise<void>;
|
|
63
|
+
handleSubmitRule: () => Promise<boolean>;
|
|
64
|
+
handleOptionsChange: (options: LableValOptions) => void;
|
|
65
|
+
readonly CellComponent: import("vue").FunctionalComponent<{}, {}>;
|
|
66
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
value: {
|
|
68
|
+
type: import("vue").PropType<string | number | boolean | Recordable<any>>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
record: {
|
|
72
|
+
type: import("vue").PropType<Partial<{
|
|
73
|
+
onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
|
|
74
|
+
onValid: () => Promise<boolean>;
|
|
75
|
+
editable: boolean;
|
|
76
|
+
onCancel: Function;
|
|
77
|
+
onSubmit: Function;
|
|
78
|
+
submitCbs: Function[];
|
|
79
|
+
cancelCbs: Function[];
|
|
80
|
+
validCbs: Function[];
|
|
81
|
+
editValueRefs: Recordable<import("vue").Ref<any>>;
|
|
82
|
+
} & Recordable<any>>>;
|
|
83
|
+
};
|
|
84
|
+
column: {
|
|
85
|
+
type: import("vue").PropType<import("../../types/table.type").BasicColumn>;
|
|
86
|
+
default: () => import("../../types/table.type").BasicColumn;
|
|
87
|
+
};
|
|
88
|
+
index: NumberConstructor;
|
|
89
|
+
}>>, {
|
|
90
|
+
value: string;
|
|
91
|
+
column: import("../../types/table.type").BasicColumn;
|
|
92
|
+
}>;
|
|
93
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BasicColumn } from "../../types/table.type";
|
|
2
|
+
declare function renderEditCell(column: BasicColumn): ({ text, record, index }: {
|
|
3
|
+
text: any;
|
|
4
|
+
record: any;
|
|
5
|
+
index: any;
|
|
6
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
9
|
+
export { renderEditCell };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Recordable } from "@dt-frames/core";
|
|
2
|
+
import { PropType } from "vue";
|
|
3
|
+
import { BasicColumn } from "../../types/table.type";
|
|
4
|
+
export declare const basicProps: {
|
|
5
|
+
value: {
|
|
6
|
+
type: PropType<string | number | boolean | Recordable<any>>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
record: {
|
|
10
|
+
type: PropType<Partial<{
|
|
11
|
+
onEdit: (editable: boolean, submit?: boolean) => Promise<boolean>;
|
|
12
|
+
onValid: () => Promise<boolean>;
|
|
13
|
+
editable: boolean;
|
|
14
|
+
onCancel: Function;
|
|
15
|
+
onSubmit: Function;
|
|
16
|
+
submitCbs: Function[];
|
|
17
|
+
cancelCbs: Function[];
|
|
18
|
+
validCbs: Function[];
|
|
19
|
+
editValueRefs: Recordable<import("vue").Ref<any>>;
|
|
20
|
+
} & Recordable<any>>>;
|
|
21
|
+
};
|
|
22
|
+
column: {
|
|
23
|
+
type: PropType<BasicColumn>;
|
|
24
|
+
default: () => BasicColumn;
|
|
25
|
+
};
|
|
26
|
+
index: NumberConstructor;
|
|
27
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { CheckboxChangeEvent } from 'ant-design-vue/lib/checkbox/interface';
|
|
2
|
+
import { BasicColumn } from '../../types/table.type';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
4
|
+
t: {
|
|
5
|
+
(key: string): string;
|
|
6
|
+
(key: string, locale: string): string;
|
|
7
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
8
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
9
|
+
(key: string, list: unknown[]): string;
|
|
10
|
+
(key: string, named: Record<string, unknown>): string;
|
|
11
|
+
};
|
|
12
|
+
emits: (event: "columns-change", ...args: any[]) => void;
|
|
13
|
+
attrs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
prefixCls: string;
|
|
17
|
+
table: Omit<import("../../types/actions.type").TableActionType & {
|
|
18
|
+
tableElRef: import("vue").Ref<HTMLElement>;
|
|
19
|
+
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
20
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
21
|
+
}, "getBind"> & {
|
|
22
|
+
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
23
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
24
|
+
};
|
|
25
|
+
defaultRowSelection: any;
|
|
26
|
+
inited: boolean;
|
|
27
|
+
cachePlainOptions: import("vue").Ref<{
|
|
28
|
+
label: string;
|
|
29
|
+
value: string;
|
|
30
|
+
fixed?: boolean | "left" | "right";
|
|
31
|
+
}[]>;
|
|
32
|
+
plainOptions: import("vue").Ref<{
|
|
33
|
+
label: string;
|
|
34
|
+
value: string;
|
|
35
|
+
fixed?: boolean | "left" | "right";
|
|
36
|
+
}[]>;
|
|
37
|
+
plainSortOptions: import("vue").Ref<{
|
|
38
|
+
label: string;
|
|
39
|
+
value: string;
|
|
40
|
+
fixed?: boolean | "left" | "right";
|
|
41
|
+
}[]>;
|
|
42
|
+
columnListRef: any;
|
|
43
|
+
checkIndex: import("vue").Ref<boolean>;
|
|
44
|
+
checkSelect: import("vue").Ref<boolean>;
|
|
45
|
+
getValues: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
46
|
+
sortable: Sortable;
|
|
47
|
+
sortableOrder: string[];
|
|
48
|
+
state: {
|
|
49
|
+
checkAll: boolean;
|
|
50
|
+
isInit?: boolean;
|
|
51
|
+
checkedList: string[];
|
|
52
|
+
defaultCheckList: string[];
|
|
53
|
+
};
|
|
54
|
+
indeterminate: import("vue").ComputedRef<boolean>;
|
|
55
|
+
handleVisibleChange: () => void;
|
|
56
|
+
onCheckAllChange: (e: CheckboxChangeEvent) => void;
|
|
57
|
+
handleIndexCheckChange: (e: CheckboxChangeEvent) => void;
|
|
58
|
+
handleSelectCheckChange: (e: CheckboxChangeEvent) => void;
|
|
59
|
+
onChange: (checkedList: string[]) => void;
|
|
60
|
+
reset: () => void;
|
|
61
|
+
getColumns: () => any[];
|
|
62
|
+
handleColumnFixed: (item: BasicColumn, fixed?: 'left' | 'right') => void;
|
|
63
|
+
setColumns: (columns: BasicColumn[] | string[]) => void;
|
|
64
|
+
init: () => void;
|
|
65
|
+
getPopupContainer: () => any;
|
|
66
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "columns-change"[], "columns-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
67
|
+
"onColumns-change"?: (...args: any[]) => any;
|
|
68
|
+
}, {}>;
|
|
69
|
+
export default _sfc_main;
|