@dt-frames/ui 1.0.12 → 1.0.16
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 +27 -23
- package/es/components/curd/src/components/props.d.ts +6 -5
- package/es/components/curd/src/hooks/useCurd.d.ts +1 -0
- package/es/components/curd/src/types/curd.type.d.ts +4 -3
- package/es/components/forms/src/components/formButton.d.ts +1 -2
- package/es/components/forms/src/components/formIcon.d.ts +16 -11
- 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 +2 -2
- package/es/components/modal/src/components/modal.d.ts +2 -2
- package/es/components/modal/src/components/modalFooter.d.ts +10 -5
- package/es/components/modal/src/index.d.ts +16 -11
- package/es/components/modal/src/props.d.ts +2 -1
- package/es/components/source/src/hooks/useFetch.d.ts +1 -1
- package/es/components/table/src/hooks/useTable.d.ts +2 -2
- package/es/components/table/src/index.d.ts +3 -3
- package/es/components/table/src/props.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +2 -2
- package/es/components/tree/src/props.d.ts +8 -1
- package/es/components/upload/index.d.ts +1 -2
- package/es/components/upload/src/helper.d.ts +1 -0
- package/es/components/upload/src/index.d.ts +13 -9
- package/es/components/upload/src/props.d.ts +4 -1
- package/es/components/upload/src/upload.d.ts +21 -9
- package/es/index.js +391 -232
- package/es/style/components/icons/index.less +1 -1
- package/es/style/components/upload/index.less +3 -11
- 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 -74
- 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 -31
- 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 -54
- 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 -38
- 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 -173
- package/src/components/modal/src/props.ts +0 -43
- 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 -43
- package/src/components/upload/index.ts +0 -7
- package/src/components/upload/src/helper.ts +0 -32
- package/src/components/upload/src/index.vue +0 -38
- package/src/components/upload/src/props.ts +0 -48
- package/src/components/upload/src/upload.vue +0 -166
- 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
|
@@ -24,9 +24,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
24
|
type: PropType<import("../../../forms").FormSchema[]>;
|
|
25
25
|
default: any[];
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
type: PropType<import("
|
|
29
|
-
default: any
|
|
27
|
+
footer: {
|
|
28
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
29
|
+
default: any;
|
|
30
30
|
};
|
|
31
31
|
canFullscreen: {
|
|
32
32
|
type: BooleanConstructor;
|
|
@@ -65,9 +65,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
65
65
|
type: PropType<import("../../../forms").FormSchema[]>;
|
|
66
66
|
default: any[];
|
|
67
67
|
};
|
|
68
|
-
|
|
69
|
-
type: PropType<import("
|
|
70
|
-
default: any
|
|
68
|
+
footer: {
|
|
69
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
70
|
+
default: any;
|
|
71
71
|
};
|
|
72
72
|
canFullscreen: {
|
|
73
73
|
type: BooleanConstructor;
|
|
@@ -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>;
|
|
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>;
|
|
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;
|
|
@@ -457,6 +456,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
457
456
|
onRegister?: (...args: any[]) => any;
|
|
458
457
|
}>>;
|
|
459
458
|
emits: (event: "visible-change" | "height-change" | "cancel" | "save" | "register" | "update:visible", ...args: any[]) => void;
|
|
459
|
+
modalFooterHeight: import("vue").ComputedRef<number>;
|
|
460
460
|
modalMethods: import("@dt-frames/core").ModalMethods;
|
|
461
461
|
getWrapClassName: import("vue").ComputedRef<string>;
|
|
462
462
|
toggleFullScreen: (e: Event) => void;
|
|
@@ -552,7 +552,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
552
552
|
default: boolean;
|
|
553
553
|
};
|
|
554
554
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
555
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element>;
|
|
555
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
556
556
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
557
557
|
wrapperProps: ObjectConstructor;
|
|
558
558
|
afterClose: FunctionConstructor;
|
|
@@ -639,7 +639,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
639
639
|
default: boolean;
|
|
640
640
|
};
|
|
641
641
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
642
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element>;
|
|
642
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
643
643
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
644
644
|
wrapperProps: ObjectConstructor;
|
|
645
645
|
afterClose: FunctionConstructor;
|
|
@@ -901,6 +901,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
901
901
|
fullScreen: boolean;
|
|
902
902
|
}>;
|
|
903
903
|
ModalFooter: import("vue").DefineComponent<{
|
|
904
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
904
905
|
showSave: {
|
|
905
906
|
type: BooleanConstructor;
|
|
906
907
|
default: boolean;
|
|
@@ -908,6 +909,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
908
909
|
}, {
|
|
909
910
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
910
911
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
912
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
911
913
|
showSave: {
|
|
912
914
|
type: BooleanConstructor;
|
|
913
915
|
default: boolean;
|
|
@@ -916,8 +918,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
916
918
|
onHandleSave?: (...args: any[]) => any;
|
|
917
919
|
onHandleCancel?: (...args: any[]) => any;
|
|
918
920
|
}>>;
|
|
919
|
-
buttonActions: import("
|
|
920
|
-
|
|
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;
|
|
921
924
|
FormButtons: import("vue").DefineComponent<{
|
|
922
925
|
mode: {
|
|
923
926
|
type: PropType<"search" | "dialog">;
|
|
@@ -936,7 +939,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
936
939
|
default: number;
|
|
937
940
|
};
|
|
938
941
|
buttonList: {
|
|
939
|
-
type: PropType<import("
|
|
942
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
940
943
|
default: any[];
|
|
941
944
|
};
|
|
942
945
|
isAdvanced: {
|
|
@@ -955,7 +958,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
955
958
|
'basic-arrow--active': boolean;
|
|
956
959
|
})[]>;
|
|
957
960
|
toggleAdvanced: () => void;
|
|
958
|
-
handleBtnClick: (button: import("
|
|
961
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
959
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<{
|
|
960
963
|
mode: {
|
|
961
964
|
type: PropType<"search" | "dialog">;
|
|
@@ -974,7 +977,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
974
977
|
default: number;
|
|
975
978
|
};
|
|
976
979
|
buttonList: {
|
|
977
|
-
type: PropType<import("
|
|
980
|
+
type: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
978
981
|
default: any[];
|
|
979
982
|
};
|
|
980
983
|
isAdvanced: {
|
|
@@ -986,10 +989,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
986
989
|
show: boolean;
|
|
987
990
|
showAdvancedButton: boolean;
|
|
988
991
|
minShowColumn: number;
|
|
989
|
-
buttonList: import("
|
|
992
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
990
993
|
isAdvanced: boolean;
|
|
991
994
|
}>;
|
|
992
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<{
|
|
996
|
+
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
993
997
|
showSave: {
|
|
994
998
|
type: BooleanConstructor;
|
|
995
999
|
default: boolean;
|
|
@@ -1382,7 +1386,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1382
1386
|
default: boolean;
|
|
1383
1387
|
};
|
|
1384
1388
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
1385
|
-
footer: PropType<import("vue").VNodeChild | JSX.Element>;
|
|
1389
|
+
footer: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1386
1390
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
1387
1391
|
wrapperProps: ObjectConstructor;
|
|
1388
1392
|
afterClose: FunctionConstructor;
|
|
@@ -1434,9 +1438,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1434
1438
|
type: PropType<import("../../../forms").FormSchema[]>;
|
|
1435
1439
|
default: any[];
|
|
1436
1440
|
};
|
|
1437
|
-
|
|
1438
|
-
type: PropType<import("
|
|
1439
|
-
default: any
|
|
1441
|
+
footer: {
|
|
1442
|
+
type: PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1443
|
+
default: any;
|
|
1440
1444
|
};
|
|
1441
1445
|
canFullscreen: {
|
|
1442
1446
|
type: BooleanConstructor;
|
|
@@ -1456,8 +1460,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1456
1460
|
canFullscreen: boolean;
|
|
1457
1461
|
closable: boolean;
|
|
1458
1462
|
width: string | number;
|
|
1463
|
+
footer: import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[];
|
|
1459
1464
|
formProps: {};
|
|
1460
1465
|
schemas: import("../../../forms").FormSchema[];
|
|
1461
|
-
actions: import("../../../forms").ButtonProps[];
|
|
1462
1466
|
}>;
|
|
1463
1467
|
export default _sfc_main;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { FormSchema
|
|
2
|
-
import { PropType } from "vue";
|
|
1
|
+
import { FormSchema } from "../../../forms";
|
|
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;
|
|
@@ -13,9 +14,9 @@ export declare const basicProps: {
|
|
|
13
14
|
type: PropType<FormSchema[]>;
|
|
14
15
|
default: any[];
|
|
15
16
|
};
|
|
16
|
-
|
|
17
|
-
type: PropType<ButtonProps[]>;
|
|
18
|
-
default: any
|
|
17
|
+
footer: {
|
|
18
|
+
type: PropType<VNodeChild | JSX.Element | ButtonProps[]>;
|
|
19
|
+
default: any;
|
|
19
20
|
};
|
|
20
21
|
canFullscreen: {
|
|
21
22
|
type: BooleanConstructor;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Recordable } from "@dt-frames/core";
|
|
2
|
-
import {
|
|
1
|
+
import { Recordable, ButtonProps } from "@dt-frames/core";
|
|
2
|
+
import { VNodeChild } from "vue";
|
|
3
|
+
import { FormSchema, FormProps } from "../../../forms/src/types/form.type";
|
|
3
4
|
export declare type CrudOptType = {
|
|
4
5
|
title?: string;
|
|
5
6
|
width?: string | number;
|
|
6
7
|
schemas: FormSchema[];
|
|
7
|
-
|
|
8
|
+
footer?: VNodeChild | JSX.Element | ButtonProps[];
|
|
8
9
|
showFullscreen?: boolean;
|
|
9
10
|
showClose?: boolean;
|
|
10
11
|
primaryKey?: string;
|
|
@@ -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>;
|
|
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>;
|
|
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;
|
|
@@ -1843,6 +1843,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1843
1843
|
onRegister?: (...args: any[]) => any;
|
|
1844
1844
|
}>>;
|
|
1845
1845
|
emits: (event: "visible-change" | "height-change" | "cancel" | "save" | "register" | "update:visible", ...args: any[]) => void;
|
|
1846
|
+
modalFooterHeight: import("vue").ComputedRef<number>;
|
|
1846
1847
|
modalMethods: import("@dt-frames/core").ModalMethods;
|
|
1847
1848
|
getWrapClassName: import("vue").ComputedRef<string>;
|
|
1848
1849
|
toggleFullScreen: (e: Event) => void;
|
|
@@ -1938,7 +1939,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1938
1939
|
default: boolean;
|
|
1939
1940
|
};
|
|
1940
1941
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1941
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element>;
|
|
1942
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
1942
1943
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
1943
1944
|
wrapperProps: ObjectConstructor;
|
|
1944
1945
|
afterClose: FunctionConstructor;
|
|
@@ -2025,7 +2026,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2025
2026
|
default: boolean;
|
|
2026
2027
|
};
|
|
2027
2028
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2028
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element>;
|
|
2029
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
2029
2030
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2030
2031
|
wrapperProps: ObjectConstructor;
|
|
2031
2032
|
afterClose: FunctionConstructor;
|
|
@@ -2287,6 +2288,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2287
2288
|
fullScreen: boolean;
|
|
2288
2289
|
}>;
|
|
2289
2290
|
ModalFooter: import("vue").DefineComponent<{
|
|
2291
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2290
2292
|
showSave: {
|
|
2291
2293
|
type: BooleanConstructor;
|
|
2292
2294
|
default: boolean;
|
|
@@ -2294,6 +2296,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2294
2296
|
}, {
|
|
2295
2297
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
2296
2298
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2299
|
+
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2297
2300
|
showSave: {
|
|
2298
2301
|
type: BooleanConstructor;
|
|
2299
2302
|
default: boolean;
|
|
@@ -2302,8 +2305,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2302
2305
|
onHandleSave?: (...args: any[]) => any;
|
|
2303
2306
|
onHandleCancel?: (...args: any[]) => any;
|
|
2304
2307
|
}>>;
|
|
2305
|
-
buttonActions: import("
|
|
2306
|
-
|
|
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;
|
|
2307
2311
|
FormButtons: import("vue").DefineComponent<{
|
|
2308
2312
|
mode: {
|
|
2309
2313
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -2322,7 +2326,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2322
2326
|
default: number;
|
|
2323
2327
|
};
|
|
2324
2328
|
buttonList: {
|
|
2325
|
-
type: import("vue").PropType<import("
|
|
2329
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2326
2330
|
default: any[];
|
|
2327
2331
|
};
|
|
2328
2332
|
isAdvanced: {
|
|
@@ -2341,7 +2345,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2341
2345
|
'basic-arrow--active': boolean;
|
|
2342
2346
|
})[]>;
|
|
2343
2347
|
toggleAdvanced: () => void;
|
|
2344
|
-
handleBtnClick: (button: import("
|
|
2348
|
+
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
2345
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<{
|
|
2346
2350
|
mode: {
|
|
2347
2351
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -2360,7 +2364,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2360
2364
|
default: number;
|
|
2361
2365
|
};
|
|
2362
2366
|
buttonList: {
|
|
2363
|
-
type: import("vue").PropType<import("
|
|
2367
|
+
type: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
2364
2368
|
default: any[];
|
|
2365
2369
|
};
|
|
2366
2370
|
isAdvanced: {
|
|
@@ -2372,10 +2376,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2372
2376
|
show: boolean;
|
|
2373
2377
|
showAdvancedButton: boolean;
|
|
2374
2378
|
minShowColumn: number;
|
|
2375
|
-
buttonList: import("
|
|
2379
|
+
buttonList: import("@dt-frames/core").ButtonProps[];
|
|
2376
2380
|
isAdvanced: boolean;
|
|
2377
2381
|
}>;
|
|
2378
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("@dt-frames/core").ButtonProps[]>;
|
|
2379
2384
|
showSave: {
|
|
2380
2385
|
type: BooleanConstructor;
|
|
2381
2386
|
default: boolean;
|
|
@@ -2768,7 +2773,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2768
2773
|
default: boolean;
|
|
2769
2774
|
};
|
|
2770
2775
|
maskStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2771
|
-
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element>;
|
|
2776
|
+
footer: import("vue").PropType<import("vue").VNodeChild | JSX.Element | import("@dt-frames/core").ButtonProps[]>;
|
|
2772
2777
|
bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
|
|
2773
2778
|
wrapperProps: ObjectConstructor;
|
|
2774
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
|
@@ -8,9 +8,9 @@ import { useSource } from './source';
|
|
|
8
8
|
import { useCurd } from './curd';
|
|
9
9
|
import { export2Excel } from './excel';
|
|
10
10
|
import { DtIframe } from './iframe';
|
|
11
|
-
import { DtUpload
|
|
11
|
+
import { DtUpload } from './upload';
|
|
12
12
|
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>;
|
|
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>;
|
|
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;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
1
|
+
import { ButtonProps } from '@dt-frames/core';
|
|
2
|
+
import { PropType } from 'vue';
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
buttons: PropType<ButtonProps[]>;
|
|
3
5
|
showSave: {
|
|
4
6
|
type: BooleanConstructor;
|
|
5
7
|
default: boolean;
|
|
@@ -7,6 +9,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
9
|
}, {
|
|
8
10
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
9
11
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
buttons: PropType<ButtonProps[]>;
|
|
10
13
|
showSave: {
|
|
11
14
|
type: BooleanConstructor;
|
|
12
15
|
default: boolean;
|
|
@@ -16,10 +19,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
16
19
|
onHandleCancel?: (...args: any[]) => any;
|
|
17
20
|
}>>;
|
|
18
21
|
buttonActions: ButtonProps[];
|
|
22
|
+
buttonList: import("vue").ComputedRef<ButtonProps[]>;
|
|
19
23
|
handleMethod: (item: ButtonProps) => void;
|
|
20
24
|
FormButtons: import("vue").DefineComponent<{
|
|
21
25
|
mode: {
|
|
22
|
-
type:
|
|
26
|
+
type: PropType<"search" | "dialog">;
|
|
23
27
|
default: string;
|
|
24
28
|
};
|
|
25
29
|
show: {
|
|
@@ -35,7 +39,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
35
39
|
default: number;
|
|
36
40
|
};
|
|
37
41
|
buttonList: {
|
|
38
|
-
type:
|
|
42
|
+
type: PropType<ButtonProps[]>;
|
|
39
43
|
default: any[];
|
|
40
44
|
};
|
|
41
45
|
isAdvanced: {
|
|
@@ -57,7 +61,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
57
61
|
handleBtnClick: (button: ButtonProps) => void;
|
|
58
62
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
63
|
mode: {
|
|
60
|
-
type:
|
|
64
|
+
type: PropType<"search" | "dialog">;
|
|
61
65
|
default: string;
|
|
62
66
|
};
|
|
63
67
|
show: {
|
|
@@ -73,7 +77,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
77
|
default: number;
|
|
74
78
|
};
|
|
75
79
|
buttonList: {
|
|
76
|
-
type:
|
|
80
|
+
type: PropType<ButtonProps[]>;
|
|
77
81
|
default: any[];
|
|
78
82
|
};
|
|
79
83
|
isAdvanced: {
|
|
@@ -89,6 +93,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
89
93
|
isAdvanced: boolean;
|
|
90
94
|
}>;
|
|
91
95
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
|
+
buttons: PropType<ButtonProps[]>;
|
|
92
97
|
showSave: {
|
|
93
98
|
type: BooleanConstructor;
|
|
94
99
|
default: boolean;
|