@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
|
@@ -410,7 +410,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
410
410
|
inputPrefixCls: StringConstructor;
|
|
411
411
|
enterButton: import("vue-types").VueTypeValidableDef<any>;
|
|
412
412
|
onSearch: {
|
|
413
|
-
type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent |
|
|
413
|
+
type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
|
|
414
414
|
};
|
|
415
415
|
id: StringConstructor;
|
|
416
416
|
prefixCls: StringConstructor;
|
|
@@ -482,7 +482,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
482
482
|
inputPrefixCls: StringConstructor;
|
|
483
483
|
enterButton: import("vue-types").VueTypeValidableDef<any>;
|
|
484
484
|
onSearch: {
|
|
485
|
-
type: import("vue").PropType<(value: string, event?: import("ant-design-vue/lib/_util/EventInterface").ChangeEvent |
|
|
485
|
+
type: import("vue").PropType<(value: string, event?: MouseEvent | import("ant-design-vue/lib/_util/EventInterface").ChangeEvent | KeyboardEvent) => void>;
|
|
486
486
|
};
|
|
487
487
|
id: StringConstructor;
|
|
488
488
|
prefixCls: StringConstructor;
|
|
@@ -16,7 +16,7 @@ export declare const BasicProps: {
|
|
|
16
16
|
default: () => {};
|
|
17
17
|
};
|
|
18
18
|
layout: {
|
|
19
|
-
type: PropType<"
|
|
19
|
+
type: PropType<"inline" | "horizontal" | "vertical">;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
labelWidth: {
|
|
@@ -41,8 +41,8 @@ export declare const BasicProps: {
|
|
|
41
41
|
};
|
|
42
42
|
rowProps: {
|
|
43
43
|
type: PropType<Partial<import("vue").ExtractPropTypes<{
|
|
44
|
-
align: PropType<"
|
|
45
|
-
justify: PropType<"
|
|
44
|
+
align: PropType<"bottom" | "top" | "stretch" | "middle">;
|
|
45
|
+
justify: PropType<"space-around" | "space-between" | "center" | "end" | "start">;
|
|
46
46
|
prefixCls: StringConstructor;
|
|
47
47
|
gutter: {
|
|
48
48
|
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]>;
|
|
@@ -57,10 +57,12 @@ export declare const BasicProps: {
|
|
|
57
57
|
};
|
|
58
58
|
colProps: {
|
|
59
59
|
type: PropType<Partial<ColEx>>;
|
|
60
|
-
|
|
60
|
+
};
|
|
61
|
+
span: {
|
|
62
|
+
type: NumberConstructor;
|
|
61
63
|
};
|
|
62
64
|
size: {
|
|
63
|
-
type: PropType<"
|
|
65
|
+
type: PropType<"large" | "small" | "middle">;
|
|
64
66
|
};
|
|
65
67
|
disabled: {
|
|
66
68
|
type: BooleanConstructor;
|
|
@@ -13,6 +13,8 @@ export declare type ComponentType = 'Input' | 'InputWithDialog' | 'InputGroup' |
|
|
|
13
13
|
export declare type ColEx = {
|
|
14
14
|
style?: any;
|
|
15
15
|
span?: number | string;
|
|
16
|
+
pull?: number;
|
|
17
|
+
push?: number;
|
|
16
18
|
order?: number | string;
|
|
17
19
|
offset?: number | string;
|
|
18
20
|
md?: number | string;
|
|
@@ -43,6 +45,7 @@ declare type Schema<ComponentType, T> = {
|
|
|
43
45
|
render?: (model: Recordable) => VNode | VNode[] | string;
|
|
44
46
|
renderCol?: (model: Recordable) => VNode | VNode[] | string;
|
|
45
47
|
colProps?: Partial<ColEx>;
|
|
48
|
+
span?: number;
|
|
46
49
|
renderComponent?: ((model: Recordable) => Recordable) | VNode | VNode[] | string;
|
|
47
50
|
slot?: string;
|
|
48
51
|
colSlot?: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DtEvent, Recordable, SelectOptions } from "@dt-frames/core";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import { Ref, Slot, VNode, CSSProperties, ComputedRef } from "vue";
|
|
4
|
+
declare type StrOrDynamicStr = string | Ref<string> | ComputedRef<string>;
|
|
4
5
|
declare type BaseInput = {
|
|
5
|
-
placeholder?:
|
|
6
|
+
placeholder?: StrOrDynamicStr;
|
|
6
7
|
addonAfter?: string | VNode;
|
|
7
8
|
addonBefore?: string | VNode;
|
|
8
9
|
allowClear?: boolean;
|
|
@@ -39,6 +40,7 @@ export declare type InputSearch = Input & {
|
|
|
39
40
|
};
|
|
40
41
|
export declare type InputTextArea = Input & {
|
|
41
42
|
autosize?: boolean | object;
|
|
43
|
+
rows?: number;
|
|
42
44
|
onPressEnter?: (e: DtEvent, model: Recordable) => void;
|
|
43
45
|
onChange?: (e: DtEvent, model: Recordable) => void;
|
|
44
46
|
};
|
|
@@ -107,7 +109,7 @@ export declare type Select = {
|
|
|
107
109
|
open?: boolean;
|
|
108
110
|
optionFilterProp?: string;
|
|
109
111
|
options?: SelectOptions[] | ComputedRef<SelectOptions[]> | Ref<SelectOptions[]>;
|
|
110
|
-
placeholder?:
|
|
112
|
+
placeholder?: StrOrDynamicStr;
|
|
111
113
|
removeIcon?: VNode | Slot;
|
|
112
114
|
searchValue?: string;
|
|
113
115
|
showArrow?: boolean;
|
|
@@ -155,7 +157,7 @@ export declare type TreeSelect = {
|
|
|
155
157
|
listHeight?: number;
|
|
156
158
|
maxTagCount?: number;
|
|
157
159
|
multiple?: boolean;
|
|
158
|
-
placeholder?:
|
|
160
|
+
placeholder?: StrOrDynamicStr;
|
|
159
161
|
replaceFields?: {
|
|
160
162
|
children?: string;
|
|
161
163
|
label?: string;
|
|
@@ -282,7 +284,7 @@ declare type BaseDatepicker = {
|
|
|
282
284
|
mode?: 'time' | 'date' | 'month' | 'year' | 'decade';
|
|
283
285
|
open?: boolean | Ref<boolean>;
|
|
284
286
|
picker?: 'date' | 'week' | 'month' | 'quarter' | 'year';
|
|
285
|
-
placeholder?:
|
|
287
|
+
placeholder?: StrOrDynamicStr;
|
|
286
288
|
popupStyle?: CSSProperties;
|
|
287
289
|
size?: 'large' | 'middle' | 'small';
|
|
288
290
|
onOpenChange?: (status: boolean, model: Recordable) => void;
|