@dt-frames/ui 2.0.10 → 2.0.12
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/container/index.d.ts +2 -93
- package/es/components/curd/index.js +7 -2966
- package/es/components/curd/src/components/Curd.d.ts +19 -891
- package/es/components/curd/src/hooks/useCurd.d.ts +2 -2
- package/es/components/curd/src/props.d.ts +6 -4
- package/es/components/curd/src/types/curd.type.d.ts +2 -2
- package/es/components/drawer/index.d.ts +10 -167
- package/es/components/drawer/index.js +24 -462
- package/es/components/drawer/src/components/DrawerFooter.d.ts +1 -84
- package/es/components/drawer/src/index.d.ts +10 -167
- package/es/components/drawer/src/types/index.type.d.ts +2 -2
- package/es/components/form/index.d.ts +5 -1
- package/es/components/form/index.js +81 -485
- package/es/components/form/src/components/FormItem.d.ts +3 -1
- package/es/components/form/src/components/formIcon.d.ts +3 -11
- package/es/components/form/src/components/formInputUseDialog.d.ts +2 -2
- package/es/components/form/src/props.d.ts +7 -5
- package/es/components/form/src/types/form.type.d.ts +3 -0
- package/es/components/form/src/types/items.type.d.ts +6 -4
- package/es/components/icons/index.d.ts +497 -497
- package/es/components/iframe/index.d.ts +2 -0
- package/es/components/iframe/index.js +72 -0
- package/es/components/iframe/index.less +29 -0
- package/es/components/iframe/src/index.d.ts +38 -0
- package/es/components/modal/index.d.ts +2 -1
- package/es/components/modal/index.js +23 -475
- package/es/components/modal/src/components/Modal.d.ts +1 -1
- package/es/components/modal/src/components/ModalFooter.d.ts +2 -95
- package/es/components/modal/src/components/ModalWrap.d.ts +1 -75
- package/es/components/modal/src/index.d.ts +14 -179
- package/es/components/table/index.js +328 -2030
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/editTable/EditTableCell.d.ts +1 -1
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +1 -877
- package/es/components/table/src/index.d.ts +10 -10
- package/es/components/tree/src/components/TreeHeader.d.ts +1 -1
- package/es/components/tree/src/index.d.ts +2 -2
- package/es/components/upload/index.d.ts +2 -0
- package/es/components/upload/index.js +419 -0
- package/es/components/upload/index.less +37 -0
- package/es/components/upload/src/basicProps.d.ts +89 -0
- package/es/components/upload/src/components/PdfView.d.ts +9 -0
- package/es/components/upload/src/hooks/useFile.d.ts +15 -0
- package/es/components/upload/src/index.d.ts +236 -0
- package/es/components/upload/src/type/file.d.ts +10 -0
- package/es/components/upload/src/utils/upload.d.ts +2 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +98 -145
- package/es/theme/index.less +5 -1
- package/es/theme/src/components/content/index.d.ts +2 -0
- package/es/theme/src/components/header/index.d.ts +809 -809
- package/es/theme/src/components/header/multiple-header.d.ts +918 -918
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +2059 -2057
- package/index.d.ts +3 -1
- package/index.js +24 -2
- package/manualContentPath.js +124 -0
- package/package.json +8 -3
- package/vite.config.ts +19 -4
- package/es/components/curd/index.less +0 -2
- package/es/components/form/src/index.d.ts +0 -2922
- package/es/components/table/src/components/TableHeader.d.ts +0 -1136
- package/es/components/table/src/components/tableSetting/Download.d.ts +0 -922
- package/es/components/table/src/components/tableSetting/index.d.ts +0 -1030
|
@@ -97,7 +97,7 @@ export declare function useCurd(curdOpt: Partial<ExtractPropTypes<typeof basicPr
|
|
|
97
97
|
};
|
|
98
98
|
maskStyle: PropType<import("vue").CSSProperties>;
|
|
99
99
|
footer: {
|
|
100
|
-
type: PropType<import(
|
|
100
|
+
type: PropType<import('../../../form').ButtonProps[]>;
|
|
101
101
|
};
|
|
102
102
|
bodyStyle: PropType<import("vue").CSSProperties>;
|
|
103
103
|
wrapperProps: ObjectConstructor;
|
|
@@ -105,7 +105,7 @@ export declare function useCurd(curdOpt: Partial<ExtractPropTypes<typeof basicPr
|
|
|
105
105
|
closeFunc: PropType<() => Promise<boolean>>;
|
|
106
106
|
afterClose: FunctionConstructor;
|
|
107
107
|
}>>) => void;
|
|
108
|
-
curdFormMethods: import(
|
|
108
|
+
curdFormMethods: import('../../../form').FormActionType;
|
|
109
109
|
DtCurdModal: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
110
110
|
[key: string]: any;
|
|
111
111
|
}>;
|
|
@@ -42,7 +42,7 @@ export declare const basicProps: {
|
|
|
42
42
|
default: () => {};
|
|
43
43
|
};
|
|
44
44
|
layout: {
|
|
45
|
-
type: PropType<"vertical" | "
|
|
45
|
+
type: PropType<"vertical" | "inline" | "horizontal">;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
labelWidth: {
|
|
@@ -83,10 +83,12 @@ export declare const basicProps: {
|
|
|
83
83
|
};
|
|
84
84
|
colProps: {
|
|
85
85
|
type: PropType<Partial<import('../../form/src/types/form.type').ColEx>>;
|
|
86
|
-
|
|
86
|
+
};
|
|
87
|
+
span: {
|
|
88
|
+
type: NumberConstructor;
|
|
87
89
|
};
|
|
88
90
|
size: {
|
|
89
|
-
type: PropType<"
|
|
91
|
+
type: PropType<"middle" | "small" | "large">;
|
|
90
92
|
};
|
|
91
93
|
disabled: {
|
|
92
94
|
type: BooleanConstructor;
|
|
@@ -146,7 +148,7 @@ export declare const basicProps: {
|
|
|
146
148
|
type: PropType<() => void>;
|
|
147
149
|
};
|
|
148
150
|
registerInstance: {
|
|
149
|
-
type: PropType<(instance: import("../../form
|
|
151
|
+
type: PropType<(instance: import("../../form").FormActionType) => void>;
|
|
150
152
|
};
|
|
151
153
|
}>>>>;
|
|
152
154
|
default: () => {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormActionType } from '../../../form
|
|
2
|
-
import { basicProps } from '../../../modal
|
|
1
|
+
import { FormActionType } from '../../../form';
|
|
2
|
+
import { basicProps } from '../../../modal';
|
|
3
3
|
import { Recordable } from "@dt-frames/core";
|
|
4
4
|
import { ExtractPropTypes, PropType } from "vue";
|
|
5
5
|
export declare type CurdActionType = {
|
|
@@ -57,7 +57,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
57
57
|
type: StringConstructor;
|
|
58
58
|
};
|
|
59
59
|
footer: {
|
|
60
|
-
type: import("vue").PropType<import("../form
|
|
60
|
+
type: import("vue").PropType<import("../form").ButtonProps[]>;
|
|
61
61
|
};
|
|
62
62
|
afterClose: FunctionConstructor;
|
|
63
63
|
}, {
|
|
@@ -7711,7 +7711,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
7711
7711
|
t?: string;
|
|
7712
7712
|
label: string;
|
|
7713
7713
|
color?: "" | "error" | "warning" | "success";
|
|
7714
|
-
type?: "default" | "
|
|
7714
|
+
type?: "default" | "dashed" | "text" | "primary" | "ghost" | "link";
|
|
7715
7715
|
class?: string;
|
|
7716
7716
|
disabled?: boolean;
|
|
7717
7717
|
show?: boolean;
|
|
@@ -7723,7 +7723,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
7723
7723
|
onClick?: (args?: any) => any;
|
|
7724
7724
|
}[];
|
|
7725
7725
|
afterVisibleChange?: (visible?: boolean) => void;
|
|
7726
|
-
getContainer?: () =>
|
|
7726
|
+
getContainer?: false | HTMLElement | (() => any);
|
|
7727
7727
|
closeFunc?: () => Promise<any>;
|
|
7728
7728
|
afterClose?: Function;
|
|
7729
7729
|
}>;
|
|
@@ -7738,81 +7738,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
7738
7738
|
setDrawerProps: (props: Partial<import("./src/types/index.type").DrawerProps>) => void;
|
|
7739
7739
|
drawerMethods: import("./src/types/index.type").DrawerMethods;
|
|
7740
7740
|
instance: import("vue").ComponentInternalInstance;
|
|
7741
|
-
readonly DtScrollContainer: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
7742
|
-
scrollbarRef: any;
|
|
7743
|
-
scrollTo: (to: number, duration?: number) => void;
|
|
7744
|
-
getScrollWrap: () => any;
|
|
7745
|
-
scrollBottom: () => void;
|
|
7746
|
-
ScrollBar: import("vue").DefineComponent<{
|
|
7747
|
-
wrapClass: {
|
|
7748
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7749
|
-
default: string;
|
|
7750
|
-
};
|
|
7751
|
-
wrapStyle: ArrayConstructor;
|
|
7752
|
-
viewClass: {
|
|
7753
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7754
|
-
default: string;
|
|
7755
|
-
};
|
|
7756
|
-
viewStyle: {
|
|
7757
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7758
|
-
default: string;
|
|
7759
|
-
};
|
|
7760
|
-
noresize: BooleanConstructor;
|
|
7761
|
-
tag: {
|
|
7762
|
-
type: StringConstructor;
|
|
7763
|
-
default: string;
|
|
7764
|
-
};
|
|
7765
|
-
}, {
|
|
7766
|
-
sizeWidth: import("vue").Ref<string>;
|
|
7767
|
-
sizeHeight: import("vue").Ref<string>;
|
|
7768
|
-
moveX: import("vue").Ref<number>;
|
|
7769
|
-
moveY: import("vue").Ref<number>;
|
|
7770
|
-
wrap: import("vue").Ref<any>;
|
|
7771
|
-
resize: import("vue").Ref<any>;
|
|
7772
|
-
props: any;
|
|
7773
|
-
style: import("vue").ComputedRef<{}>;
|
|
7774
|
-
handleScroll: () => void;
|
|
7775
|
-
update: () => void;
|
|
7776
|
-
readonly Bar: import("vue").DefineComponent<{
|
|
7777
|
-
vertical: BooleanConstructor;
|
|
7778
|
-
size: StringConstructor;
|
|
7779
|
-
move: NumberConstructor;
|
|
7780
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7781
|
-
[key: string]: any;
|
|
7782
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7783
|
-
vertical: BooleanConstructor;
|
|
7784
|
-
size: StringConstructor;
|
|
7785
|
-
move: NumberConstructor;
|
|
7786
|
-
}>>, {
|
|
7787
|
-
vertical: boolean;
|
|
7788
|
-
}>;
|
|
7789
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7790
|
-
wrapClass: {
|
|
7791
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7792
|
-
default: string;
|
|
7793
|
-
};
|
|
7794
|
-
wrapStyle: ArrayConstructor;
|
|
7795
|
-
viewClass: {
|
|
7796
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7797
|
-
default: string;
|
|
7798
|
-
};
|
|
7799
|
-
viewStyle: {
|
|
7800
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7801
|
-
default: string;
|
|
7802
|
-
};
|
|
7803
|
-
noresize: BooleanConstructor;
|
|
7804
|
-
tag: {
|
|
7805
|
-
type: StringConstructor;
|
|
7806
|
-
default: string;
|
|
7807
|
-
};
|
|
7808
|
-
}>>, {
|
|
7809
|
-
wrapClass: string | unknown[];
|
|
7810
|
-
viewClass: string | unknown[];
|
|
7811
|
-
viewStyle: string | unknown[];
|
|
7812
|
-
noresize: boolean;
|
|
7813
|
-
tag: string;
|
|
7814
|
-
}>;
|
|
7815
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
7741
|
+
readonly DtScrollContainer: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
7816
7742
|
DrawerHeader: import("vue").DefineComponent<{
|
|
7817
7743
|
title: {
|
|
7818
7744
|
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
@@ -7823,7 +7749,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
7823
7749
|
};
|
|
7824
7750
|
}>>, {}>;
|
|
7825
7751
|
DrawerFooter: import("vue").DefineComponent<{
|
|
7826
|
-
buttons: import("vue").PropType<import("../form
|
|
7752
|
+
buttons: import("vue").PropType<import("../form").ButtonProps[]>;
|
|
7827
7753
|
showSave: {
|
|
7828
7754
|
type: BooleanConstructor;
|
|
7829
7755
|
default: boolean;
|
|
@@ -7849,94 +7775,11 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
7849
7775
|
};
|
|
7850
7776
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
7851
7777
|
props: any;
|
|
7852
|
-
buttonList: import("vue").ComputedRef<import("../form
|
|
7853
|
-
handleMethod: (item: import("../form
|
|
7854
|
-
DtFormButtons: import("vue").DefineComponent<{
|
|
7855
|
-
mode: {
|
|
7856
|
-
type: import("vue").PropType<"search" | "dialog">;
|
|
7857
|
-
default: string;
|
|
7858
|
-
};
|
|
7859
|
-
show: {
|
|
7860
|
-
type: BooleanConstructor;
|
|
7861
|
-
default: boolean;
|
|
7862
|
-
};
|
|
7863
|
-
showAdvancedButton: {
|
|
7864
|
-
type: BooleanConstructor;
|
|
7865
|
-
default: boolean;
|
|
7866
|
-
};
|
|
7867
|
-
minShowColumn: {
|
|
7868
|
-
type: NumberConstructor;
|
|
7869
|
-
default: number;
|
|
7870
|
-
};
|
|
7871
|
-
buttonList: {
|
|
7872
|
-
type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
|
|
7873
|
-
default: any[];
|
|
7874
|
-
};
|
|
7875
|
-
isAdvanced: {
|
|
7876
|
-
type: BooleanConstructor;
|
|
7877
|
-
default: boolean;
|
|
7878
|
-
};
|
|
7879
|
-
}, {
|
|
7880
|
-
props: any;
|
|
7881
|
-
emits: (event: "handle-method", ...args: any[]) => void;
|
|
7882
|
-
t: {
|
|
7883
|
-
(key: string): string;
|
|
7884
|
-
(key: string, locale: string): string;
|
|
7885
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
7886
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
7887
|
-
(key: string, list: unknown[]): string;
|
|
7888
|
-
(key: string, named: Record<string, unknown>): string;
|
|
7889
|
-
};
|
|
7890
|
-
advancedRef: import("vue").Ref<{
|
|
7891
|
-
valueOf: () => boolean;
|
|
7892
|
-
}>;
|
|
7893
|
-
key: number;
|
|
7894
|
-
showAdvanceRef: import("vue").ComputedRef<boolean>;
|
|
7895
|
-
colOpt: import("vue").ComputedRef<{
|
|
7896
|
-
style: import("@dt-frames/core").Recordable<any>;
|
|
7897
|
-
}>;
|
|
7898
|
-
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
7899
|
-
'basic-arrow--active': boolean;
|
|
7900
|
-
})[]>;
|
|
7901
|
-
toggleAdvanced: () => void;
|
|
7902
|
-
handleBtnClick: (button: import("../form/src/types/form.type").ButtonProps) => void;
|
|
7903
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handle-method"[], "handle-method", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7904
|
-
mode: {
|
|
7905
|
-
type: import("vue").PropType<"search" | "dialog">;
|
|
7906
|
-
default: string;
|
|
7907
|
-
};
|
|
7908
|
-
show: {
|
|
7909
|
-
type: BooleanConstructor;
|
|
7910
|
-
default: boolean;
|
|
7911
|
-
};
|
|
7912
|
-
showAdvancedButton: {
|
|
7913
|
-
type: BooleanConstructor;
|
|
7914
|
-
default: boolean;
|
|
7915
|
-
};
|
|
7916
|
-
minShowColumn: {
|
|
7917
|
-
type: NumberConstructor;
|
|
7918
|
-
default: number;
|
|
7919
|
-
};
|
|
7920
|
-
buttonList: {
|
|
7921
|
-
type: import("vue").PropType<import("../form/src/types/form.type").ButtonProps[]>;
|
|
7922
|
-
default: any[];
|
|
7923
|
-
};
|
|
7924
|
-
isAdvanced: {
|
|
7925
|
-
type: BooleanConstructor;
|
|
7926
|
-
default: boolean;
|
|
7927
|
-
};
|
|
7928
|
-
}>> & {
|
|
7929
|
-
"onHandle-method"?: (...args: any[]) => any;
|
|
7930
|
-
}, {
|
|
7931
|
-
mode: "search" | "dialog";
|
|
7932
|
-
show: boolean;
|
|
7933
|
-
showAdvancedButton: boolean;
|
|
7934
|
-
minShowColumn: number;
|
|
7935
|
-
buttonList: import("../form/src/types/form.type").ButtonProps[];
|
|
7936
|
-
isAdvanced: boolean;
|
|
7937
|
-
}>;
|
|
7778
|
+
buttonList: import("vue").ComputedRef<import("../form").ButtonProps[]>;
|
|
7779
|
+
handleMethod: (item: import("../form").ButtonProps) => void;
|
|
7780
|
+
readonly DtFormButtons: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
7938
7781
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7939
|
-
buttons: import("vue").PropType<import("../form
|
|
7782
|
+
buttons: import("vue").PropType<import("../form").ButtonProps[]>;
|
|
7940
7783
|
showSave: {
|
|
7941
7784
|
type: BooleanConstructor;
|
|
7942
7785
|
default: boolean;
|
|
@@ -8016,7 +7859,7 @@ declare const DtDrawer: import('../../utils/withInstall').SFCWithInstall<import(
|
|
|
8016
7859
|
type: StringConstructor;
|
|
8017
7860
|
};
|
|
8018
7861
|
footer: {
|
|
8019
|
-
type: import("vue").PropType<import("../form
|
|
7862
|
+
type: import("vue").PropType<import("../form").ButtonProps[]>;
|
|
8020
7863
|
};
|
|
8021
7864
|
afterClose: FunctionConstructor;
|
|
8022
7865
|
}>> & {
|