@dt-frames/ui 2.0.2 → 2.0.4
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/locales/en.ts +1 -1
- package/es/components/container/index.d.ts +4 -3
- package/es/components/container/index.js +24 -22
- package/es/components/container/src/slot-container.d.ts +5 -3
- package/es/components/curd/index.js +261 -229
- package/es/components/curd/src/components/Curd.d.ts +126 -331
- package/es/components/curd/src/props.d.ts +14 -15
- package/es/components/drawer/index.d.ts +3 -5
- package/es/components/drawer/index.js +55 -54
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +4 -7
- package/es/components/form/index.d.ts +213 -361
- package/es/components/form/index.js +210 -163
- package/es/components/form/index.less +206 -8
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +152 -304
- package/es/components/form/src/components/formIcon.d.ts +4 -4
- package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +199 -347
- package/es/components/form/src/props.d.ts +8 -12
- package/es/components/form/src/types/form.type.d.ts +2 -2
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/index.less +5 -0
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +76 -74
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +116 -223
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +66 -27
- package/es/components/source/types/source.type.d.ts +4 -8
- package/es/components/table/index.js +452 -820
- package/es/components/table/index.less +50 -14
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/TableHeader.d.ts +109 -216
- package/es/components/table/src/components/TableRender.d.ts +13 -9
- package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
- package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
- package/es/components/table/src/hooks/usePagination.d.ts +3 -118
- package/es/components/table/src/index.d.ts +99 -435
- package/es/components/table/src/props.d.ts +19 -74
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +13 -8
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +688 -453
- package/es/theme/index.less +150 -0
- package/es/theme/src/components/header/components/logo.d.ts +0 -1
- package/es/theme/src/components/header/components/notify.d.ts +4 -3
- package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
- package/es/theme/src/components/header/components/user-info.d.ts +4 -3
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +8 -7
- package/es/theme/src/components/header/multiple-header.d.ts +22 -25
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +147 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +4 -2
- package/es/theme/src/index.d.ts +166 -23
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +2 -1
- package/package.json +3 -4
- package/vite.config.ts +0 -27
|
@@ -12,10 +12,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
};
|
|
13
13
|
model: {
|
|
14
14
|
type: import("vue").PropType<Recordable<any>>;
|
|
15
|
-
default: {};
|
|
15
|
+
default: () => {};
|
|
16
16
|
};
|
|
17
17
|
layout: {
|
|
18
|
-
type: import("vue").PropType<"vertical" | "
|
|
18
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
labelWidth: {
|
|
@@ -32,11 +32,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
32
32
|
};
|
|
33
33
|
labelCol: {
|
|
34
34
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
35
|
-
default: () =>
|
|
35
|
+
default: () => {};
|
|
36
36
|
};
|
|
37
37
|
wrapperCol: {
|
|
38
38
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
39
|
-
default: () =>
|
|
39
|
+
default: () => {};
|
|
40
40
|
};
|
|
41
41
|
rowProps: {
|
|
42
42
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -52,14 +52,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
52
52
|
default: any;
|
|
53
53
|
};
|
|
54
54
|
}>>>;
|
|
55
|
-
default: () =>
|
|
55
|
+
default: () => {};
|
|
56
56
|
};
|
|
57
57
|
colProps: {
|
|
58
58
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
59
|
-
default: () =>
|
|
59
|
+
default: () => {};
|
|
60
60
|
};
|
|
61
61
|
size: {
|
|
62
|
-
type: import("vue").PropType<"
|
|
62
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
63
63
|
default: string;
|
|
64
64
|
};
|
|
65
65
|
disabled: {
|
|
@@ -148,10 +148,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
148
148
|
};
|
|
149
149
|
model: {
|
|
150
150
|
type: import("vue").PropType<Recordable<any>>;
|
|
151
|
-
default: {};
|
|
151
|
+
default: () => {};
|
|
152
152
|
};
|
|
153
153
|
layout: {
|
|
154
|
-
type: import("vue").PropType<"vertical" | "
|
|
154
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
155
155
|
default: string;
|
|
156
156
|
};
|
|
157
157
|
labelWidth: {
|
|
@@ -168,11 +168,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
168
168
|
};
|
|
169
169
|
labelCol: {
|
|
170
170
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
171
|
-
default: () =>
|
|
171
|
+
default: () => {};
|
|
172
172
|
};
|
|
173
173
|
wrapperCol: {
|
|
174
174
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
175
|
-
default: () =>
|
|
175
|
+
default: () => {};
|
|
176
176
|
};
|
|
177
177
|
rowProps: {
|
|
178
178
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -188,14 +188,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
188
188
|
default: any;
|
|
189
189
|
};
|
|
190
190
|
}>>>;
|
|
191
|
-
default: () =>
|
|
191
|
+
default: () => {};
|
|
192
192
|
};
|
|
193
193
|
colProps: {
|
|
194
194
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
195
|
-
default: () =>
|
|
195
|
+
default: () => {};
|
|
196
196
|
};
|
|
197
197
|
size: {
|
|
198
|
-
type: import("vue").PropType<"
|
|
198
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
199
199
|
default: string;
|
|
200
200
|
};
|
|
201
201
|
disabled: {
|
|
@@ -290,10 +290,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
290
290
|
};
|
|
291
291
|
model: {
|
|
292
292
|
type: import("vue").PropType<Recordable<any>>;
|
|
293
|
-
default: {};
|
|
293
|
+
default: () => {};
|
|
294
294
|
};
|
|
295
295
|
layout: {
|
|
296
|
-
type: import("vue").PropType<"vertical" | "
|
|
296
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
297
297
|
default: string;
|
|
298
298
|
};
|
|
299
299
|
labelWidth: {
|
|
@@ -310,11 +310,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
310
310
|
};
|
|
311
311
|
labelCol: {
|
|
312
312
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
313
|
-
default: () =>
|
|
313
|
+
default: () => {};
|
|
314
314
|
};
|
|
315
315
|
wrapperCol: {
|
|
316
316
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
317
|
-
default: () =>
|
|
317
|
+
default: () => {};
|
|
318
318
|
};
|
|
319
319
|
rowProps: {
|
|
320
320
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -330,14 +330,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
330
330
|
default: any;
|
|
331
331
|
};
|
|
332
332
|
}>>>;
|
|
333
|
-
default: () =>
|
|
333
|
+
default: () => {};
|
|
334
334
|
};
|
|
335
335
|
colProps: {
|
|
336
336
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
337
|
-
default: () =>
|
|
337
|
+
default: () => {};
|
|
338
338
|
};
|
|
339
339
|
size: {
|
|
340
|
-
type: import("vue").PropType<"
|
|
340
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
341
341
|
default: string;
|
|
342
342
|
};
|
|
343
343
|
disabled: {
|
|
@@ -2193,8 +2193,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2193
2193
|
validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
|
|
2194
2194
|
} | any;
|
|
2195
2195
|
required?: boolean;
|
|
2196
|
-
validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
|
|
2197
2196
|
trigger?: "blur" | "change" | ("blur" | "change")[];
|
|
2197
|
+
validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
|
|
2198
2198
|
transform?: (value: any) => any;
|
|
2199
2199
|
warningOnly?: boolean;
|
|
2200
2200
|
message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -2232,7 +2232,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2232
2232
|
validateTrigger?: string | string[];
|
|
2233
2233
|
};
|
|
2234
2234
|
required?: boolean;
|
|
2235
|
-
validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
|
|
2236
2235
|
trigger?: "blur" | "change" | ("blur" & ["change", "blur"]) | ("change" & ["change", "blur"]) | (("blur" | "change")[] & "blur") | (("blur" | "change")[] & "change") | {
|
|
2237
2236
|
[x: number]: "blur" | "change";
|
|
2238
2237
|
length: 2;
|
|
@@ -2304,6 +2303,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2304
2303
|
0: "change";
|
|
2305
2304
|
1: "blur";
|
|
2306
2305
|
};
|
|
2306
|
+
validator?: (rule: import("ant-design-vue/lib/form").RuleObject, value: any, callback: (error?: string) => void) => void | Promise<void>;
|
|
2307
2307
|
transform?: (value: any) => any;
|
|
2308
2308
|
warningOnly?: boolean;
|
|
2309
2309
|
message?: (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -2405,10 +2405,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2405
2405
|
};
|
|
2406
2406
|
model: {
|
|
2407
2407
|
type: import("vue").PropType<Recordable<any>>;
|
|
2408
|
-
default: {};
|
|
2408
|
+
default: () => {};
|
|
2409
2409
|
};
|
|
2410
2410
|
layout: {
|
|
2411
|
-
type: import("vue").PropType<"vertical" | "
|
|
2411
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
2412
2412
|
default: string;
|
|
2413
2413
|
};
|
|
2414
2414
|
labelWidth: {
|
|
@@ -2425,11 +2425,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2425
2425
|
};
|
|
2426
2426
|
labelCol: {
|
|
2427
2427
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2428
|
-
default: () =>
|
|
2428
|
+
default: () => {};
|
|
2429
2429
|
};
|
|
2430
2430
|
wrapperCol: {
|
|
2431
2431
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2432
|
-
default: () =>
|
|
2432
|
+
default: () => {};
|
|
2433
2433
|
};
|
|
2434
2434
|
rowProps: {
|
|
2435
2435
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2445,14 +2445,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2445
2445
|
default: any;
|
|
2446
2446
|
};
|
|
2447
2447
|
}>>>;
|
|
2448
|
-
default: () =>
|
|
2448
|
+
default: () => {};
|
|
2449
2449
|
};
|
|
2450
2450
|
colProps: {
|
|
2451
2451
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2452
|
-
default: () =>
|
|
2452
|
+
default: () => {};
|
|
2453
2453
|
};
|
|
2454
2454
|
size: {
|
|
2455
|
-
type: import("vue").PropType<"
|
|
2455
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
2456
2456
|
default: string;
|
|
2457
2457
|
};
|
|
2458
2458
|
disabled: {
|
|
@@ -2558,314 +2558,166 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2558
2558
|
};
|
|
2559
2559
|
getActionsProps: import("vue").ComputedRef<Recordable<any>>;
|
|
2560
2560
|
handleMethod: (params: boolean | ButtonProps) => void;
|
|
2561
|
-
readonly DtFormItem:
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
default: boolean;
|
|
2575
|
-
};
|
|
2576
|
-
model: {
|
|
2577
|
-
type: import("vue").PropType<Recordable<any>>;
|
|
2578
|
-
default: {};
|
|
2579
|
-
};
|
|
2580
|
-
layout: {
|
|
2581
|
-
type: import("vue").PropType<"vertical" | "horizontal" | "inline">;
|
|
2582
|
-
default: string;
|
|
2583
|
-
};
|
|
2584
|
-
labelWidth: {
|
|
2585
|
-
type: import("vue").PropType<string | number>;
|
|
2586
|
-
default: number;
|
|
2587
|
-
};
|
|
2588
|
-
enLabelWidth: {
|
|
2589
|
-
type: import("vue").PropType<string | number>;
|
|
2590
|
-
default: number;
|
|
2591
|
-
};
|
|
2592
|
-
labelAlign: {
|
|
2593
|
-
type: import("vue").PropType<"left" | "right">;
|
|
2594
|
-
default: string;
|
|
2595
|
-
};
|
|
2596
|
-
labelCol: {
|
|
2597
|
-
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2598
|
-
default: () => void;
|
|
2599
|
-
};
|
|
2600
|
-
wrapperCol: {
|
|
2601
|
-
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2602
|
-
default: () => void;
|
|
2603
|
-
};
|
|
2604
|
-
rowProps: {
|
|
2605
|
-
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
2606
|
-
align: import("vue").PropType<"stretch" | "bottom" | "top" | "middle">;
|
|
2607
|
-
justify: import("vue").PropType<"space-around" | "space-between" | "center" | "end" | "start">;
|
|
2608
|
-
prefixCls: StringConstructor;
|
|
2609
|
-
gutter: {
|
|
2610
|
-
type: import("vue").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]>;
|
|
2611
|
-
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];
|
|
2612
|
-
};
|
|
2613
|
-
wrap: {
|
|
2614
|
-
type: BooleanConstructor;
|
|
2615
|
-
default: any;
|
|
2616
|
-
};
|
|
2617
|
-
}>>>;
|
|
2618
|
-
default: () => void;
|
|
2619
|
-
};
|
|
2620
|
-
colProps: {
|
|
2621
|
-
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2622
|
-
default: () => void;
|
|
2623
|
-
};
|
|
2624
|
-
size: {
|
|
2625
|
-
type: import("vue").PropType<"small" | "middle" | "large">;
|
|
2626
|
-
default: string;
|
|
2627
|
-
};
|
|
2628
|
-
disabled: {
|
|
2629
|
-
type: BooleanConstructor;
|
|
2630
|
-
default: boolean;
|
|
2631
|
-
};
|
|
2632
|
-
compact: {
|
|
2633
|
-
type: BooleanConstructor;
|
|
2634
|
-
default: any;
|
|
2635
|
-
};
|
|
2636
|
-
schemas: {
|
|
2637
|
-
type: import("vue").PropType<FormSchema[]>;
|
|
2638
|
-
default: () => any[];
|
|
2639
|
-
};
|
|
2640
|
-
autoSearchOnEnter: {
|
|
2641
|
-
type: BooleanConstructor;
|
|
2642
|
-
default: boolean;
|
|
2643
|
-
};
|
|
2644
|
-
alwaysShowLines: {
|
|
2645
|
-
type: BooleanConstructor;
|
|
2646
|
-
default: boolean;
|
|
2647
|
-
};
|
|
2648
|
-
minShowColumn: {
|
|
2649
|
-
type: NumberConstructor;
|
|
2650
|
-
default: number;
|
|
2651
|
-
};
|
|
2652
|
-
showAdvancedButton: {
|
|
2653
|
-
type: BooleanConstructor;
|
|
2654
|
-
default: boolean;
|
|
2655
|
-
};
|
|
2656
|
-
allowClear: {
|
|
2657
|
-
type: BooleanConstructor;
|
|
2658
|
-
default: boolean;
|
|
2659
|
-
};
|
|
2660
|
-
scrollToFirstError: {
|
|
2661
|
-
type: BooleanConstructor;
|
|
2662
|
-
default: boolean;
|
|
2663
|
-
};
|
|
2664
|
-
colon: {
|
|
2665
|
-
type: BooleanConstructor;
|
|
2666
|
-
default: boolean;
|
|
2667
|
-
};
|
|
2668
|
-
loading: {
|
|
2669
|
-
type: import("vue").PropType<{
|
|
2670
|
-
[key: string]: import("vue").Ref<boolean>;
|
|
2671
|
-
}>;
|
|
2672
|
-
default: () => {
|
|
2673
|
-
onSearch: import("vue").Ref<boolean>;
|
|
2674
|
-
onReset: import("vue").Ref<boolean>;
|
|
2561
|
+
readonly DtFormItem: {
|
|
2562
|
+
name: string;
|
|
2563
|
+
inheritAttrs: boolean;
|
|
2564
|
+
props: {
|
|
2565
|
+
schema: {
|
|
2566
|
+
type: import("vue").PropType<FormSchema>;
|
|
2567
|
+
default: () => {};
|
|
2568
|
+
};
|
|
2569
|
+
formProps: {
|
|
2570
|
+
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
2571
|
+
mode: {
|
|
2572
|
+
type: import("vue").PropType<"search" | "dialog">;
|
|
2573
|
+
default: string;
|
|
2675
2574
|
};
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2575
|
+
autoFetch: {
|
|
2576
|
+
type: BooleanConstructor;
|
|
2577
|
+
default: boolean;
|
|
2578
|
+
};
|
|
2579
|
+
model: {
|
|
2580
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
2581
|
+
default: () => {};
|
|
2582
|
+
};
|
|
2583
|
+
layout: {
|
|
2584
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
2585
|
+
default: string;
|
|
2586
|
+
};
|
|
2587
|
+
labelWidth: {
|
|
2588
|
+
type: import("vue").PropType<string | number>;
|
|
2589
|
+
default: number;
|
|
2590
|
+
};
|
|
2591
|
+
enLabelWidth: {
|
|
2592
|
+
type: import("vue").PropType<string | number>;
|
|
2593
|
+
default: number;
|
|
2594
|
+
};
|
|
2595
|
+
labelAlign: {
|
|
2596
|
+
type: import("vue").PropType<"left" | "right">;
|
|
2597
|
+
default: string;
|
|
2598
|
+
};
|
|
2599
|
+
labelCol: {
|
|
2600
|
+
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2601
|
+
default: () => {};
|
|
2602
|
+
};
|
|
2603
|
+
wrapperCol: {
|
|
2604
|
+
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2605
|
+
default: () => {};
|
|
2606
|
+
};
|
|
2607
|
+
rowProps: {
|
|
2608
|
+
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
2609
|
+
align: import("vue").PropType<"stretch" | "bottom" | "top" | "middle">;
|
|
2610
|
+
justify: import("vue").PropType<"space-around" | "space-between" | "center" | "end" | "start">;
|
|
2611
|
+
prefixCls: StringConstructor;
|
|
2612
|
+
gutter: {
|
|
2613
|
+
type: import("vue").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]>;
|
|
2614
|
+
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];
|
|
2615
|
+
};
|
|
2616
|
+
wrap: {
|
|
2617
|
+
type: BooleanConstructor;
|
|
2618
|
+
default: any;
|
|
2619
|
+
};
|
|
2620
|
+
}>>>;
|
|
2621
|
+
default: () => {};
|
|
2622
|
+
};
|
|
2623
|
+
colProps: {
|
|
2624
|
+
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2625
|
+
default: () => {};
|
|
2626
|
+
};
|
|
2627
|
+
size: {
|
|
2628
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
2629
|
+
default: string;
|
|
2630
|
+
};
|
|
2631
|
+
disabled: {
|
|
2632
|
+
type: BooleanConstructor;
|
|
2633
|
+
default: boolean;
|
|
2634
|
+
};
|
|
2635
|
+
compact: {
|
|
2636
|
+
type: BooleanConstructor;
|
|
2637
|
+
default: any;
|
|
2638
|
+
};
|
|
2639
|
+
schemas: {
|
|
2640
|
+
type: import("vue").PropType<FormSchema[]>;
|
|
2641
|
+
default: () => any[];
|
|
2642
|
+
};
|
|
2643
|
+
autoSearchOnEnter: {
|
|
2644
|
+
type: BooleanConstructor;
|
|
2645
|
+
default: boolean;
|
|
2646
|
+
};
|
|
2647
|
+
alwaysShowLines: {
|
|
2648
|
+
type: BooleanConstructor;
|
|
2649
|
+
default: boolean;
|
|
2650
|
+
};
|
|
2651
|
+
minShowColumn: {
|
|
2652
|
+
type: NumberConstructor;
|
|
2653
|
+
default: number;
|
|
2654
|
+
};
|
|
2655
|
+
showAdvancedButton: {
|
|
2656
|
+
type: BooleanConstructor;
|
|
2657
|
+
default: boolean;
|
|
2658
|
+
};
|
|
2659
|
+
allowClear: {
|
|
2660
|
+
type: BooleanConstructor;
|
|
2661
|
+
default: boolean;
|
|
2662
|
+
};
|
|
2663
|
+
scrollToFirstError: {
|
|
2664
|
+
type: BooleanConstructor;
|
|
2665
|
+
default: boolean;
|
|
2666
|
+
};
|
|
2667
|
+
colon: {
|
|
2668
|
+
type: BooleanConstructor;
|
|
2669
|
+
default: boolean;
|
|
2670
|
+
};
|
|
2671
|
+
loading: {
|
|
2672
|
+
type: import("vue").PropType<{
|
|
2673
|
+
[key: string]: import("vue").Ref<boolean>;
|
|
2674
|
+
}>;
|
|
2675
|
+
default: () => {
|
|
2676
|
+
onSearch: import("vue").Ref<boolean>;
|
|
2677
|
+
onReset: import("vue").Ref<boolean>;
|
|
2767
2678
|
};
|
|
2768
|
-
}>>>;
|
|
2769
|
-
default: () => void;
|
|
2770
|
-
};
|
|
2771
|
-
colProps: {
|
|
2772
|
-
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2773
|
-
default: () => void;
|
|
2774
|
-
};
|
|
2775
|
-
size: {
|
|
2776
|
-
type: import("vue").PropType<"small" | "middle" | "large">;
|
|
2777
|
-
default: string;
|
|
2778
|
-
};
|
|
2779
|
-
disabled: {
|
|
2780
|
-
type: BooleanConstructor;
|
|
2781
|
-
default: boolean;
|
|
2782
|
-
};
|
|
2783
|
-
compact: {
|
|
2784
|
-
type: BooleanConstructor;
|
|
2785
|
-
default: any;
|
|
2786
|
-
};
|
|
2787
|
-
schemas: {
|
|
2788
|
-
type: import("vue").PropType<FormSchema[]>;
|
|
2789
|
-
default: () => any[];
|
|
2790
|
-
};
|
|
2791
|
-
autoSearchOnEnter: {
|
|
2792
|
-
type: BooleanConstructor;
|
|
2793
|
-
default: boolean;
|
|
2794
|
-
};
|
|
2795
|
-
alwaysShowLines: {
|
|
2796
|
-
type: BooleanConstructor;
|
|
2797
|
-
default: boolean;
|
|
2798
|
-
};
|
|
2799
|
-
minShowColumn: {
|
|
2800
|
-
type: NumberConstructor;
|
|
2801
|
-
default: number;
|
|
2802
|
-
};
|
|
2803
|
-
showAdvancedButton: {
|
|
2804
|
-
type: BooleanConstructor;
|
|
2805
|
-
default: boolean;
|
|
2806
|
-
};
|
|
2807
|
-
allowClear: {
|
|
2808
|
-
type: BooleanConstructor;
|
|
2809
|
-
default: boolean;
|
|
2810
|
-
};
|
|
2811
|
-
scrollToFirstError: {
|
|
2812
|
-
type: BooleanConstructor;
|
|
2813
|
-
default: boolean;
|
|
2814
|
-
};
|
|
2815
|
-
colon: {
|
|
2816
|
-
type: BooleanConstructor;
|
|
2817
|
-
default: boolean;
|
|
2818
|
-
};
|
|
2819
|
-
loading: {
|
|
2820
|
-
type: import("vue").PropType<{
|
|
2821
|
-
[key: string]: import("vue").Ref<boolean>;
|
|
2822
|
-
}>;
|
|
2823
|
-
default: () => {
|
|
2824
|
-
onSearch: import("vue").Ref<boolean>;
|
|
2825
|
-
onReset: import("vue").Ref<boolean>;
|
|
2826
2679
|
};
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2680
|
+
onSearch: {
|
|
2681
|
+
type: import("vue").PropType<(params: Recordable<any>) => void>;
|
|
2682
|
+
default: (params: Recordable<any>) => void;
|
|
2683
|
+
};
|
|
2684
|
+
onReset: {
|
|
2685
|
+
type: import("vue").PropType<(params: Recordable<any>) => void>;
|
|
2686
|
+
default: (params: Recordable<any>) => void;
|
|
2687
|
+
};
|
|
2688
|
+
buttons: {
|
|
2689
|
+
type: import("vue").PropType<boolean | ButtonProps[]>;
|
|
2690
|
+
default: boolean;
|
|
2691
|
+
};
|
|
2692
|
+
resetFunc: {
|
|
2693
|
+
type: import("vue").PropType<() => void>;
|
|
2694
|
+
};
|
|
2695
|
+
registerInstance: {
|
|
2696
|
+
type: import("vue").PropType<(instance: FormActionType) => void>;
|
|
2697
|
+
};
|
|
2698
|
+
}>>>;
|
|
2699
|
+
default: () => {};
|
|
2700
|
+
};
|
|
2701
|
+
defaultValues: {
|
|
2702
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
2703
|
+
default: () => {};
|
|
2704
|
+
};
|
|
2705
|
+
formModel: {
|
|
2706
|
+
type: import("vue").PropType<Recordable<any>>;
|
|
2707
|
+
default: () => {};
|
|
2708
|
+
};
|
|
2709
|
+
setFormModel: {
|
|
2710
|
+
type: import("vue").PropType<(key: string, value: any) => void>;
|
|
2711
|
+
};
|
|
2712
|
+
formActionType: {
|
|
2713
|
+
type: import("vue").PropType<FormActionType>;
|
|
2714
|
+
};
|
|
2862
2715
|
};
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
}>;
|
|
2716
|
+
setup(props: any, { emit, slots }: {
|
|
2717
|
+
emit: any;
|
|
2718
|
+
slots: any;
|
|
2719
|
+
}): () => JSX.Element;
|
|
2720
|
+
};
|
|
2869
2721
|
readonly DtFormButtons: import("vue").DefineComponent<{
|
|
2870
2722
|
mode: {
|
|
2871
2723
|
type: import("vue").PropType<"search" | "dialog">;
|
|
@@ -2961,10 +2813,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2961
2813
|
};
|
|
2962
2814
|
model: {
|
|
2963
2815
|
type: import("vue").PropType<Recordable<any>>;
|
|
2964
|
-
default: {};
|
|
2816
|
+
default: () => {};
|
|
2965
2817
|
};
|
|
2966
2818
|
layout: {
|
|
2967
|
-
type: import("vue").PropType<"vertical" | "
|
|
2819
|
+
type: import("vue").PropType<"vertical" | "inline" | "horizontal">;
|
|
2968
2820
|
default: string;
|
|
2969
2821
|
};
|
|
2970
2822
|
labelWidth: {
|
|
@@ -2981,11 +2833,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2981
2833
|
};
|
|
2982
2834
|
labelCol: {
|
|
2983
2835
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2984
|
-
default: () =>
|
|
2836
|
+
default: () => {};
|
|
2985
2837
|
};
|
|
2986
2838
|
wrapperCol: {
|
|
2987
2839
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
2988
|
-
default: () =>
|
|
2840
|
+
default: () => {};
|
|
2989
2841
|
};
|
|
2990
2842
|
rowProps: {
|
|
2991
2843
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
|
@@ -3001,14 +2853,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3001
2853
|
default: any;
|
|
3002
2854
|
};
|
|
3003
2855
|
}>>>;
|
|
3004
|
-
default: () =>
|
|
2856
|
+
default: () => {};
|
|
3005
2857
|
};
|
|
3006
2858
|
colProps: {
|
|
3007
2859
|
type: import("vue").PropType<Partial<import("./types/form.type").ColEx>>;
|
|
3008
|
-
default: () =>
|
|
2860
|
+
default: () => {};
|
|
3009
2861
|
};
|
|
3010
2862
|
size: {
|
|
3011
|
-
type: import("vue").PropType<"
|
|
2863
|
+
type: import("vue").PropType<"middle" | "small" | "large">;
|
|
3012
2864
|
default: string;
|
|
3013
2865
|
};
|
|
3014
2866
|
disabled: {
|
|
@@ -3082,17 +2934,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3082
2934
|
onRegister?: (...args: any[]) => any;
|
|
3083
2935
|
}, {
|
|
3084
2936
|
mode: "search" | "dialog";
|
|
3085
|
-
size: "small" | "middle" | "large";
|
|
3086
2937
|
autoFetch: boolean;
|
|
3087
2938
|
model: {};
|
|
3088
|
-
layout: "vertical" | "
|
|
2939
|
+
layout: "vertical" | "inline" | "horizontal";
|
|
3089
2940
|
labelWidth: string | number;
|
|
3090
2941
|
enLabelWidth: string | number;
|
|
3091
2942
|
labelAlign: "left" | "right";
|
|
3092
|
-
labelCol:
|
|
3093
|
-
wrapperCol:
|
|
3094
|
-
rowProps:
|
|
3095
|
-
colProps:
|
|
2943
|
+
labelCol: {};
|
|
2944
|
+
wrapperCol: {};
|
|
2945
|
+
rowProps: {};
|
|
2946
|
+
colProps: {};
|
|
2947
|
+
size: "middle" | "small" | "large";
|
|
3096
2948
|
disabled: boolean;
|
|
3097
2949
|
compact: boolean;
|
|
3098
2950
|
schemas: FormSchema[];
|