@dao-style/core 0.6.2 → 0.7.0
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/drawer/props.d.ts +1 -1
- package/dist/components/input/input.vue.d.ts +10 -2
- package/dist/components/input/props.d.ts +3 -0
- package/dist/components/select/select.vue.d.ts +4 -0
- package/dist/components/table/table-props.d.ts +4 -0
- package/dist/components/table/table.vue.d.ts +8 -1
- package/dist/components/toolbar/toolbar-props.d.ts +4 -0
- package/dist/components/toolbar/toolbar.vue.d.ts +7 -0
- package/dist/components/transfer/transfer.vue.d.ts +1 -1
- package/dist/dao-style.es.js +292 -272
- package/dist/dao-style.umd.js +1 -1
- package/dist/locales/en-US.d.ts +0 -3
- package/dist/locales/zh-CN.d.ts +0 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -39,12 +39,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
rootAttrs: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
};
|
|
42
45
|
}, {
|
|
43
46
|
currentValue: import("vue").Ref<ModalValueType>;
|
|
44
47
|
isFocus: import("vue").Ref<boolean>;
|
|
45
48
|
input: import("vue").Ref<HTMLInputElement | null>;
|
|
46
49
|
clearable: import("vue").ComputedRef<boolean | "" | 0 | undefined>;
|
|
47
|
-
wrapClasses: import("vue").ComputedRef<
|
|
50
|
+
wrapClasses: import("vue").ComputedRef<(string | {
|
|
51
|
+
[x: string]: boolean | "" | 0 | undefined;
|
|
52
|
+
})[]>;
|
|
48
53
|
inputClasses: import("vue").ComputedRef<(string | {
|
|
49
54
|
[x: string]: boolean;
|
|
50
55
|
})[]>;
|
|
@@ -76,6 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
81
|
borderless?: unknown;
|
|
77
82
|
append?: unknown;
|
|
78
83
|
prepend?: unknown;
|
|
84
|
+
rootAttrs?: unknown;
|
|
79
85
|
} & {
|
|
80
86
|
size: "md" | "sm";
|
|
81
87
|
type: import("./props").InputType;
|
|
@@ -86,7 +92,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
92
|
borderless: boolean;
|
|
87
93
|
append: string;
|
|
88
94
|
prepend: string;
|
|
89
|
-
} & {
|
|
95
|
+
} & {
|
|
96
|
+
rootAttrs?: Record<string, any> | undefined;
|
|
97
|
+
}> & {
|
|
90
98
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
99
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
92
100
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -222,6 +222,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
222
222
|
triggerEsc(): void;
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
|
+
compositionEvent: {
|
|
226
|
+
start(): void;
|
|
227
|
+
end(): void;
|
|
228
|
+
};
|
|
225
229
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "open" | "search-change")[], "update:modelValue" | "change" | "close" | "open" | "search-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
226
230
|
modelValue?: unknown;
|
|
227
231
|
placeholder?: unknown;
|
|
@@ -31,6 +31,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
31
|
type: import("vue").PropType<boolean>;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
+
noRounded: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
34
38
|
id: {
|
|
35
39
|
type: import("vue").PropType<string>;
|
|
36
40
|
require: boolean;
|
|
@@ -126,7 +130,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
126
130
|
};
|
|
127
131
|
}, {
|
|
128
132
|
textContent: import("vue").ComputedRef<{
|
|
129
|
-
emptyText: string;
|
|
133
|
+
emptyText: string | undefined;
|
|
130
134
|
}>;
|
|
131
135
|
columns: {
|
|
132
136
|
id: string;
|
|
@@ -210,6 +214,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
214
|
hideRefresh?: unknown;
|
|
211
215
|
hideSearch?: unknown;
|
|
212
216
|
noShadow?: unknown;
|
|
217
|
+
noRounded?: unknown;
|
|
213
218
|
id?: unknown;
|
|
214
219
|
columns?: unknown;
|
|
215
220
|
data?: unknown;
|
|
@@ -250,6 +255,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
250
255
|
searchOptions: import("../toolbar/types").SearchOption[];
|
|
251
256
|
hideRefresh: boolean;
|
|
252
257
|
hideSearch: boolean;
|
|
258
|
+
noRounded: boolean;
|
|
253
259
|
selectable: boolean | ((row: Record<string, unknown>, index: number) => boolean);
|
|
254
260
|
selectedRows: Record<string, unknown>[];
|
|
255
261
|
expandable: boolean;
|
|
@@ -305,6 +311,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
311
|
fuzzy: import("../toolbar/types").FuzzyOption;
|
|
306
312
|
hideRefresh: boolean;
|
|
307
313
|
hideSearch: boolean;
|
|
314
|
+
noRounded: boolean;
|
|
308
315
|
selectable: boolean | ((row: Record<string, unknown>, index: number) => boolean);
|
|
309
316
|
selectedRows: Record<string, unknown>[];
|
|
310
317
|
expandable: boolean;
|
|
@@ -28,6 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
type: import("vue").PropType<boolean>;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
noRounded: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
}, {
|
|
32
36
|
t: import("vue-i18n").ComposerTranslation<{
|
|
33
37
|
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
@@ -52,6 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
56
|
hideRefresh?: unknown;
|
|
53
57
|
hideSearch?: unknown;
|
|
54
58
|
noShadow?: unknown;
|
|
59
|
+
noRounded?: unknown;
|
|
55
60
|
} & {
|
|
56
61
|
search: Record<string, SearchValue[]>;
|
|
57
62
|
searchPlaceholder: string;
|
|
@@ -59,6 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
64
|
searchOptions: import("./types").SearchOption[];
|
|
60
65
|
hideRefresh: boolean;
|
|
61
66
|
hideSearch: boolean;
|
|
67
|
+
noRounded: boolean;
|
|
62
68
|
} & {
|
|
63
69
|
fuzzy?: import("./types").FuzzyOption | undefined;
|
|
64
70
|
}> & {
|
|
@@ -73,5 +79,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
79
|
fuzzy: import("./types").FuzzyOption;
|
|
74
80
|
hideRefresh: boolean;
|
|
75
81
|
hideSearch: boolean;
|
|
82
|
+
noRounded: boolean;
|
|
76
83
|
}>;
|
|
77
84
|
export default _default;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
}>, never, string, string>;
|
|
53
53
|
sourceData: import("vue").ComputedRef<DataItem[]>;
|
|
54
54
|
targetData: import("vue").ComputedRef<DataItem[]>;
|
|
55
|
-
selectedKeys: import("vue").
|
|
55
|
+
selectedKeys: import("vue").Ref<unknown[]> | import("vue").WritableComputedRef<unknown[]>;
|
|
56
56
|
onChange: ({ direction, row, }: {
|
|
57
57
|
direction: 'left' | 'right';
|
|
58
58
|
row: DataItem;
|