@dt-frames/ui 2.0.15 → 2.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/assets/imgs/tree/forder-open.svg +1 -0
- package/es/assets/imgs/tree/forder.svg +1 -0
- package/es/assets/locales/zh.ts +1 -1
- package/es/components/curd/index.js +28 -8
- package/es/components/curd/src/components/Curd.d.ts +10 -0
- package/es/components/curd/src/hooks/useCurd.d.ts +2 -4
- package/es/components/curd/src/props.d.ts +5 -1
- package/es/components/drawer/index.js +25 -24
- package/es/components/form/index.js +50 -37
- package/es/components/form/index.less +16 -0
- package/es/components/form/src/props.d.ts +1 -1
- package/es/components/modal/index.js +8 -143
- package/es/components/modal/index.less +23 -0
- package/es/components/modal/src/index.d.ts +2 -84
- package/es/components/table/index.js +2 -2
- package/es/components/tree/index.js +197 -93
- package/es/components/tree/index.less +75 -13
- package/es/components/tree/src/basicProps.d.ts +46 -7
- package/es/components/tree/src/components/TreeHeader.d.ts +2 -2
- package/es/components/tree/src/hooks/useTree.d.ts +3 -2
- package/es/components/tree/src/index.d.ts +120 -29
- package/es/components/upload/index.js +28 -20
- package/es/components/upload/index.less +10 -1
- package/es/components/upload/src/index.d.ts +1 -1
- package/es/components/upload/src/utils/upload.d.ts +1 -1
- package/es/theme/index.js +307 -307
- 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/index.d.ts +10 -10
- package/manualContentPath.js +10 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/es/packages/ui/src/assets/locales/en.d.ts +0 -103
- package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
- package/es/packages/ui/src/assets/locales/zh.d.ts +0 -104
- package/es/packages/ui/src/components/form/index.d.ts +0 -7
- package/es/packages/ui/src/components/form/src/components/FormButtons.d.ts +0 -105
- package/es/packages/ui/src/components/form/src/components/FormItem.d.ts +0 -159
- package/es/packages/ui/src/components/form/src/components/componentMap.d.ts +0 -4
- package/es/packages/ui/src/components/form/src/components/formIcon.d.ts +0 -1223
- package/es/packages/ui/src/components/form/src/components/formInputUseDialog.d.ts +0 -911
- package/es/packages/ui/src/components/form/src/components/index.d.ts +0 -4
- package/es/packages/ui/src/components/form/src/components/radioButton.d.ts +0 -34
- package/es/packages/ui/src/components/form/src/enums/index.d.ts +0 -7
- package/es/packages/ui/src/components/form/src/hooks/helper.d.ts +0 -14
- package/es/packages/ui/src/components/form/src/hooks/useForm.d.ts +0 -6
- package/es/packages/ui/src/components/form/src/hooks/useFormActions.d.ts +0 -12
- package/es/packages/ui/src/components/form/src/hooks/useFormEvent.d.ts +0 -25
- package/es/packages/ui/src/components/form/src/hooks/useFormValue.d.ts +0 -3
- package/es/packages/ui/src/components/form/src/hooks/useFormValues.d.ts +0 -11
- package/es/packages/ui/src/components/form/src/hooks/useLabelWidth.d.ts +0 -6
- package/es/packages/ui/src/components/form/src/props.d.ts +0 -127
- package/es/packages/ui/src/components/form/src/types/actions.type.d.ts +0 -15
- package/es/packages/ui/src/components/form/src/types/form.type.d.ts +0 -79
- package/es/packages/ui/src/components/form/src/types/items.type.d.ts +0 -409
- package/es/packages/ui/src/components/iframe/index.d.ts +0 -2
- package/es/packages/ui/src/components/modal/index.d.ts +0 -4
- package/es/packages/ui/src/components/modal/src/hooks/useModal.d.ts +0 -5
- package/es/packages/ui/src/components/modal/src/props.d.ts +0 -101
- package/es/packages/ui/src/components/modal/src/types/modal.type.d.ts +0 -17
- package/es/packages/ui/src/components/upload/index.d.ts +0 -4
- package/es/packages/ui/src/components/upload/src/basicProps.d.ts +0 -87
- package/es/packages/ui/src/components/upload/src/components/PdfView.d.ts +0 -9
- package/es/packages/ui/src/components/upload/src/components/WordView.d.ts +0 -6
- package/es/packages/ui/src/components/upload/src/hooks/useFile.d.ts +0 -16
- package/es/packages/ui/src/components/upload/src/index.d.ts +0 -242
- package/es/packages/ui/src/components/upload/src/type/file.d.ts +0 -10
- package/es/packages/ui/src/components/upload/src/utils/upload.d.ts +0 -2
- package/es/packages/ui/src/global.d.ts +0 -7
- package/es/packages/ui/src/theme/index.d.ts +0 -12
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
- package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
- package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -25
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -19
- package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
- package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { PropType, Ref } from 'vue';
|
|
2
|
-
import { Recordable } from '@dt-frames/core';
|
|
3
|
-
import { FormActionType } from '../types/actions.type';
|
|
4
|
-
import { FormSchema } from '../types/form.type';
|
|
5
|
-
declare const _sfc_main: {
|
|
6
|
-
name: string;
|
|
7
|
-
inheritAttrs: boolean;
|
|
8
|
-
props: {
|
|
9
|
-
schema: {
|
|
10
|
-
type: PropType<FormSchema>;
|
|
11
|
-
default: () => {};
|
|
12
|
-
};
|
|
13
|
-
formProps: {
|
|
14
|
-
type: PropType<Partial<import("vue").ExtractPropTypes<{
|
|
15
|
-
mode: {
|
|
16
|
-
type: PropType<"search" | "dialog">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
autoFetch: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
model: {
|
|
24
|
-
type: PropType<Recordable<any>>;
|
|
25
|
-
default: () => {};
|
|
26
|
-
};
|
|
27
|
-
layout: {
|
|
28
|
-
type: PropType<"vertical" | "inline" | "horizontal">;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
labelWidth: {
|
|
32
|
-
type: PropType<string | number>;
|
|
33
|
-
default: number;
|
|
34
|
-
};
|
|
35
|
-
enLabelWidth: {
|
|
36
|
-
type: PropType<string | number>;
|
|
37
|
-
default: number;
|
|
38
|
-
};
|
|
39
|
-
labelAlign: {
|
|
40
|
-
type: PropType<"left" | "right">;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
labelCol: {
|
|
44
|
-
type: PropType<Partial<import("../types/form.type").ColEx>>;
|
|
45
|
-
default: () => {};
|
|
46
|
-
};
|
|
47
|
-
wrapperCol: {
|
|
48
|
-
type: PropType<Partial<import("../types/form.type").ColEx>>;
|
|
49
|
-
default: () => {};
|
|
50
|
-
};
|
|
51
|
-
rowProps: {
|
|
52
|
-
type: PropType<Partial<import("vue").ExtractPropTypes<{
|
|
53
|
-
align: PropType<"stretch" | "bottom" | "top" | "middle">;
|
|
54
|
-
justify: PropType<"space-around" | "space-between" | "center" | "end" | "start">;
|
|
55
|
-
prefixCls: StringConstructor;
|
|
56
|
-
gutter: {
|
|
57
|
-
type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
|
|
58
|
-
default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
|
|
59
|
-
};
|
|
60
|
-
wrap: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: any;
|
|
63
|
-
};
|
|
64
|
-
}>>>;
|
|
65
|
-
default: () => {};
|
|
66
|
-
};
|
|
67
|
-
colProps: {
|
|
68
|
-
type: PropType<Partial<import("../types/form.type").ColEx>>;
|
|
69
|
-
};
|
|
70
|
-
span: {
|
|
71
|
-
type: NumberConstructor;
|
|
72
|
-
};
|
|
73
|
-
size: {
|
|
74
|
-
type: PropType<"middle" | "small" | "large">;
|
|
75
|
-
};
|
|
76
|
-
disabled: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
compact: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: any;
|
|
83
|
-
};
|
|
84
|
-
schemas: {
|
|
85
|
-
type: PropType<FormSchema[]>;
|
|
86
|
-
default: () => any[];
|
|
87
|
-
};
|
|
88
|
-
autoSearchOnEnter: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
minShowColumn: {
|
|
93
|
-
type: NumberConstructor;
|
|
94
|
-
default: number;
|
|
95
|
-
};
|
|
96
|
-
showAdvancedButton: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
allowClear: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: boolean;
|
|
103
|
-
};
|
|
104
|
-
scrollToFirstError: {
|
|
105
|
-
type: BooleanConstructor;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
colon: {
|
|
109
|
-
type: BooleanConstructor;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
loading: {
|
|
113
|
-
type: PropType<{
|
|
114
|
-
[key: string]: Ref<boolean>;
|
|
115
|
-
}>;
|
|
116
|
-
default: () => {};
|
|
117
|
-
};
|
|
118
|
-
onSearch: {
|
|
119
|
-
type: PropType<(params: Recordable<any>) => void>;
|
|
120
|
-
default: (params: Recordable<any>) => void;
|
|
121
|
-
};
|
|
122
|
-
onReset: {
|
|
123
|
-
type: PropType<(params: Recordable<any>) => void>;
|
|
124
|
-
default: (params: Recordable<any>) => void;
|
|
125
|
-
};
|
|
126
|
-
buttons: {
|
|
127
|
-
type: PropType<boolean | import("../types/form.type").ButtonProps[]>;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
130
|
-
resetFunc: {
|
|
131
|
-
type: PropType<() => void>;
|
|
132
|
-
};
|
|
133
|
-
registerInstance: {
|
|
134
|
-
type: PropType<(instance: FormActionType) => void>;
|
|
135
|
-
};
|
|
136
|
-
}>>>;
|
|
137
|
-
default: () => {};
|
|
138
|
-
};
|
|
139
|
-
defaultValues: {
|
|
140
|
-
type: PropType<Recordable<any>>;
|
|
141
|
-
default: () => {};
|
|
142
|
-
};
|
|
143
|
-
formModel: {
|
|
144
|
-
type: PropType<Recordable<any>>;
|
|
145
|
-
default: () => {};
|
|
146
|
-
};
|
|
147
|
-
setFormModel: {
|
|
148
|
-
type: PropType<(key: string, value: any) => void>;
|
|
149
|
-
};
|
|
150
|
-
formActionType: {
|
|
151
|
-
type: PropType<FormActionType>;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
setup(props: any, { emit, slots }: {
|
|
155
|
-
emit: any;
|
|
156
|
-
slots: any;
|
|
157
|
-
}): () => JSX.Element;
|
|
158
|
-
};
|
|
159
|
-
export default _sfc_main;
|