@dt-frames/ui 1.0.13 → 1.0.15
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/components/curd/src/components/dialog.d.ts +20 -20
- package/es/components/curd/src/components/props.d.ts +2 -1
- package/es/components/curd/src/hooks/useCurd.d.ts +1 -0
- package/es/components/curd/src/types/curd.type.d.ts +2 -2
- package/es/components/forms/src/components/formButton.d.ts +1 -2
- package/es/components/forms/src/components/formIcon.d.ts +15 -15
- package/es/components/forms/src/hooks/useFormActions.d.ts +2 -2
- package/es/components/forms/src/index.d.ts +2 -2
- package/es/components/forms/src/types/form.type.d.ts +3 -17
- package/es/components/index.d.ts +1 -1
- package/es/components/modal/src/components/modal.d.ts +2 -2
- package/es/components/modal/src/components/modalFooter.d.ts +1 -1
- package/es/components/modal/src/index.d.ts +15 -15
- package/es/components/modal/src/props.d.ts +1 -1
- package/es/components/source/src/hooks/useFetch.d.ts +1 -1
- package/es/components/table/src/index.d.ts +3 -3
- package/es/components/table/src/props.d.ts +1 -2
- package/es/components/tree/src/props.d.ts +8 -1
- package/es/components/upload/src/upload.d.ts +3 -3
- package/es/index.js +43 -19
- package/es/style/components/icons/index.less +1 -1
- package/package.json +1 -10
- package/vite.config.js +10 -0
- package/src/assets/data/icons/actions.ts +0 -427
- package/src/assets/data/icons/code.ts +0 -10
- package/src/assets/data/icons/commuticate.ts +0 -190
- package/src/assets/data/icons/currency.ts +0 -46
- package/src/assets/data/icons/devices.ts +0 -128
- package/src/assets/data/icons/edit.ts +0 -165
- package/src/assets/data/icons/file.ts +0 -104
- package/src/assets/data/icons/math.ts +0 -53
- package/src/assets/data/icons/message.ts +0 -75
- package/src/assets/data/icons/navigate.ts +0 -181
- package/src/assets/data/icons/other.ts +0 -333
- package/src/assets/data/icons.ts +0 -58
- package/src/assets/imgs/header/avatar.png +0 -0
- package/src/assets/imgs/logo/logo.png +0 -0
- package/src/assets/locales/en_US.json +0 -3
- package/src/assets/locales/zh_CN.json +0 -3
- package/src/assets/style/index.less +0 -10
- package/src/assets/style/reset.less +0 -17
- package/src/components/container/index.less +0 -85
- package/src/components/container/index.ts +0 -8
- package/src/components/container/src/bar.ts +0 -107
- package/src/components/container/src/lazy-container.vue +0 -9
- package/src/components/container/src/scroll-bar.vue +0 -117
- package/src/components/container/src/scroll-container.vue +0 -61
- package/src/components/curd/index.ts +0 -5
- package/src/components/curd/src/components/dialog.vue +0 -73
- package/src/components/curd/src/components/props.ts +0 -32
- package/src/components/curd/src/hooks/useCurd.tsx +0 -87
- package/src/components/curd/src/types/curd.type.ts +0 -32
- package/src/components/excel/index.ts +0 -6
- package/src/components/excel/src/export2Excel.ts +0 -44
- package/src/components/forms/index.less +0 -107
- package/src/components/forms/index.ts +0 -11
- package/src/components/forms/src/componentMap.ts +0 -46
- package/src/components/forms/src/components/formButton.vue +0 -150
- package/src/components/forms/src/components/formIcon.vue +0 -51
- package/src/components/forms/src/components/formInputUseDialog.vue +0 -43
- package/src/components/forms/src/components/formItem.vue +0 -420
- package/src/components/forms/src/components/radioButton.vue +0 -58
- package/src/components/forms/src/const/form.const.ts +0 -7
- package/src/components/forms/src/hooks/helper.ts +0 -70
- package/src/components/forms/src/hooks/useForm.ts +0 -130
- package/src/components/forms/src/hooks/useFormActions.ts +0 -63
- package/src/components/forms/src/hooks/useFormEvents.ts +0 -248
- package/src/components/forms/src/hooks/useFormValue.ts +0 -49
- package/src/components/forms/src/hooks/useFormValues.ts +0 -131
- package/src/components/forms/src/hooks/useLabelWidth.ts +0 -57
- package/src/components/forms/src/index.vue +0 -310
- package/src/components/forms/src/prop.ts +0 -80
- package/src/components/forms/src/types/form.type.ts +0 -275
- package/src/components/icons/index.less +0 -101
- package/src/components/icons/index.ts +0 -7
- package/src/components/icons/src/pick-icon.vue +0 -119
- package/src/components/icons/src/svg-icon.vue +0 -117
- package/src/components/iframe/index.less +0 -3
- package/src/components/iframe/index.ts +0 -5
- package/src/components/iframe/src/index.less +0 -3
- package/src/components/iframe/src/index.vue +0 -38
- package/src/components/index.ts +0 -53
- package/src/components/modal/index.less +0 -60
- package/src/components/modal/index.ts +0 -8
- package/src/components/modal/src/components/close-icon.vue +0 -46
- package/src/components/modal/src/components/modal-wrap.vue +0 -128
- package/src/components/modal/src/components/modal.tsx +0 -30
- package/src/components/modal/src/components/modalFooter.vue +0 -46
- package/src/components/modal/src/hooks/useDrag.ts +0 -107
- package/src/components/modal/src/hooks/useFullScreen.ts +0 -29
- package/src/components/modal/src/hooks/useModal.ts +0 -200
- package/src/components/modal/src/index.vue +0 -184
- package/src/components/modal/src/props.ts +0 -44
- package/src/components/modal/src/types/modal.type.ts +0 -30
- package/src/components/router/base-router.vue +0 -11
- package/src/components/router/index.ts +0 -3
- package/src/components/source/index.ts +0 -1
- package/src/components/source/src/hooks/useFetch.ts +0 -42
- package/src/components/source/src/hooks/usePage.ts +0 -3
- package/src/components/source/src/hooks/useSource.ts +0 -214
- package/src/components/source/src/index.ts +0 -5
- package/src/components/source/src/types/source.type.ts +0 -58
- package/src/components/source/src/types/table.type.ts +0 -8
- package/src/components/table/index.less +0 -179
- package/src/components/table/index.ts +0 -7
- package/src/components/table/src/components/TableActions.vue +0 -108
- package/src/components/table/src/components/TableHeader.vue +0 -78
- package/src/components/table/src/components/TableRender.vue +0 -76
- package/src/components/table/src/components/editable/CellComponent.ts +0 -57
- package/src/components/table/src/components/editable/EditTableCell.vue +0 -181
- package/src/components/table/src/components/editable/componentMap.ts +0 -18
- package/src/components/table/src/components/editable/index.ts +0 -58
- package/src/components/table/src/components/setting/Column.vue +0 -354
- package/src/components/table/src/components/setting/Download.vue +0 -55
- package/src/components/table/src/components/setting/Fullscreen.vue +0 -43
- package/src/components/table/src/components/setting/Size.vue +0 -42
- package/src/components/table/src/components/setting/index.vue +0 -64
- package/src/components/table/src/const.ts +0 -13
- package/src/components/table/src/hooks/useColumns.ts +0 -326
- package/src/components/table/src/hooks/useCustomRow.ts +0 -86
- package/src/components/table/src/hooks/useDataSource.ts +0 -97
- package/src/components/table/src/hooks/useHeaderCode.ts +0 -89
- package/src/components/table/src/hooks/useLoading.ts +0 -29
- package/src/components/table/src/hooks/usePagination.ts +0 -76
- package/src/components/table/src/hooks/useRowSelection.ts +0 -145
- package/src/components/table/src/hooks/useRows.ts +0 -30
- package/src/components/table/src/hooks/useTable.ts +0 -90
- package/src/components/table/src/hooks/useTableHeader.ts +0 -48
- package/src/components/table/src/hooks/useTableInstance.ts +0 -29
- package/src/components/table/src/hooks/useTableScroll.ts +0 -229
- package/src/components/table/src/index.vue +0 -212
- package/src/components/table/src/props.ts +0 -160
- package/src/components/table/src/types/table.type.ts +0 -160
- package/src/components/table/src/types/tableHeader.type.ts +0 -27
- package/src/components/tree/index.less +0 -41
- package/src/components/tree/index.ts +0 -5
- package/src/components/tree/src/components/TreeHeader.vue +0 -97
- package/src/components/tree/src/hooks/useTree.ts +0 -239
- package/src/components/tree/src/index.vue +0 -392
- package/src/components/tree/src/props.ts +0 -133
- package/src/components/tree/src/type/tree.ts +0 -105
- package/src/components/tree/src/utils/tree.ts +0 -73
- package/src/components/type.ts +0 -0
- package/src/components/upload/index.less +0 -35
- package/src/components/upload/index.ts +0 -5
- package/src/components/upload/src/helper.ts +0 -60
- package/src/components/upload/src/props.ts +0 -51
- package/src/components/upload/src/upload.vue +0 -191
- package/src/directives/icon.ts +0 -36
- package/src/directives/index.ts +0 -26
- package/src/directives/permission.ts +0 -20
- package/src/global.d.ts +0 -8
- package/src/index.ts +0 -4
- package/src/theme/content/index.vue +0 -37
- package/src/theme/feature/back-top.vue +0 -11
- package/src/theme/feature/index.vue +0 -7
- package/src/theme/footer/index.less +0 -16
- package/src/theme/footer/index.vue +0 -24
- package/src/theme/header/components/bread-crumb.vue +0 -26
- package/src/theme/header/components/fullscreen.vue +0 -12
- package/src/theme/header/components/handler.ts +0 -81
- package/src/theme/header/components/index.ts +0 -21
- package/src/theme/header/components/lang-picker.vue +0 -36
- package/src/theme/header/components/logo.vue +0 -35
- package/src/theme/header/components/menu-search.vue +0 -62
- package/src/theme/header/components/notify.vue +0 -22
- package/src/theme/header/components/setting-theme.vue +0 -123
- package/src/theme/header/components/theme-drawer/enum.ts +0 -12
- package/src/theme/header/components/theme-drawer/feature.vue +0 -75
- package/src/theme/header/components/theme-drawer/index.ts +0 -7
- package/src/theme/header/components/theme-drawer/menu-type.vue +0 -40
- package/src/theme/header/components/theme-drawer/select-item.vue +0 -46
- package/src/theme/header/components/theme-drawer/switch-item.vue +0 -39
- package/src/theme/header/components/theme-drawer/theme-color.vue +0 -26
- package/src/theme/header/components/trigger.vue +0 -14
- package/src/theme/header/components/user-info.vue +0 -60
- package/src/theme/header/const/index.ts +0 -40
- package/src/theme/header/helper/menu-tree.ts +0 -64
- package/src/theme/header/index.less +0 -442
- package/src/theme/header/index.ts +0 -0
- package/src/theme/header/index.vue +0 -96
- package/src/theme/header/multiple-header.vue +0 -67
- package/src/theme/header/set-theme.less +0 -68
- package/src/theme/index.ts +0 -3
- package/src/theme/sider/components/basic-menu/basic-menu-item.vue +0 -14
- package/src/theme/sider/components/basic-menu/basic-menu.vue +0 -122
- package/src/theme/sider/components/basic-menu/basic-sub-menu-item.vue +0 -46
- package/src/theme/sider/components/basic-menu/menu-item-content.vue +0 -13
- package/src/theme/sider/components/drag-bar.vue +0 -26
- package/src/theme/sider/components/layout-menu.vue +0 -132
- package/src/theme/sider/components/props.ts +0 -97
- package/src/theme/sider/components/sider-trigger.vue +0 -24
- package/src/theme/sider/helper/sider.ts +0 -52
- package/src/theme/sider/helper/split-menu.ts +0 -146
- package/src/theme/sider/hooks/useDragLine.ts +0 -86
- package/src/theme/sider/hooks/useOpenKeys.ts +0 -57
- package/src/theme/sider/index.less +0 -203
- package/src/theme/sider/index.vue +0 -88
- package/src/theme/tabs/components/TabContent.vue +0 -36
- package/src/theme/tabs/components/TabRedo.vue +0 -18
- package/src/theme/tabs/hooks/useMultifyTabs.ts +0 -96
- package/src/theme/tabs/hooks/useTabDropdown.ts +0 -89
- package/src/theme/tabs/index.less +0 -165
- package/src/theme/tabs/index.vue +0 -98
- package/src/theme/tabs/types/tabs.type.ts +0 -8
- package/src/theme/theme.less +0 -67
- package/src/theme/theme.vue +0 -90
- package/src/theme/transition.less +0 -99
|
@@ -25,7 +25,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
default: any[];
|
|
26
26
|
};
|
|
27
27
|
footer: {
|
|
28
|
-
type: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
28
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
29
29
|
default: any;
|
|
30
30
|
};
|
|
31
31
|
canFullscreen: {
|
|
@@ -66,7 +66,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
66
66
|
default: any[];
|
|
67
67
|
};
|
|
68
68
|
footer: {
|
|
69
|
-
type: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
69
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
70
70
|
default: any;
|
|
71
71
|
};
|
|
72
72
|
canFullscreen: {
|
|
@@ -207,7 +207,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
207
207
|
onReset?: (...args: any[]) => any;
|
|
208
208
|
}>>;
|
|
209
209
|
setFormModel: (key: string, value: any) => void;
|
|
210
|
-
handleMethod: (params: boolean | import("
|
|
210
|
+
handleMethod: (params: boolean | import("@dt-frames/core").ButtonProps) => void;
|
|
211
211
|
getActionsProps: import("vue").ComputedRef<Recordable<any>>;
|
|
212
212
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "reset")[], "register" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
213
213
|
mode: {
|
|
@@ -351,7 +351,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
351
351
|
default: boolean;
|
|
352
352
|
};
|
|
353
353
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
354
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
354
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
355
355
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
356
356
|
wrapperProps: ObjectConstructor;
|
|
357
357
|
afterClose: FunctionConstructor;
|
|
@@ -443,7 +443,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
443
443
|
default: boolean;
|
|
444
444
|
};
|
|
445
445
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
446
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
446
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
447
447
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
448
448
|
wrapperProps: ObjectConstructor;
|
|
449
449
|
afterClose: FunctionConstructor;
|
|
@@ -553,7 +553,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
553
553
|
default: boolean;
|
|
554
554
|
};
|
|
555
555
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
556
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
556
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
557
557
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
558
558
|
wrapperProps: ObjectConstructor;
|
|
559
559
|
afterClose: FunctionConstructor;
|
|
@@ -640,7 +640,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
640
640
|
default: boolean;
|
|
641
641
|
};
|
|
642
642
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
643
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
643
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
644
644
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
645
645
|
wrapperProps: ObjectConstructor;
|
|
646
646
|
afterClose: FunctionConstructor;
|
|
@@ -902,7 +902,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
902
902
|
fullScreen: boolean;
|
|
903
903
|
}>;
|
|
904
904
|
ModalFooter: import("vue").DefineComponent<{
|
|
905
|
-
buttons: PropType<import("
|
|
905
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
906
906
|
showSave: {
|
|
907
907
|
type: BooleanConstructor;
|
|
908
908
|
default: boolean;
|
|
@@ -910,7 +910,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
910
910
|
}, {
|
|
911
911
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
912
912
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
913
|
-
buttons: PropType<import("
|
|
913
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
914
914
|
showSave: {
|
|
915
915
|
type: BooleanConstructor;
|
|
916
916
|
default: boolean;
|
|
@@ -919,9 +919,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
919
919
|
onHandleSave?: (...args: any[]) => any;
|
|
920
920
|
onHandleCancel?: (...args: any[]) => any;
|
|
921
921
|
}>>;
|
|
922
|
-
buttonActions: import("
|
|
923
|
-
buttonList: import("vue").ComputedRef<import("
|
|
924
|
-
handleMethod: (item: import("
|
|
922
|
+
buttonActions: import("@dt-frames/core").ButtonProps[];
|
|
923
|
+
buttonList: import("vue").ComputedRef<import("@dt-frames/core").ButtonProps[]>;
|
|
924
|
+
handleMethod: (item: import("@dt-frames/core").ButtonProps) => void;
|
|
925
925
|
FormButtons: import("vue").DefineComponent<{
|
|
926
926
|
mode: {
|
|
927
927
|
type: PropType<"search" | "dialog">;
|
|
@@ -940,7 +940,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
940
940
|
default: number;
|
|
941
941
|
};
|
|
942
942
|
buttonList: {
|
|
943
|
-
type: PropType<import("
|
|
943
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
944
944
|
default: any[];
|
|
945
945
|
};
|
|
946
946
|
isAdvanced: {
|
|
@@ -959,7 +959,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
959
959
|
'basic-arrow--active': boolean;
|
|
960
960
|
})[]>;
|
|
961
961
|
toggleAdvanced: () => void;
|
|
962
|
-
handleBtnClick: (button: import("
|
|
962
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
963
963
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
964
964
|
mode: {
|
|
965
965
|
type: PropType<"search" | "dialog">;
|
|
@@ -978,7 +978,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
978
978
|
default: number;
|
|
979
979
|
};
|
|
980
980
|
buttonList: {
|
|
981
|
-
type: PropType<import("
|
|
981
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
982
982
|
default: any[];
|
|
983
983
|
};
|
|
984
984
|
isAdvanced: {
|
|
@@ -990,11 +990,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
990
990
|
show: boolean;
|
|
991
991
|
showAdvancedButton: boolean;
|
|
992
992
|
minShowColumn: number;
|
|
993
|
-
buttonList: import("
|
|
993
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
994
994
|
isAdvanced: boolean;
|
|
995
995
|
}>;
|
|
996
996
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
997
|
-
buttons: PropType<import("
|
|
997
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
998
998
|
showSave: {
|
|
999
999
|
type: BooleanConstructor;
|
|
1000
1000
|
default: boolean;
|
|
@@ -1387,7 +1387,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1387
1387
|
default: boolean;
|
|
1388
1388
|
};
|
|
1389
1389
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
1390
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1390
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1391
1391
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
1392
1392
|
wrapperProps: ObjectConstructor;
|
|
1393
1393
|
afterClose: FunctionConstructor;
|
|
@@ -1440,7 +1440,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1440
1440
|
default: any[];
|
|
1441
1441
|
};
|
|
1442
1442
|
footer: {
|
|
1443
|
-
type: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1443
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1444
1444
|
default: any;
|
|
1445
1445
|
};
|
|
1446
1446
|
canFullscreen: {
|
|
@@ -1461,7 +1461,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1461
1461
|
canFullscreen: boolean;
|
|
1462
1462
|
closable: boolean;
|
|
1463
1463
|
width: string | number;
|
|
1464
|
-
footer: import("vue").VNodeChild | JSX.Element | import("
|
|
1464
|
+
footer: import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[];
|
|
1465
1465
|
formProps: {};
|
|
1466
1466
|
schemas: import("../../../forms").FormSchema[];
|
|
1467
1467
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { FormSchema
|
|
1
|
+
import { FormSchema } from "../../../forms";
|
|
2
2
|
import { PropType, VNodeChild } from "vue";
|
|
3
|
+
import { ButtonProps } from "@dt-frames/core";
|
|
3
4
|
export declare const basicProps: {
|
|
4
5
|
title: {
|
|
5
6
|
type: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Recordable } from "@dt-frames/core";
|
|
1
|
+
import { Recordable, ButtonProps } from "@dt-frames/core";
|
|
2
2
|
import { VNodeChild } from "vue";
|
|
3
|
-
import { FormSchema, FormProps
|
|
3
|
+
import { FormSchema, FormProps } from "../../../forms/src/types/form.type";
|
|
4
4
|
export declare type CrudOptType = {
|
|
5
5
|
title?: string;
|
|
6
6
|
width?: string | number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { ButtonProps } from '
|
|
3
|
-
import { Recordable } from '@dt-frames/core';
|
|
2
|
+
import { Recordable, ButtonProps } from '@dt-frames/core';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
mode: {
|
|
6
5
|
type: PropType<"search" | "dialog">;
|
|
@@ -1737,7 +1737,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1737
1737
|
default: boolean;
|
|
1738
1738
|
};
|
|
1739
1739
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1740
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1740
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1741
1741
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1742
1742
|
wrapperProps: ObjectConstructor;
|
|
1743
1743
|
afterClose: FunctionConstructor;
|
|
@@ -1829,7 +1829,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1829
1829
|
default: boolean;
|
|
1830
1830
|
};
|
|
1831
1831
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1832
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1832
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1833
1833
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1834
1834
|
wrapperProps: ObjectConstructor;
|
|
1835
1835
|
afterClose: FunctionConstructor;
|
|
@@ -1939,7 +1939,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1939
1939
|
default: boolean;
|
|
1940
1940
|
};
|
|
1941
1941
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1942
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1942
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1943
1943
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1944
1944
|
wrapperProps: ObjectConstructor;
|
|
1945
1945
|
afterClose: FunctionConstructor;
|
|
@@ -2026,7 +2026,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2026
2026
|
default: boolean;
|
|
2027
2027
|
};
|
|
2028
2028
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2029
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
2029
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
2030
2030
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2031
2031
|
wrapperProps: ObjectConstructor;
|
|
2032
2032
|
afterClose: FunctionConstructor;
|
|
@@ -2288,7 +2288,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2288
2288
|
fullScreen: boolean;
|
|
2289
2289
|
}>;
|
|
2290
2290
|
ModalFooter: import("vue").DefineComponent<{
|
|
2291
|
-
buttons: import("vue").PropType<import("
|
|
2291
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2292
2292
|
showSave: {
|
|
2293
2293
|
type: BooleanConstructor;
|
|
2294
2294
|
default: boolean;
|
|
@@ -2296,7 +2296,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2296
2296
|
}, {
|
|
2297
2297
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
2298
2298
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2299
|
-
buttons: import("vue").PropType<import("
|
|
2299
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2300
2300
|
showSave: {
|
|
2301
2301
|
type: BooleanConstructor;
|
|
2302
2302
|
default: boolean;
|
|
@@ -2305,9 +2305,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2305
2305
|
onHandleSave?: (...args: any[]) => any;
|
|
2306
2306
|
onHandleCancel?: (...args: any[]) => any;
|
|
2307
2307
|
}>>;
|
|
2308
|
-
buttonActions: import("
|
|
2309
|
-
buttonList: import("vue").ComputedRef<import("
|
|
2310
|
-
handleMethod: (item: import("
|
|
2308
|
+
buttonActions: import("@dt-frames/core").ButtonProps[];
|
|
2309
|
+
buttonList: import("vue").ComputedRef<import("@dt-frames/core").ButtonProps[]>;
|
|
2310
|
+
handleMethod: (item: import("@dt-frames/core").ButtonProps) => void;
|
|
2311
2311
|
FormButtons: import("vue").DefineComponent<{
|
|
2312
2312
|
mode: {
|
|
2313
2313
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -2326,7 +2326,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2326
2326
|
default: number;
|
|
2327
2327
|
};
|
|
2328
2328
|
buttonList: {
|
|
2329
|
-
type: import("vue").PropType<import("
|
|
2329
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2330
2330
|
default: any[];
|
|
2331
2331
|
};
|
|
2332
2332
|
isAdvanced: {
|
|
@@ -2345,7 +2345,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2345
2345
|
'basic-arrow--active': boolean;
|
|
2346
2346
|
})[]>;
|
|
2347
2347
|
toggleAdvanced: () => void;
|
|
2348
|
-
handleBtnClick: (button: import("
|
|
2348
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
2349
2349
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2350
2350
|
mode: {
|
|
2351
2351
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -2364,7 +2364,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2364
2364
|
default: number;
|
|
2365
2365
|
};
|
|
2366
2366
|
buttonList: {
|
|
2367
|
-
type: import("vue").PropType<import("
|
|
2367
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2368
2368
|
default: any[];
|
|
2369
2369
|
};
|
|
2370
2370
|
isAdvanced: {
|
|
@@ -2376,11 +2376,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2376
2376
|
show: boolean;
|
|
2377
2377
|
showAdvancedButton: boolean;
|
|
2378
2378
|
minShowColumn: number;
|
|
2379
|
-
buttonList: import("
|
|
2379
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
2380
2380
|
isAdvanced: boolean;
|
|
2381
2381
|
}>;
|
|
2382
2382
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2383
|
-
buttons: import("vue").PropType<import("
|
|
2383
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2384
2384
|
showSave: {
|
|
2385
2385
|
type: BooleanConstructor;
|
|
2386
2386
|
default: boolean;
|
|
@@ -2773,7 +2773,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2773
2773
|
default: boolean;
|
|
2774
2774
|
};
|
|
2775
2775
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2776
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
2776
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
2777
2777
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2778
2778
|
wrapperProps: ObjectConstructor;
|
|
2779
2779
|
afterClose: FunctionConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Recordable } from "@dt-frames/core";
|
|
1
|
+
import { Recordable, ButtonProps } from "@dt-frames/core";
|
|
2
2
|
import { ComputedRef, Ref } from "vue";
|
|
3
|
-
import {
|
|
3
|
+
import { FormProps, FormSchema } from "../types/form.type";
|
|
4
4
|
declare type FormOpt = {
|
|
5
5
|
updateSchema: (data: Partial<FormSchema> | Partial<FormSchema>[]) => Promise<void>;
|
|
6
6
|
getProps: ComputedRef<FormProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { Recordable } from '@dt-frames/core';
|
|
3
|
-
import {
|
|
2
|
+
import { Recordable, ButtonProps } from '@dt-frames/core';
|
|
3
|
+
import { FormActionType, FormProps, FormSchema } from './types/form.type';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
mode: {
|
|
6
6
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Recordable } from "@dt-frames/core";
|
|
1
|
+
import { Recordable, ButtonProps } from "@dt-frames/core";
|
|
2
2
|
import { VNode } from "vue";
|
|
3
3
|
import { RuleObject } from 'ant-design-vue/lib/form/interface';
|
|
4
4
|
import type { RowProps } from 'ant-design-vue/lib/grid/Row';
|
|
5
5
|
export declare type Rule = RuleObject & {
|
|
6
6
|
trigger?: 'blur' | 'change' | ['change', 'blur'];
|
|
7
7
|
};
|
|
8
|
-
export declare type ButtonFlag = 'OK' | 'CANCEL';
|
|
9
8
|
export declare type FormCallBackParams = {
|
|
10
9
|
schema: Omit<FormSchema, 'props'>;
|
|
11
10
|
values: Recordable;
|
|
@@ -26,20 +25,6 @@ export declare type ToolTipProps = {
|
|
|
26
25
|
color: string;
|
|
27
26
|
placement: 'top' | 'left' | 'right' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom';
|
|
28
27
|
};
|
|
29
|
-
export declare type ButtonProps = {
|
|
30
|
-
name?: string;
|
|
31
|
-
color?: 'error' | 'warning' | 'success' | '';
|
|
32
|
-
type?: 'primary' | 'ghost' | 'dashed' | 'link' | 'text' | 'default' | undefined;
|
|
33
|
-
class?: string;
|
|
34
|
-
disabled?: boolean;
|
|
35
|
-
show?: boolean;
|
|
36
|
-
preIcon?: string;
|
|
37
|
-
postIcon?: string;
|
|
38
|
-
auth?: string;
|
|
39
|
-
flag?: ButtonFlag;
|
|
40
|
-
loading?: boolean;
|
|
41
|
-
onClick?: (...args: any[]) => any;
|
|
42
|
-
};
|
|
43
28
|
export declare type FormProps = {
|
|
44
29
|
mode?: 'search' | 'dialog';
|
|
45
30
|
autoFetch?: boolean;
|
|
@@ -84,7 +69,8 @@ export declare type FormSchema = {
|
|
|
84
69
|
formModel?: Recordable;
|
|
85
70
|
}) => Recordable) | object;
|
|
86
71
|
required?: boolean | ((parms: FormCallBackParams) => boolean);
|
|
87
|
-
suffix?: string | number | ((parms: FormCallBackParams) =>
|
|
72
|
+
suffix?: string | number | ((parms: FormCallBackParams) => VNode | VNode[] | string);
|
|
73
|
+
prefix?: string | number | ((parms: FormCallBackParams) => VNode | VNode[] | string);
|
|
88
74
|
rules?: Rule[];
|
|
89
75
|
rulesMessageJoinLabel?: boolean;
|
|
90
76
|
defaultValue?: any;
|
package/es/components/index.d.ts
CHANGED
|
@@ -13,4 +13,4 @@ import { DtTree } from './tree';
|
|
|
13
13
|
export declare function initComponents(): {
|
|
14
14
|
install(app: App): void;
|
|
15
15
|
};
|
|
16
|
-
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, DtUpload,
|
|
16
|
+
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, DtUpload, DtTree, useForm, useTable, useSource, useCurd, useModal, useModalOut, export2Excel };
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
82
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
83
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
83
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
84
84
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
85
85
|
wrapperProps: ObjectConstructor;
|
|
86
86
|
afterClose: FunctionConstructor;
|
|
@@ -167,7 +167,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
167
|
default: boolean;
|
|
168
168
|
};
|
|
169
169
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
170
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
170
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
171
171
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
172
172
|
wrapperProps: ObjectConstructor;
|
|
173
173
|
afterClose: FunctionConstructor;
|
|
@@ -82,7 +82,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
84
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
85
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
85
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
86
86
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
87
87
|
wrapperProps: ObjectConstructor;
|
|
88
88
|
afterClose: FunctionConstructor;
|
|
@@ -174,7 +174,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
174
174
|
default: boolean;
|
|
175
175
|
};
|
|
176
176
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
177
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
177
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
178
178
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
179
179
|
wrapperProps: ObjectConstructor;
|
|
180
180
|
afterClose: FunctionConstructor;
|
|
@@ -284,7 +284,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
284
284
|
default: boolean;
|
|
285
285
|
};
|
|
286
286
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
287
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
287
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
288
288
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
289
289
|
wrapperProps: ObjectConstructor;
|
|
290
290
|
afterClose: FunctionConstructor;
|
|
@@ -371,7 +371,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
371
371
|
default: boolean;
|
|
372
372
|
};
|
|
373
373
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
374
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
374
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
375
375
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
376
376
|
wrapperProps: ObjectConstructor;
|
|
377
377
|
afterClose: FunctionConstructor;
|
|
@@ -633,7 +633,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
633
633
|
fullScreen: boolean;
|
|
634
634
|
}>;
|
|
635
635
|
ModalFooter: import("vue").DefineComponent<{
|
|
636
|
-
buttons: import("vue").PropType<import("
|
|
636
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
637
637
|
showSave: {
|
|
638
638
|
type: BooleanConstructor;
|
|
639
639
|
default: boolean;
|
|
@@ -641,7 +641,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
641
641
|
}, {
|
|
642
642
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
643
643
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
644
|
-
buttons: import("vue").PropType<import("
|
|
644
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
645
645
|
showSave: {
|
|
646
646
|
type: BooleanConstructor;
|
|
647
647
|
default: boolean;
|
|
@@ -650,9 +650,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
650
650
|
onHandleSave?: (...args: any[]) => any;
|
|
651
651
|
onHandleCancel?: (...args: any[]) => any;
|
|
652
652
|
}>>;
|
|
653
|
-
buttonActions: import("
|
|
654
|
-
buttonList: import("vue").ComputedRef<import("
|
|
655
|
-
handleMethod: (item: import("
|
|
653
|
+
buttonActions: import("@dt-frames/core").ButtonProps[];
|
|
654
|
+
buttonList: import("vue").ComputedRef<import("@dt-frames/core").ButtonProps[]>;
|
|
655
|
+
handleMethod: (item: import("@dt-frames/core").ButtonProps) => void;
|
|
656
656
|
FormButtons: import("vue").DefineComponent<{
|
|
657
657
|
mode: {
|
|
658
658
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -671,7 +671,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
671
671
|
default: number;
|
|
672
672
|
};
|
|
673
673
|
buttonList: {
|
|
674
|
-
type: import("vue").PropType<import("
|
|
674
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
675
675
|
default: any[];
|
|
676
676
|
};
|
|
677
677
|
isAdvanced: {
|
|
@@ -690,7 +690,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
690
690
|
'basic-arrow--active': boolean;
|
|
691
691
|
})[]>;
|
|
692
692
|
toggleAdvanced: () => void;
|
|
693
|
-
handleBtnClick: (button: import("
|
|
693
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
694
694
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
695
695
|
mode: {
|
|
696
696
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -709,7 +709,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
709
709
|
default: number;
|
|
710
710
|
};
|
|
711
711
|
buttonList: {
|
|
712
|
-
type: import("vue").PropType<import("
|
|
712
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
713
713
|
default: any[];
|
|
714
714
|
};
|
|
715
715
|
isAdvanced: {
|
|
@@ -721,11 +721,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
721
721
|
show: boolean;
|
|
722
722
|
showAdvancedButton: boolean;
|
|
723
723
|
minShowColumn: number;
|
|
724
|
-
buttonList: import("
|
|
724
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
725
725
|
isAdvanced: boolean;
|
|
726
726
|
}>;
|
|
727
727
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
728
|
-
buttons: import("vue").PropType<import("
|
|
728
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
729
729
|
showSave: {
|
|
730
730
|
type: BooleanConstructor;
|
|
731
731
|
default: boolean;
|
|
@@ -1118,7 +1118,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1118
1118
|
default: boolean;
|
|
1119
1119
|
};
|
|
1120
1120
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1121
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1121
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1122
1122
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1123
1123
|
wrapperProps: ObjectConstructor;
|
|
1124
1124
|
afterClose: FunctionConstructor;
|
|
@@ -195,7 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
195
|
type: import("vue").PropType<import("./types/table.type").ActionType | import("./types/table.type").BtnsType[]>;
|
|
196
196
|
};
|
|
197
197
|
toolbar: {
|
|
198
|
-
type: import("vue").PropType<import("
|
|
198
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
199
199
|
};
|
|
200
200
|
}, {
|
|
201
201
|
tableElRef: any;
|
|
@@ -300,7 +300,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
300
300
|
defSort?: any;
|
|
301
301
|
columnCode?: string;
|
|
302
302
|
operations?: unknown;
|
|
303
|
-
toolbar?: import("
|
|
303
|
+
toolbar?: import("@dt-frames/core").ButtonProps[];
|
|
304
304
|
onColumnsChange?: (data: import("./types/table.type").ColumnChangeParam[]) => void;
|
|
305
305
|
}>;
|
|
306
306
|
getRowClassName: (record: any, index: number) => string;
|
|
@@ -557,7 +557,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
557
557
|
type: import("vue").PropType<import("./types/table.type").ActionType | import("./types/table.type").BtnsType[]>;
|
|
558
558
|
};
|
|
559
559
|
toolbar: {
|
|
560
|
-
type: import("vue").PropType<import("
|
|
560
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
561
561
|
};
|
|
562
562
|
}>> & {
|
|
563
563
|
onRegister?: (...args: any[]) => any;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Recordable } from '@dt-frames/core';
|
|
1
|
+
import { Recordable, ButtonProps } from '@dt-frames/core';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
import type { TableRowSelection } from 'ant-design-vue/lib/table/interface';
|
|
4
4
|
import { ActionType, BasicColumn, BtnsType, SizeType, TableSetting } from './types/table.type';
|
|
5
|
-
import { ButtonProps } from '../../forms';
|
|
6
5
|
import { DownloadType } from './types/tableHeader.type';
|
|
7
6
|
export declare const TableProps: {
|
|
8
7
|
clickRowSelect: {
|
|
@@ -2,6 +2,10 @@ import { Recordable } from "@dt-frames/core";
|
|
|
2
2
|
import { PropType } from "vue";
|
|
3
3
|
import { CheckKeys, ContextMenuItem, FieldNames, TreeActionItem, TreeItem } from "./type/tree";
|
|
4
4
|
export declare const BasicProps: {
|
|
5
|
+
showIcon: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
5
9
|
loading: {
|
|
6
10
|
type: BooleanConstructor;
|
|
7
11
|
default: boolean;
|
|
@@ -67,7 +71,10 @@ export declare const BasicProps: {
|
|
|
67
71
|
default: string;
|
|
68
72
|
};
|
|
69
73
|
toolbar: BooleanConstructor;
|
|
70
|
-
search:
|
|
74
|
+
search: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
71
78
|
};
|
|
72
79
|
export declare const searchProps: {
|
|
73
80
|
title: {
|
|
@@ -1211,7 +1211,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1211
1211
|
type: import("vue").PropType<import("../../table/src/types/table.type").ActionType | import("../../table/src/types/table.type").BtnsType[]>;
|
|
1212
1212
|
};
|
|
1213
1213
|
toolbar: {
|
|
1214
|
-
type: import("vue").PropType<import("
|
|
1214
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
1215
1215
|
};
|
|
1216
1216
|
}, {
|
|
1217
1217
|
tableElRef: any;
|
|
@@ -1316,7 +1316,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1316
1316
|
defSort?: any;
|
|
1317
1317
|
columnCode?: string;
|
|
1318
1318
|
operations?: unknown;
|
|
1319
|
-
toolbar?: import("
|
|
1319
|
+
toolbar?: import("@dt-frames/core").ButtonProps[];
|
|
1320
1320
|
onColumnsChange?: (data: import("../../table/src/types/table.type").ColumnChangeParam[]) => void;
|
|
1321
1321
|
}>;
|
|
1322
1322
|
getRowClassName: (record: any, index: number) => string;
|
|
@@ -1573,7 +1573,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1573
1573
|
type: import("vue").PropType<import("../../table/src/types/table.type").ActionType | import("../../table/src/types/table.type").BtnsType[]>;
|
|
1574
1574
|
};
|
|
1575
1575
|
toolbar: {
|
|
1576
|
-
type: import("vue").PropType<import("
|
|
1576
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
1577
1577
|
};
|
|
1578
1578
|
}>> & {
|
|
1579
1579
|
onRegister?: (...args: any[]) => any;
|