@dt-frames/ui 1.0.13 → 1.0.17
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 -21
- 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/helper.d.ts +2 -0
- package/es/components/forms/src/hooks/useFormActions.d.ts +2 -2
- package/es/components/forms/src/index.d.ts +2 -3
- 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/components/editable/EditTableCell.d.ts +3 -0
- package/es/components/table/src/components/editable/index.d.ts +1 -1
- package/es/components/table/src/index.d.ts +6 -3
- package/es/components/table/src/props.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +2 -0
- package/es/components/tree/src/props.d.ts +8 -1
- package/es/components/upload/src/upload.d.ts +6 -3
- package/es/index.js +196 -39
- package/es/style/components/icons/index.less +1 -1
- package/es/style/components/table/index.less +4 -0
- package/package.json +1 -10
- package/vite.config.js +10 -0
- package/es/components/upload/src/index.d.ts +0 -2811
- 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: {
|
|
@@ -144,7 +144,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
144
144
|
getFormBindValue: import("vue").ComputedRef<Recordable<any>>;
|
|
145
145
|
getFormClass: import("vue").ComputedRef<(string | {
|
|
146
146
|
'basic-form--compact': boolean;
|
|
147
|
-
'basic-form--search': boolean;
|
|
148
147
|
})[]>;
|
|
149
148
|
formModel: Recordable<any>;
|
|
150
149
|
getLayout: import("vue").ComputedRef<"vertical" | "horizontal" | "inline">;
|
|
@@ -207,7 +206,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
207
206
|
onReset?: (...args: any[]) => any;
|
|
208
207
|
}>>;
|
|
209
208
|
setFormModel: (key: string, value: any) => void;
|
|
210
|
-
handleMethod: (params: boolean | import("
|
|
209
|
+
handleMethod: (params: boolean | import("@dt-frames/core").ButtonProps) => void;
|
|
211
210
|
getActionsProps: import("vue").ComputedRef<Recordable<any>>;
|
|
212
211
|
}, 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
212
|
mode: {
|
|
@@ -351,7 +350,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
351
350
|
default: boolean;
|
|
352
351
|
};
|
|
353
352
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
354
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
353
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
355
354
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
356
355
|
wrapperProps: ObjectConstructor;
|
|
357
356
|
afterClose: FunctionConstructor;
|
|
@@ -443,7 +442,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
443
442
|
default: boolean;
|
|
444
443
|
};
|
|
445
444
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
446
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
445
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
447
446
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
448
447
|
wrapperProps: ObjectConstructor;
|
|
449
448
|
afterClose: FunctionConstructor;
|
|
@@ -553,7 +552,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
553
552
|
default: boolean;
|
|
554
553
|
};
|
|
555
554
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
556
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
555
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
557
556
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
558
557
|
wrapperProps: ObjectConstructor;
|
|
559
558
|
afterClose: FunctionConstructor;
|
|
@@ -640,7 +639,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
640
639
|
default: boolean;
|
|
641
640
|
};
|
|
642
641
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
643
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
642
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
644
643
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
645
644
|
wrapperProps: ObjectConstructor;
|
|
646
645
|
afterClose: FunctionConstructor;
|
|
@@ -902,7 +901,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
902
901
|
fullScreen: boolean;
|
|
903
902
|
}>;
|
|
904
903
|
ModalFooter: import("vue").DefineComponent<{
|
|
905
|
-
buttons: PropType<import("
|
|
904
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
906
905
|
showSave: {
|
|
907
906
|
type: BooleanConstructor;
|
|
908
907
|
default: boolean;
|
|
@@ -910,7 +909,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
910
909
|
}, {
|
|
911
910
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
912
911
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
913
|
-
buttons: PropType<import("
|
|
912
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
914
913
|
showSave: {
|
|
915
914
|
type: BooleanConstructor;
|
|
916
915
|
default: boolean;
|
|
@@ -919,9 +918,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
919
918
|
onHandleSave?: (...args: any[]) => any;
|
|
920
919
|
onHandleCancel?: (...args: any[]) => any;
|
|
921
920
|
}>>;
|
|
922
|
-
buttonActions: import("
|
|
923
|
-
buttonList: import("vue").ComputedRef<import("
|
|
924
|
-
handleMethod: (item: import("
|
|
921
|
+
buttonActions: import("@dt-frames/core").ButtonProps[];
|
|
922
|
+
buttonList: import("vue").ComputedRef<import("@dt-frames/core").ButtonProps[]>;
|
|
923
|
+
handleMethod: (item: import("@dt-frames/core").ButtonProps) => void;
|
|
925
924
|
FormButtons: import("vue").DefineComponent<{
|
|
926
925
|
mode: {
|
|
927
926
|
type: PropType<"search" | "dialog">;
|
|
@@ -940,7 +939,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
940
939
|
default: number;
|
|
941
940
|
};
|
|
942
941
|
buttonList: {
|
|
943
|
-
type: PropType<import("
|
|
942
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
944
943
|
default: any[];
|
|
945
944
|
};
|
|
946
945
|
isAdvanced: {
|
|
@@ -959,7 +958,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
959
958
|
'basic-arrow--active': boolean;
|
|
960
959
|
})[]>;
|
|
961
960
|
toggleAdvanced: () => void;
|
|
962
|
-
handleBtnClick: (button: import("
|
|
961
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
963
962
|
}, 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
963
|
mode: {
|
|
965
964
|
type: PropType<"search" | "dialog">;
|
|
@@ -978,7 +977,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
978
977
|
default: number;
|
|
979
978
|
};
|
|
980
979
|
buttonList: {
|
|
981
|
-
type: PropType<import("
|
|
980
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
982
981
|
default: any[];
|
|
983
982
|
};
|
|
984
983
|
isAdvanced: {
|
|
@@ -990,11 +989,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
990
989
|
show: boolean;
|
|
991
990
|
showAdvancedButton: boolean;
|
|
992
991
|
minShowColumn: number;
|
|
993
|
-
buttonList: import("
|
|
992
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
994
993
|
isAdvanced: boolean;
|
|
995
994
|
}>;
|
|
996
995
|
}, 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("
|
|
996
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
998
997
|
showSave: {
|
|
999
998
|
type: BooleanConstructor;
|
|
1000
999
|
default: boolean;
|
|
@@ -1387,7 +1386,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1387
1386
|
default: boolean;
|
|
1388
1387
|
};
|
|
1389
1388
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
1390
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1389
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1391
1390
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
1392
1391
|
wrapperProps: ObjectConstructor;
|
|
1393
1392
|
afterClose: FunctionConstructor;
|
|
@@ -1440,7 +1439,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1440
1439
|
default: any[];
|
|
1441
1440
|
};
|
|
1442
1441
|
footer: {
|
|
1443
|
-
type: PropType<import("vue").VNodeChild | JSX.Element | import("
|
|
1442
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1444
1443
|
default: any;
|
|
1445
1444
|
};
|
|
1446
1445
|
canFullscreen: {
|
|
@@ -1461,7 +1460,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1461
1460
|
canFullscreen: boolean;
|
|
1462
1461
|
closable: boolean;
|
|
1463
1462
|
width: string | number;
|
|
1464
|
-
footer: import("vue").VNodeChild | JSX.Element | import("
|
|
1463
|
+
footer: import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[];
|
|
1465
1464
|
formProps: {};
|
|
1466
1465
|
schemas: import("../../../forms").FormSchema[];
|
|
1467
1466
|
}>;
|
|
@@ -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,8 @@
|
|
|
1
1
|
import { ComponentType } from "../types/form.type";
|
|
2
2
|
import type { ValidationRule } from 'ant-design-vue/lib/form/Form';
|
|
3
3
|
export declare function createPlaceholder(component: ComponentType): "" | "请输入" | "请选择" | "请设置图标";
|
|
4
|
+
export declare const SINGLE_DATA_TYPE: string[];
|
|
5
|
+
export declare const MULTIFY_DATA_TYPE: string[];
|
|
4
6
|
export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void;
|
|
5
7
|
export declare function handleInputNumberValue(component?: ComponentType, val?: any): any;
|
|
6
8
|
export declare const datePickerType: string[];
|
|
@@ -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">;
|
|
@@ -54,7 +54,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
getFormBindValue: import("vue").ComputedRef<Recordable<any>>;
|
|
55
55
|
getFormClass: import("vue").ComputedRef<(string | {
|
|
56
56
|
'basic-form--compact': boolean;
|
|
57
|
-
'basic-form--search': boolean;
|
|
58
57
|
})[]>;
|
|
59
58
|
formModel: Recordable<any>;
|
|
60
59
|
getLayout: import("vue").ComputedRef<"vertical" | "horizontal" | "inline">;
|
|
@@ -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;
|
|
@@ -24,6 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
default: () => BasicColumn;
|
|
25
25
|
};
|
|
26
26
|
index: NumberConstructor;
|
|
27
|
+
dataSource: PropType<Recordable<any>[]>;
|
|
27
28
|
}, {
|
|
28
29
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
29
30
|
value: {
|
|
@@ -48,6 +49,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
49
|
default: () => BasicColumn;
|
|
49
50
|
};
|
|
50
51
|
index: NumberConstructor;
|
|
52
|
+
dataSource: PropType<Recordable<any>[]>;
|
|
51
53
|
}>> & {
|
|
52
54
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
|
53
55
|
}>>;
|
|
@@ -81,6 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
83
|
default: () => BasicColumn;
|
|
82
84
|
};
|
|
83
85
|
index: NumberConstructor;
|
|
86
|
+
dataSource: PropType<Recordable<any>[]>;
|
|
84
87
|
}>>, {
|
|
85
88
|
value: string;
|
|
86
89
|
column: BasicColumn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BasicColumn } from "../../types/table.type";
|
|
2
|
-
declare function renderEditCell(column: BasicColumn): ({ text: value, record, index }: {
|
|
2
|
+
declare function renderEditCell(column: BasicColumn, dataSource: any): ({ text: value, record, index }: {
|
|
3
3
|
text: any;
|
|
4
4
|
record: any;
|
|
5
5
|
index: any;
|
|
@@ -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;
|
|
@@ -268,6 +268,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
268
|
rowKey: string;
|
|
269
269
|
columns: import("./types/table.type").BasicColumn[];
|
|
270
270
|
tableLayout: string;
|
|
271
|
+
class: (string | {
|
|
272
|
+
'dt-table-no-pagation': boolean;
|
|
273
|
+
})[];
|
|
271
274
|
customRow: (record: Recordable<any>, index: number) => {
|
|
272
275
|
onClick: (e: any) => void;
|
|
273
276
|
onDblclick: (event: Event) => void;
|
|
@@ -300,7 +303,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
300
303
|
defSort?: any;
|
|
301
304
|
columnCode?: string;
|
|
302
305
|
operations?: unknown;
|
|
303
|
-
toolbar?: import("
|
|
306
|
+
toolbar?: import("@dt-frames/core").ButtonProps[];
|
|
304
307
|
onColumnsChange?: (data: import("./types/table.type").ColumnChangeParam[]) => void;
|
|
305
308
|
}>;
|
|
306
309
|
getRowClassName: (record: any, index: number) => string;
|
|
@@ -557,7 +560,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
557
560
|
type: import("vue").PropType<import("./types/table.type").ActionType | import("./types/table.type").BtnsType[]>;
|
|
558
561
|
};
|
|
559
562
|
toolbar: {
|
|
560
|
-
type: import("vue").PropType<import("
|
|
563
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
561
564
|
};
|
|
562
565
|
}>> & {
|
|
563
566
|
onRegister?: (...args: any[]) => any;
|