@dao-style/core 1.0.0-beta.2 → 1.0.0-beta.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/dist/components/ellipsis/ellipsis.d.ts +24 -24
- package/dist/components/ellipsis/ellipsis.vue.d.ts +8 -8
- package/dist/components/popover/popover.d.ts +4 -4
- package/dist/components/popover/popover.vue.d.ts +1 -1
- package/dist/components/popper/popper.d.ts +4 -4
- package/dist/components/popper/popper.vue.d.ts +1 -1
- package/dist/components/select/select.d.ts +12 -12
- package/dist/components/select/select.vue.d.ts +4 -4
- package/dist/components/text-button/props.d.ts +4 -4
- package/dist/components/text-button/text-button.d.ts +15 -15
- package/dist/components/text-button/text-button.vue.d.ts +8 -7
- package/dist/components/tooltip/tooltip.d.ts +4 -4
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/components/transfer/props.d.ts +53 -2
- package/dist/components/transfer/transfer-panel.d.ts +14 -8
- package/dist/components/transfer/transfer-panel.vue.d.ts +12 -10
- package/dist/components/transfer/transfer.d.ts +240 -15
- package/dist/components/transfer/transfer.vue.d.ts +103 -6
- package/dist/dao-style.cjs.js +9 -0
- package/dist/dao-style.es.mjs +10255 -0
- package/dist/style.css +1 -1
- package/dist/utils/simple-omit.d.ts +1 -0
- package/package.json +13 -10
- package/scripts/transform-variable.mjs +5 -5
- package/dist/dao-style.es.js +0 -7851
- package/dist/dao-style.umd.js +0 -5
|
@@ -158,6 +158,7 @@ declare const DaoSelect: {
|
|
|
158
158
|
$data: {};
|
|
159
159
|
$props: Partial<{
|
|
160
160
|
disabled: boolean;
|
|
161
|
+
transition: string;
|
|
161
162
|
modelValue: boolean;
|
|
162
163
|
offset: string | number;
|
|
163
164
|
placement: import("@popperjs/core").Placement;
|
|
@@ -170,7 +171,6 @@ declare const DaoSelect: {
|
|
|
170
171
|
visibleArrow: boolean;
|
|
171
172
|
popperClass: string;
|
|
172
173
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
173
|
-
transition: string;
|
|
174
174
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
175
175
|
modelValue: {
|
|
176
176
|
type: BooleanConstructor;
|
|
@@ -235,7 +235,7 @@ declare const DaoSelect: {
|
|
|
235
235
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
236
236
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
237
237
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
238
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions"
|
|
238
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "transition" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions">;
|
|
239
239
|
$attrs: {
|
|
240
240
|
[x: string]: unknown;
|
|
241
241
|
};
|
|
@@ -324,6 +324,7 @@ declare const DaoSelect: {
|
|
|
324
324
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
325
325
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], string, {
|
|
326
326
|
disabled: boolean;
|
|
327
|
+
transition: string;
|
|
327
328
|
modelValue: boolean;
|
|
328
329
|
offset: string | number;
|
|
329
330
|
placement: import("@popperjs/core").Placement;
|
|
@@ -336,7 +337,6 @@ declare const DaoSelect: {
|
|
|
336
337
|
visibleArrow: boolean;
|
|
337
338
|
popperClass: string;
|
|
338
339
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
339
|
-
transition: string;
|
|
340
340
|
}, {}, string> & {
|
|
341
341
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
342
342
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -509,6 +509,7 @@ declare const DaoSelect: {
|
|
|
509
509
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
510
510
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], "update:modelValue" | "hide" | "show" | "after-show" | "after-hide", {
|
|
511
511
|
disabled: boolean;
|
|
512
|
+
transition: string;
|
|
512
513
|
modelValue: boolean;
|
|
513
514
|
offset: string | number;
|
|
514
515
|
placement: import("@popperjs/core").Placement;
|
|
@@ -521,7 +522,6 @@ declare const DaoSelect: {
|
|
|
521
522
|
visibleArrow: boolean;
|
|
522
523
|
popperClass: string;
|
|
523
524
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
524
|
-
transition: string;
|
|
525
525
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike) | null>;
|
|
526
526
|
searchInput: import("vue").Ref<HTMLInputElement | null>;
|
|
527
527
|
triggerRef: import("vue").Ref<HTMLInputElement | null>;
|
|
@@ -675,6 +675,7 @@ declare const DaoSelect: {
|
|
|
675
675
|
$data: {};
|
|
676
676
|
$props: Partial<{
|
|
677
677
|
disabled: boolean;
|
|
678
|
+
transition: string;
|
|
678
679
|
modelValue: boolean;
|
|
679
680
|
offset: string | number;
|
|
680
681
|
placement: import("@popperjs/core").Placement;
|
|
@@ -687,7 +688,6 @@ declare const DaoSelect: {
|
|
|
687
688
|
visibleArrow: boolean;
|
|
688
689
|
popperClass: string;
|
|
689
690
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
690
|
-
transition: string;
|
|
691
691
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
692
692
|
modelValue: {
|
|
693
693
|
type: BooleanConstructor;
|
|
@@ -752,7 +752,7 @@ declare const DaoSelect: {
|
|
|
752
752
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
753
753
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
754
754
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
755
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions"
|
|
755
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "transition" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions">;
|
|
756
756
|
$attrs: {
|
|
757
757
|
[x: string]: unknown;
|
|
758
758
|
};
|
|
@@ -841,6 +841,7 @@ declare const DaoSelect: {
|
|
|
841
841
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
842
842
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], string, {
|
|
843
843
|
disabled: boolean;
|
|
844
|
+
transition: string;
|
|
844
845
|
modelValue: boolean;
|
|
845
846
|
offset: string | number;
|
|
846
847
|
placement: import("@popperjs/core").Placement;
|
|
@@ -853,7 +854,6 @@ declare const DaoSelect: {
|
|
|
853
854
|
visibleArrow: boolean;
|
|
854
855
|
popperClass: string;
|
|
855
856
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
856
|
-
transition: string;
|
|
857
857
|
}, {}, string> & {
|
|
858
858
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
859
859
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1026,6 +1026,7 @@ declare const DaoSelect: {
|
|
|
1026
1026
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
1027
1027
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], "update:modelValue" | "hide" | "show" | "after-show" | "after-hide", {
|
|
1028
1028
|
disabled: boolean;
|
|
1029
|
+
transition: string;
|
|
1029
1030
|
modelValue: boolean;
|
|
1030
1031
|
offset: string | number;
|
|
1031
1032
|
placement: import("@popperjs/core").Placement;
|
|
@@ -1038,7 +1039,6 @@ declare const DaoSelect: {
|
|
|
1038
1039
|
visibleArrow: boolean;
|
|
1039
1040
|
popperClass: string;
|
|
1040
1041
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1041
|
-
transition: string;
|
|
1042
1042
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike) | null>;
|
|
1043
1043
|
searchInput: import("vue").Ref<HTMLInputElement | null>;
|
|
1044
1044
|
triggerRef: import("vue").Ref<HTMLInputElement | null>;
|
|
@@ -1163,6 +1163,7 @@ declare const DaoSelect: {
|
|
|
1163
1163
|
$data: {};
|
|
1164
1164
|
$props: Partial<{
|
|
1165
1165
|
disabled: boolean;
|
|
1166
|
+
transition: string;
|
|
1166
1167
|
modelValue: boolean;
|
|
1167
1168
|
offset: string | number;
|
|
1168
1169
|
placement: import("@popperjs/core").Placement;
|
|
@@ -1175,7 +1176,6 @@ declare const DaoSelect: {
|
|
|
1175
1176
|
visibleArrow: boolean;
|
|
1176
1177
|
popperClass: string;
|
|
1177
1178
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1178
|
-
transition: string;
|
|
1179
1179
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
1180
1180
|
modelValue: {
|
|
1181
1181
|
type: BooleanConstructor;
|
|
@@ -1240,7 +1240,7 @@ declare const DaoSelect: {
|
|
|
1240
1240
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
1241
1241
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
1242
1242
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
1243
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions"
|
|
1243
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "transition" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions">;
|
|
1244
1244
|
$attrs: {
|
|
1245
1245
|
[x: string]: unknown;
|
|
1246
1246
|
};
|
|
@@ -1329,6 +1329,7 @@ declare const DaoSelect: {
|
|
|
1329
1329
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
1330
1330
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], string, {
|
|
1331
1331
|
disabled: boolean;
|
|
1332
|
+
transition: string;
|
|
1332
1333
|
modelValue: boolean;
|
|
1333
1334
|
offset: string | number;
|
|
1334
1335
|
placement: import("@popperjs/core").Placement;
|
|
@@ -1341,7 +1342,6 @@ declare const DaoSelect: {
|
|
|
1341
1342
|
visibleArrow: boolean;
|
|
1342
1343
|
popperClass: string;
|
|
1343
1344
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1344
|
-
transition: string;
|
|
1345
1345
|
}, {}, string> & {
|
|
1346
1346
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1347
1347
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1514,6 +1514,7 @@ declare const DaoSelect: {
|
|
|
1514
1514
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
1515
1515
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], "update:modelValue" | "hide" | "show" | "after-show" | "after-hide", {
|
|
1516
1516
|
disabled: boolean;
|
|
1517
|
+
transition: string;
|
|
1517
1518
|
modelValue: boolean;
|
|
1518
1519
|
offset: string | number;
|
|
1519
1520
|
placement: import("@popperjs/core").Placement;
|
|
@@ -1526,7 +1527,6 @@ declare const DaoSelect: {
|
|
|
1526
1527
|
visibleArrow: boolean;
|
|
1527
1528
|
popperClass: string;
|
|
1528
1529
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
1529
|
-
transition: string;
|
|
1530
1530
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike) | null>;
|
|
1531
1531
|
searchInput: import("vue").Ref<HTMLInputElement | null>;
|
|
1532
1532
|
triggerRef: import("vue").Ref<HTMLInputElement | null>;
|
|
@@ -63,6 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
$data: {};
|
|
64
64
|
$props: Partial<{
|
|
65
65
|
disabled: boolean;
|
|
66
|
+
transition: string;
|
|
66
67
|
modelValue: boolean;
|
|
67
68
|
offset: string | number;
|
|
68
69
|
placement: import("@popperjs/core").Placement;
|
|
@@ -75,7 +76,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
76
|
visibleArrow: boolean;
|
|
76
77
|
popperClass: string;
|
|
77
78
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
78
|
-
transition: string;
|
|
79
79
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
80
80
|
modelValue: {
|
|
81
81
|
type: BooleanConstructor;
|
|
@@ -140,7 +140,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
140
140
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
141
141
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
142
142
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
143
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions"
|
|
143
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "transition" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions">;
|
|
144
144
|
$attrs: {
|
|
145
145
|
[x: string]: unknown;
|
|
146
146
|
};
|
|
@@ -229,6 +229,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
229
229
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
230
230
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], string, {
|
|
231
231
|
disabled: boolean;
|
|
232
|
+
transition: string;
|
|
232
233
|
modelValue: boolean;
|
|
233
234
|
offset: string | number;
|
|
234
235
|
placement: import("@popperjs/core").Placement;
|
|
@@ -241,7 +242,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
242
|
visibleArrow: boolean;
|
|
242
243
|
popperClass: string;
|
|
243
244
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
244
|
-
transition: string;
|
|
245
245
|
}, {}, string> & {
|
|
246
246
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
247
247
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -414,6 +414,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
414
414
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
415
415
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], "update:modelValue" | "hide" | "show" | "after-show" | "after-hide", {
|
|
416
416
|
disabled: boolean;
|
|
417
|
+
transition: string;
|
|
417
418
|
modelValue: boolean;
|
|
418
419
|
offset: string | number;
|
|
419
420
|
placement: import("@popperjs/core").Placement;
|
|
@@ -426,7 +427,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
426
427
|
visibleArrow: boolean;
|
|
427
428
|
popperClass: string;
|
|
428
429
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
429
|
-
transition: string;
|
|
430
430
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("../popper/popper").DaoPopperLike) | null>;
|
|
431
431
|
searchInput: import("vue").Ref<HTMLInputElement | null>;
|
|
432
432
|
triggerRef: import("vue").Ref<HTMLInputElement | null>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { PropType,
|
|
2
|
-
export type TagType =
|
|
1
|
+
import type { PropType, Component, ExtractPropTypes } from 'vue';
|
|
2
|
+
export type TagType = Element['tagName'] | Component;
|
|
3
3
|
export declare const textButtonType: readonly ["default", "action", "link", "custom"];
|
|
4
4
|
type ThePropType = {
|
|
5
|
-
type
|
|
5
|
+
type?: typeof textButtonType[number];
|
|
6
6
|
icon?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare const textButtonProps: {
|
|
9
9
|
tag: {
|
|
10
|
-
type: PropType<
|
|
10
|
+
type: PropType<TagType>;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
prop: {
|
|
@@ -4,19 +4,19 @@ declare const DaoTextButton: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
tag:
|
|
7
|
+
tag: import("./props").TagType;
|
|
8
8
|
prop: {
|
|
9
|
-
type
|
|
9
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
10
10
|
icon?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
tag: {
|
|
14
|
-
type: import("vue").PropType<
|
|
14
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
prop: {
|
|
18
18
|
type: import("vue").PropType<{
|
|
19
|
-
type
|
|
19
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
20
20
|
icon?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
default: () => {
|
|
@@ -39,12 +39,12 @@ declare const DaoTextButton: {
|
|
|
39
39
|
$el: any;
|
|
40
40
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
tag: {
|
|
42
|
-
type: import("vue").PropType<
|
|
42
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
45
|
prop: {
|
|
46
46
|
type: import("vue").PropType<{
|
|
47
|
-
type
|
|
47
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
48
48
|
icon?: string | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
default: () => {
|
|
@@ -54,9 +54,9 @@ declare const DaoTextButton: {
|
|
|
54
54
|
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
55
|
[key: string]: any;
|
|
56
56
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
57
|
-
tag:
|
|
57
|
+
tag: import("./props").TagType;
|
|
58
58
|
prop: {
|
|
59
|
-
type
|
|
59
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
60
60
|
icon?: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
}, {}, string> & {
|
|
@@ -81,12 +81,12 @@ declare const DaoTextButton: {
|
|
|
81
81
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
82
82
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
tag: {
|
|
84
|
-
type: import("vue").PropType<
|
|
84
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
85
85
|
default: string;
|
|
86
86
|
};
|
|
87
87
|
prop: {
|
|
88
88
|
type: import("vue").PropType<{
|
|
89
|
-
type
|
|
89
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
90
90
|
icon?: string | undefined;
|
|
91
91
|
}>;
|
|
92
92
|
default: () => {
|
|
@@ -101,12 +101,12 @@ declare const DaoTextButton: {
|
|
|
101
101
|
__isSuspense?: undefined;
|
|
102
102
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
103
103
|
tag: {
|
|
104
|
-
type: import("vue").PropType<
|
|
104
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
105
105
|
default: string;
|
|
106
106
|
};
|
|
107
107
|
prop: {
|
|
108
108
|
type: import("vue").PropType<{
|
|
109
|
-
type
|
|
109
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
110
110
|
icon?: string | undefined;
|
|
111
111
|
}>;
|
|
112
112
|
default: () => {
|
|
@@ -116,12 +116,12 @@ declare const DaoTextButton: {
|
|
|
116
116
|
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
117
117
|
[key: string]: any;
|
|
118
118
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
119
|
-
tag:
|
|
119
|
+
tag: import("./props").TagType;
|
|
120
120
|
prop: {
|
|
121
|
-
type
|
|
121
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
122
122
|
icon?: string | undefined;
|
|
123
123
|
};
|
|
124
|
-
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends
|
|
124
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends import("./props").TagType>(props: {
|
|
125
125
|
tag: Tag;
|
|
126
126
|
}) => {
|
|
127
127
|
$props: Partial<{
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
tag: {
|
|
3
|
-
type: import("vue").PropType<
|
|
4
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
4
5
|
default: string;
|
|
5
6
|
};
|
|
6
7
|
prop: {
|
|
7
8
|
type: import("vue").PropType<{
|
|
8
|
-
type
|
|
9
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
9
10
|
icon?: string | undefined;
|
|
10
11
|
}>;
|
|
11
12
|
default: () => {
|
|
12
13
|
type: string;
|
|
13
14
|
};
|
|
14
15
|
};
|
|
15
|
-
}, () =>
|
|
16
|
+
}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
17
|
[key: string]: any;
|
|
17
18
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
19
|
tag: {
|
|
19
|
-
type: import("vue").PropType<
|
|
20
|
+
type: import("vue").PropType<import("./props").TagType>;
|
|
20
21
|
default: string;
|
|
21
22
|
};
|
|
22
23
|
prop: {
|
|
23
24
|
type: import("vue").PropType<{
|
|
24
|
-
type
|
|
25
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
25
26
|
icon?: string | undefined;
|
|
26
27
|
}>;
|
|
27
28
|
default: () => {
|
|
@@ -29,9 +30,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
}>>, {
|
|
32
|
-
tag:
|
|
33
|
+
tag: import("./props").TagType;
|
|
33
34
|
prop: {
|
|
34
|
-
type
|
|
35
|
+
type?: "default" | "link" | "action" | "custom" | undefined;
|
|
35
36
|
icon?: string | undefined;
|
|
36
37
|
};
|
|
37
38
|
}>;
|
|
@@ -5,6 +5,7 @@ declare const _default: {
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
disabled: boolean;
|
|
8
|
+
transition: string;
|
|
8
9
|
modelValue: boolean;
|
|
9
10
|
offset: string | number;
|
|
10
11
|
placement: import("@popperjs/core").Placement;
|
|
@@ -17,7 +18,6 @@ declare const _default: {
|
|
|
17
18
|
visibleArrow: boolean;
|
|
18
19
|
popperClass: string;
|
|
19
20
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
20
|
-
transition: string;
|
|
21
21
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
offset: {
|
|
23
23
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -82,7 +82,7 @@ declare const _default: {
|
|
|
82
82
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
"onAfter-show"?: ((...args: any[]) => any) | undefined;
|
|
84
84
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions"
|
|
85
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "transition" | "modelValue" | "offset" | "placement" | "content" | "appendTo" | "boundary" | "delay" | "width" | "trigger" | "visibleArrow" | "popperClass" | "popperOptions">;
|
|
86
86
|
$attrs: {
|
|
87
87
|
[x: string]: unknown;
|
|
88
88
|
};
|
|
@@ -171,6 +171,7 @@ declare const _default: {
|
|
|
171
171
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
172
172
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], string, {
|
|
173
173
|
disabled: boolean;
|
|
174
|
+
transition: string;
|
|
174
175
|
modelValue: boolean;
|
|
175
176
|
offset: string | number;
|
|
176
177
|
placement: import("@popperjs/core").Placement;
|
|
@@ -183,7 +184,6 @@ declare const _default: {
|
|
|
183
184
|
visibleArrow: boolean;
|
|
184
185
|
popperClass: string;
|
|
185
186
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
186
|
-
transition: string;
|
|
187
187
|
}, {}, string> & {
|
|
188
188
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
189
189
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -356,6 +356,7 @@ declare const _default: {
|
|
|
356
356
|
isTelDisabled: import("vue").Ref<boolean>;
|
|
357
357
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "hide" | "show" | "after-show" | "after-hide")[], "update:modelValue" | "hide" | "show" | "after-show" | "after-hide", {
|
|
358
358
|
disabled: boolean;
|
|
359
|
+
transition: string;
|
|
359
360
|
modelValue: boolean;
|
|
360
361
|
offset: string | number;
|
|
361
362
|
placement: import("@popperjs/core").Placement;
|
|
@@ -368,6 +369,5 @@ declare const _default: {
|
|
|
368
369
|
visibleArrow: boolean;
|
|
369
370
|
popperClass: string;
|
|
370
371
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
371
|
-
transition: string;
|
|
372
372
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & DaoPopperLike;
|
|
373
373
|
export default _default;
|
|
@@ -131,6 +131,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
"onAfter-hide"?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
}, {
|
|
133
133
|
disabled: boolean;
|
|
134
|
+
transition: string;
|
|
134
135
|
modelValue: boolean;
|
|
135
136
|
offset: string | number;
|
|
136
137
|
placement: import("@popperjs/core").Placement;
|
|
@@ -143,6 +144,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
144
|
visibleArrow: boolean;
|
|
144
145
|
popperClass: string;
|
|
145
146
|
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("../popper").DaoModifiers>>;
|
|
146
|
-
transition: string;
|
|
147
147
|
}>;
|
|
148
148
|
export default _default;
|
|
@@ -1,13 +1,53 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export type DataItem = Record<string, unknown>;
|
|
3
|
+
export type Key = DataItem[number];
|
|
4
|
+
type TransferFilterMethod = (query: string, item: DataItem) => boolean;
|
|
3
5
|
type Props = {
|
|
4
6
|
key: string;
|
|
5
7
|
label?: string;
|
|
6
8
|
desc?: string;
|
|
7
9
|
};
|
|
8
|
-
|
|
9
|
-
export type
|
|
10
|
+
declare const transferType: readonly ["normal", "full"];
|
|
11
|
+
export type TransferType = typeof transferType[number];
|
|
10
12
|
export declare const transferProps: {
|
|
13
|
+
pageLayout: {
|
|
14
|
+
default: () => never[];
|
|
15
|
+
type: PropType<import("../pagination/pagination-props").PaginationLayoutKey[]>;
|
|
16
|
+
};
|
|
17
|
+
total: {
|
|
18
|
+
type: PropType<number>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
pageSize: {
|
|
22
|
+
type: PropType<number>;
|
|
23
|
+
default: number;
|
|
24
|
+
validator: (val: number) => boolean;
|
|
25
|
+
};
|
|
26
|
+
pageSizeOptions: {
|
|
27
|
+
type: PropType<number[]>;
|
|
28
|
+
default: () => number[];
|
|
29
|
+
};
|
|
30
|
+
pageFormat: {
|
|
31
|
+
type: PropType<(val: number) => string>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
totalFormat: {
|
|
35
|
+
type: PropType<(val: number) => string>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
currentPage: {
|
|
39
|
+
type: PropType<number>;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
pageSizerWidth: {
|
|
43
|
+
type: PropType<number>;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
type: {
|
|
47
|
+
type: PropType<"normal" | "full">;
|
|
48
|
+
default: string;
|
|
49
|
+
validator: (value: TransferType) => boolean;
|
|
50
|
+
};
|
|
11
51
|
source: {
|
|
12
52
|
type: PropType<DataItem[]>;
|
|
13
53
|
default: () => never[];
|
|
@@ -87,12 +127,22 @@ export declare const transferPanelProp: {
|
|
|
87
127
|
};
|
|
88
128
|
};
|
|
89
129
|
export declare const transferEmits: {
|
|
130
|
+
'update:page-size': (pageSize: number) => void;
|
|
131
|
+
'update:current-page': (curPage: number) => void;
|
|
132
|
+
next: (curPage: number) => void;
|
|
133
|
+
prev: (curPage: number) => void;
|
|
134
|
+
'page-change': (curPage: number) => void;
|
|
135
|
+
'size-change': (pageSize: number) => void;
|
|
136
|
+
pageChange: (curPage: number) => void;
|
|
137
|
+
sizeChange: (pageSize: number) => void;
|
|
90
138
|
'update:modelValue': (content: Key[]) => void;
|
|
91
139
|
clear: (content: Key[]) => void;
|
|
92
140
|
change: (content: ({
|
|
93
141
|
direction: TransferActionDirection;
|
|
94
142
|
rows: any[];
|
|
95
143
|
})) => void;
|
|
144
|
+
'left-search': () => void;
|
|
145
|
+
'right-search': () => void;
|
|
96
146
|
refresh: () => void;
|
|
97
147
|
checkAll: (content: Key[]) => void;
|
|
98
148
|
};
|
|
@@ -104,6 +154,7 @@ export declare const transferPanelEmits: {
|
|
|
104
154
|
row: any;
|
|
105
155
|
}) => void;
|
|
106
156
|
refresh: () => void;
|
|
157
|
+
search: () => void;
|
|
107
158
|
checkAll: (content: {
|
|
108
159
|
checked: boolean;
|
|
109
160
|
checkableList: Key[];
|
|
@@ -38,7 +38,7 @@ declare const DaoTransferPanel: {
|
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
filterMethod: {
|
|
41
|
-
type: import("vue").PropType<import("./props").
|
|
41
|
+
type: import("vue").PropType<(query: string, item: import("./props").DataItem) => boolean>;
|
|
42
42
|
};
|
|
43
43
|
filterPlaceholder: {
|
|
44
44
|
type: StringConstructor;
|
|
@@ -56,6 +56,7 @@ declare const DaoTransferPanel: {
|
|
|
56
56
|
default: () => {};
|
|
57
57
|
};
|
|
58
58
|
}>> & {
|
|
59
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
59
60
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
60
61
|
onSelectedChange?: ((...args: any[]) => any) | undefined;
|
|
61
62
|
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
@@ -71,7 +72,7 @@ declare const DaoTransferPanel: {
|
|
|
71
72
|
}>;
|
|
72
73
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
73
74
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
74
|
-
$emit: (event: "refresh" | "selectedChange" | "checkAll", ...args: any[]) => void;
|
|
75
|
+
$emit: (event: "search" | "refresh" | "selectedChange" | "checkAll", ...args: any[]) => void;
|
|
75
76
|
$el: any;
|
|
76
77
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
77
78
|
type: {
|
|
@@ -95,7 +96,7 @@ declare const DaoTransferPanel: {
|
|
|
95
96
|
default: boolean;
|
|
96
97
|
};
|
|
97
98
|
filterMethod: {
|
|
98
|
-
type: import("vue").PropType<import("./props").
|
|
99
|
+
type: import("vue").PropType<(query: string, item: import("./props").DataItem) => boolean>;
|
|
99
100
|
};
|
|
100
101
|
filterPlaceholder: {
|
|
101
102
|
type: StringConstructor;
|
|
@@ -113,6 +114,7 @@ declare const DaoTransferPanel: {
|
|
|
113
114
|
default: () => {};
|
|
114
115
|
};
|
|
115
116
|
}>> & {
|
|
117
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
116
118
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
117
119
|
onSelectedChange?: ((...args: any[]) => any) | undefined;
|
|
118
120
|
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
@@ -139,7 +141,7 @@ declare const DaoTransferPanel: {
|
|
|
139
141
|
hasFooter: import("vue").ComputedRef<boolean>;
|
|
140
142
|
handleCheckAll: (checked: boolean) => void;
|
|
141
143
|
handleItemEvent: (action: "remove" | "check", row: import("./props").DataItem) => void;
|
|
142
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "selectedChange" | "checkAll")[], string, {
|
|
144
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "refresh" | "selectedChange" | "checkAll")[], string, {
|
|
143
145
|
type: "source" | "target";
|
|
144
146
|
props: {
|
|
145
147
|
key: string;
|
|
@@ -193,7 +195,7 @@ declare const DaoTransferPanel: {
|
|
|
193
195
|
default: boolean;
|
|
194
196
|
};
|
|
195
197
|
filterMethod: {
|
|
196
|
-
type: import("vue").PropType<import("./props").
|
|
198
|
+
type: import("vue").PropType<(query: string, item: import("./props").DataItem) => boolean>;
|
|
197
199
|
};
|
|
198
200
|
filterPlaceholder: {
|
|
199
201
|
type: StringConstructor;
|
|
@@ -211,6 +213,7 @@ declare const DaoTransferPanel: {
|
|
|
211
213
|
default: () => {};
|
|
212
214
|
};
|
|
213
215
|
}>> & {
|
|
216
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
214
217
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
215
218
|
onSelectedChange?: ((...args: any[]) => any) | undefined;
|
|
216
219
|
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
@@ -263,7 +266,7 @@ declare const DaoTransferPanel: {
|
|
|
263
266
|
default: boolean;
|
|
264
267
|
};
|
|
265
268
|
filterMethod: {
|
|
266
|
-
type: import("vue").PropType<import("./props").
|
|
269
|
+
type: import("vue").PropType<(query: string, item: import("./props").DataItem) => boolean>;
|
|
267
270
|
};
|
|
268
271
|
filterPlaceholder: {
|
|
269
272
|
type: StringConstructor;
|
|
@@ -281,6 +284,7 @@ declare const DaoTransferPanel: {
|
|
|
281
284
|
default: () => {};
|
|
282
285
|
};
|
|
283
286
|
}>> & {
|
|
287
|
+
onSearch?: ((...args: any[]) => any) | undefined;
|
|
284
288
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
285
289
|
onSelectedChange?: ((...args: any[]) => any) | undefined;
|
|
286
290
|
onCheckAll?: ((...args: any[]) => any) | undefined;
|
|
@@ -307,7 +311,7 @@ declare const DaoTransferPanel: {
|
|
|
307
311
|
hasFooter: import("vue").ComputedRef<boolean>;
|
|
308
312
|
handleCheckAll: (checked: boolean) => void;
|
|
309
313
|
handleItemEvent: (action: "remove" | "check", row: import("./props").DataItem) => void;
|
|
310
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("refresh" | "selectedChange" | "checkAll")[], "refresh" | "selectedChange" | "checkAll", {
|
|
314
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "refresh" | "selectedChange" | "checkAll")[], "search" | "refresh" | "selectedChange" | "checkAll", {
|
|
311
315
|
type: "source" | "target";
|
|
312
316
|
props: {
|
|
313
317
|
key: string;
|
|
@@ -345,7 +349,9 @@ declare const DaoTransferPanel: {
|
|
|
345
349
|
type: TransferPanelProps['type'];
|
|
346
350
|
}>;
|
|
347
351
|
empty: SlotFn;
|
|
348
|
-
footer:
|
|
352
|
+
footer: ParamsSlotFn<{
|
|
353
|
+
isEmpty: boolean;
|
|
354
|
+
}>;
|
|
349
355
|
};
|
|
350
356
|
});
|
|
351
357
|
export default DaoTransferPanel;
|