@dt-frames/ui 2.0.9 → 2.0.11
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/index.js +6 -2973
- package/es/components/curd/src/components/Curd.d.ts +13 -881
- package/es/components/curd/src/hooks/useCurd.d.ts +3 -3
- package/es/components/curd/src/props.d.ts +3 -4
- package/es/components/curd/src/types/curd.type.d.ts +2 -2
- package/es/components/drawer/index.d.ts +9 -166
- package/es/components/drawer/index.js +20 -458
- package/es/components/drawer/src/components/DrawerFooter.d.ts +1 -84
- package/es/components/drawer/src/index.d.ts +9 -166
- package/es/components/drawer/src/types/index.type.d.ts +1 -1
- package/es/components/form/index.d.ts +5 -1
- package/es/components/form/index.js +97 -491
- package/es/components/form/index.less +18 -0
- package/es/components/form/src/components/FormButtons.d.ts +13 -3
- package/es/components/form/src/components/FormItem.d.ts +0 -1
- package/es/components/form/src/components/formIcon.d.ts +3 -3
- package/es/components/form/src/components/formInputUseDialog.d.ts +2 -2
- package/es/components/form/src/hooks/useLabelWidth.d.ts +2 -18
- package/es/components/form/src/props.d.ts +3 -4
- package/es/components/form/src/types/form.type.d.ts +5 -3
- package/es/components/form/src/types/items.type.d.ts +12 -5
- package/es/components/modal/index.d.ts +2 -1
- package/es/components/modal/index.js +19 -456
- package/es/components/modal/src/components/Modal.d.ts +2 -2
- package/es/components/modal/src/components/ModalFooter.d.ts +2 -85
- package/es/components/modal/src/components/ModalWrap.d.ts +1 -75
- package/es/components/modal/src/index.d.ts +14 -171
- package/es/components/modal/src/props.d.ts +2 -1
- package/es/components/table/index.js +47 -1849
- package/es/components/table/index.less +3 -3
- 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 -867
- package/es/components/table/src/index.d.ts +10 -10
- package/es/components/tree/index.js +29 -39
- 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 +16 -0
- package/es/components/upload/index.less +0 -0
- package/es/components/upload/src/index.d.ts +2 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +11 -4
- package/es/theme/index.less +1 -0
- package/es/theme/src/components/header/components/size.d.ts +5 -5
- package/es/theme/src/components/header/index.d.ts +5 -5
- package/es/theme/src/components/header/multiple-header.d.ts +5 -5
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +10 -10
- package/es/theme/transition.less +105 -0
- package/index.js +21 -1
- package/manualContentPath.js +110 -0
- package/package.json +5 -2
- package/vite.config.ts +16 -4
- package/vite.config.ts.timestamp-1678694558071.mjs +59 -0
- package/vite.config.ts.timestamp-1678700851971.mjs +61 -0
- 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
|
@@ -58,7 +58,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
58
|
type: StringConstructor;
|
|
59
59
|
};
|
|
60
60
|
footer: {
|
|
61
|
-
type: import("vue").PropType<import("../../form
|
|
61
|
+
type: import("vue").PropType<import("../../form").ButtonProps[]>;
|
|
62
62
|
};
|
|
63
63
|
afterClose: FunctionConstructor;
|
|
64
64
|
}, {
|
|
@@ -7712,7 +7712,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7712
7712
|
t?: string;
|
|
7713
7713
|
label: string;
|
|
7714
7714
|
color?: "" | "error" | "warning" | "success";
|
|
7715
|
-
type?: "default" | "
|
|
7715
|
+
type?: "default" | "dashed" | "text" | "primary" | "ghost" | "link";
|
|
7716
7716
|
class?: string;
|
|
7717
7717
|
disabled?: boolean;
|
|
7718
7718
|
show?: boolean;
|
|
@@ -7739,81 +7739,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7739
7739
|
setDrawerProps: (props: Partial<DrawerProps>) => void;
|
|
7740
7740
|
drawerMethods: DrawerMethods;
|
|
7741
7741
|
instance: import("vue").ComponentInternalInstance;
|
|
7742
|
-
readonly DtScrollContainer: import("../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
7743
|
-
scrollbarRef: any;
|
|
7744
|
-
scrollTo: (to: number, duration?: number) => void;
|
|
7745
|
-
getScrollWrap: () => any;
|
|
7746
|
-
scrollBottom: () => void;
|
|
7747
|
-
ScrollBar: import("vue").DefineComponent<{
|
|
7748
|
-
wrapClass: {
|
|
7749
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7750
|
-
default: string;
|
|
7751
|
-
};
|
|
7752
|
-
wrapStyle: ArrayConstructor;
|
|
7753
|
-
viewClass: {
|
|
7754
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7755
|
-
default: string;
|
|
7756
|
-
};
|
|
7757
|
-
viewStyle: {
|
|
7758
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7759
|
-
default: string;
|
|
7760
|
-
};
|
|
7761
|
-
noresize: BooleanConstructor;
|
|
7762
|
-
tag: {
|
|
7763
|
-
type: StringConstructor;
|
|
7764
|
-
default: string;
|
|
7765
|
-
};
|
|
7766
|
-
}, {
|
|
7767
|
-
sizeWidth: import("vue").Ref<string>;
|
|
7768
|
-
sizeHeight: import("vue").Ref<string>;
|
|
7769
|
-
moveX: import("vue").Ref<number>;
|
|
7770
|
-
moveY: import("vue").Ref<number>;
|
|
7771
|
-
wrap: import("vue").Ref<any>;
|
|
7772
|
-
resize: import("vue").Ref<any>;
|
|
7773
|
-
props: any;
|
|
7774
|
-
style: import("vue").ComputedRef<{}>;
|
|
7775
|
-
handleScroll: () => void;
|
|
7776
|
-
update: () => void;
|
|
7777
|
-
readonly Bar: import("vue").DefineComponent<{
|
|
7778
|
-
vertical: BooleanConstructor;
|
|
7779
|
-
size: StringConstructor;
|
|
7780
|
-
move: NumberConstructor;
|
|
7781
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7782
|
-
[key: string]: any;
|
|
7783
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7784
|
-
vertical: BooleanConstructor;
|
|
7785
|
-
size: StringConstructor;
|
|
7786
|
-
move: NumberConstructor;
|
|
7787
|
-
}>>, {
|
|
7788
|
-
vertical: boolean;
|
|
7789
|
-
}>;
|
|
7790
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7791
|
-
wrapClass: {
|
|
7792
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7793
|
-
default: string;
|
|
7794
|
-
};
|
|
7795
|
-
wrapStyle: ArrayConstructor;
|
|
7796
|
-
viewClass: {
|
|
7797
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7798
|
-
default: string;
|
|
7799
|
-
};
|
|
7800
|
-
viewStyle: {
|
|
7801
|
-
type: (StringConstructor | ArrayConstructor)[];
|
|
7802
|
-
default: string;
|
|
7803
|
-
};
|
|
7804
|
-
noresize: BooleanConstructor;
|
|
7805
|
-
tag: {
|
|
7806
|
-
type: StringConstructor;
|
|
7807
|
-
default: string;
|
|
7808
|
-
};
|
|
7809
|
-
}>>, {
|
|
7810
|
-
wrapClass: string | unknown[];
|
|
7811
|
-
viewClass: string | unknown[];
|
|
7812
|
-
viewStyle: string | unknown[];
|
|
7813
|
-
noresize: boolean;
|
|
7814
|
-
tag: string;
|
|
7815
|
-
}>;
|
|
7816
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
7742
|
+
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<{}>>, {}>>;
|
|
7817
7743
|
DrawerHeader: import("vue").DefineComponent<{
|
|
7818
7744
|
title: {
|
|
7819
7745
|
type: import("vue").PropType<String | import("vue").ComputedRef<String>>;
|
|
@@ -7824,7 +7750,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7824
7750
|
};
|
|
7825
7751
|
}>>, {}>;
|
|
7826
7752
|
DrawerFooter: import("vue").DefineComponent<{
|
|
7827
|
-
buttons: import("vue").PropType<import("../../form
|
|
7753
|
+
buttons: import("vue").PropType<import("../../form").ButtonProps[]>;
|
|
7828
7754
|
showSave: {
|
|
7829
7755
|
type: BooleanConstructor;
|
|
7830
7756
|
default: boolean;
|
|
@@ -7850,94 +7776,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7850
7776
|
};
|
|
7851
7777
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
7852
7778
|
props: any;
|
|
7853
|
-
buttonList: import("vue").ComputedRef<import("../../form
|
|
7854
|
-
handleMethod: (item: import("../../form
|
|
7855
|
-
DtFormButtons: import("vue").DefineComponent<{
|
|
7856
|
-
mode: {
|
|
7857
|
-
type: import("vue").PropType<"search" | "dialog">;
|
|
7858
|
-
default: string;
|
|
7859
|
-
};
|
|
7860
|
-
show: {
|
|
7861
|
-
type: BooleanConstructor;
|
|
7862
|
-
default: boolean;
|
|
7863
|
-
};
|
|
7864
|
-
showAdvancedButton: {
|
|
7865
|
-
type: BooleanConstructor;
|
|
7866
|
-
default: boolean;
|
|
7867
|
-
};
|
|
7868
|
-
minShowColumn: {
|
|
7869
|
-
type: NumberConstructor;
|
|
7870
|
-
default: number;
|
|
7871
|
-
};
|
|
7872
|
-
buttonList: {
|
|
7873
|
-
type: import("vue").PropType<import("../../form/src/types/form.type").ButtonProps[]>;
|
|
7874
|
-
default: any[];
|
|
7875
|
-
};
|
|
7876
|
-
isAdvanced: {
|
|
7877
|
-
type: BooleanConstructor;
|
|
7878
|
-
default: boolean;
|
|
7879
|
-
};
|
|
7880
|
-
}, {
|
|
7881
|
-
props: any;
|
|
7882
|
-
emits: (event: "handle-method", ...args: any[]) => void;
|
|
7883
|
-
t: {
|
|
7884
|
-
(key: string): string;
|
|
7885
|
-
(key: string, locale: string): string;
|
|
7886
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
7887
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
7888
|
-
(key: string, list: unknown[]): string;
|
|
7889
|
-
(key: string, named: Record<string, unknown>): string;
|
|
7890
|
-
};
|
|
7891
|
-
advancedRef: import("vue").Ref<{
|
|
7892
|
-
valueOf: () => boolean;
|
|
7893
|
-
}>;
|
|
7894
|
-
key: number;
|
|
7895
|
-
showAdvanceRef: import("vue").ComputedRef<boolean>;
|
|
7896
|
-
colOpt: import("vue").ComputedRef<{
|
|
7897
|
-
style: import("@dt-frames/core").Recordable<any>;
|
|
7898
|
-
}>;
|
|
7899
|
-
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
7900
|
-
'basic-arrow--active': boolean;
|
|
7901
|
-
})[]>;
|
|
7902
|
-
toggleAdvanced: () => void;
|
|
7903
|
-
handleBtnClick: (button: import("../../form/src/types/form.type").ButtonProps) => void;
|
|
7904
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "handle-method"[], "handle-method", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7905
|
-
mode: {
|
|
7906
|
-
type: import("vue").PropType<"search" | "dialog">;
|
|
7907
|
-
default: string;
|
|
7908
|
-
};
|
|
7909
|
-
show: {
|
|
7910
|
-
type: BooleanConstructor;
|
|
7911
|
-
default: boolean;
|
|
7912
|
-
};
|
|
7913
|
-
showAdvancedButton: {
|
|
7914
|
-
type: BooleanConstructor;
|
|
7915
|
-
default: boolean;
|
|
7916
|
-
};
|
|
7917
|
-
minShowColumn: {
|
|
7918
|
-
type: NumberConstructor;
|
|
7919
|
-
default: number;
|
|
7920
|
-
};
|
|
7921
|
-
buttonList: {
|
|
7922
|
-
type: import("vue").PropType<import("../../form/src/types/form.type").ButtonProps[]>;
|
|
7923
|
-
default: any[];
|
|
7924
|
-
};
|
|
7925
|
-
isAdvanced: {
|
|
7926
|
-
type: BooleanConstructor;
|
|
7927
|
-
default: boolean;
|
|
7928
|
-
};
|
|
7929
|
-
}>> & {
|
|
7930
|
-
"onHandle-method"?: (...args: any[]) => any;
|
|
7931
|
-
}, {
|
|
7932
|
-
mode: "search" | "dialog";
|
|
7933
|
-
show: boolean;
|
|
7934
|
-
showAdvancedButton: boolean;
|
|
7935
|
-
minShowColumn: number;
|
|
7936
|
-
buttonList: import("../../form/src/types/form.type").ButtonProps[];
|
|
7937
|
-
isAdvanced: boolean;
|
|
7938
|
-
}>;
|
|
7779
|
+
buttonList: import("vue").ComputedRef<import("../../form").ButtonProps[]>;
|
|
7780
|
+
handleMethod: (item: import("../../form").ButtonProps) => void;
|
|
7781
|
+
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<{}>>, {}>;
|
|
7939
7782
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("handleSave" | "handleCancel")[], "handleSave" | "handleCancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7940
|
-
buttons: import("vue").PropType<import("../../form
|
|
7783
|
+
buttons: import("vue").PropType<import("../../form").ButtonProps[]>;
|
|
7941
7784
|
showSave: {
|
|
7942
7785
|
type: BooleanConstructor;
|
|
7943
7786
|
default: boolean;
|
|
@@ -8017,7 +7860,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
8017
7860
|
type: StringConstructor;
|
|
8018
7861
|
};
|
|
8019
7862
|
footer: {
|
|
8020
|
-
type: import("vue").PropType<import("../../form
|
|
7863
|
+
type: import("vue").PropType<import("../../form").ButtonProps[]>;
|
|
8021
7864
|
};
|
|
8022
7865
|
afterClose: FunctionConstructor;
|
|
8023
7866
|
}>> & {
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import DtForm from "./src/index";
|
|
2
2
|
import { useForm } from './src/hooks/useForm';
|
|
3
|
-
|
|
3
|
+
import { FormActionType } from './src/types/actions.type';
|
|
4
|
+
import { DtFormButtons } from './src/components';
|
|
5
|
+
import { ButtonProps } from './src/types/form.type';
|
|
6
|
+
export { DtFormButtons, DtForm, useForm };
|
|
7
|
+
export type { FormActionType, ButtonProps };
|