@dao-style/core 1.9.1-beta.1 → 1.9.1-beta.3

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.
@@ -1,14 +1,11 @@
1
1
  import type { PropType, Component, ExtractPropTypes } from 'vue';
2
2
  export type TagType = Element['tagName'] | Component;
3
- export declare const textButtonType: readonly ["default", "action", "link", "custom"];
3
+ export declare const textButtonType: readonly ["default", "action", "link", "link-primary", "custom"];
4
4
  type ThePropType = {
5
5
  type?: typeof textButtonType[number];
6
- /**
7
- * @deprecated icon 后续将被弃用,请将icon替换为iconLeft
8
- */
9
- icon?: string;
10
6
  iconLeft?: string;
11
7
  iconRight?: string;
8
+ dark?: boolean;
12
9
  };
13
10
  export declare const textButtonProps: {
14
11
  tag: {
@@ -6,10 +6,10 @@ declare const DaoTextButton: {
6
6
  $props: Partial<{
7
7
  tag: import("./props").TagType;
8
8
  prop: {
9
- type?: "link" | "default" | "action" | "custom" | undefined;
10
- icon?: string | undefined;
9
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
11
10
  iconLeft?: string | undefined;
12
11
  iconRight?: string | undefined;
12
+ dark?: boolean | undefined;
13
13
  };
14
14
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
15
15
  tag: {
@@ -18,10 +18,10 @@ declare const DaoTextButton: {
18
18
  };
19
19
  prop: {
20
20
  type: import("vue").PropType<{
21
- type?: "link" | "default" | "action" | "custom" | undefined;
22
- icon?: string | undefined;
21
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
23
22
  iconLeft?: string | undefined;
24
23
  iconRight?: string | undefined;
24
+ dark?: boolean | undefined;
25
25
  }>;
26
26
  default: () => {
27
27
  type: string;
@@ -48,10 +48,10 @@ declare const DaoTextButton: {
48
48
  };
49
49
  prop: {
50
50
  type: import("vue").PropType<{
51
- type?: "link" | "default" | "action" | "custom" | undefined;
52
- icon?: string | undefined;
51
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
53
52
  iconLeft?: string | undefined;
54
53
  iconRight?: string | undefined;
54
+ dark?: boolean | undefined;
55
55
  }>;
56
56
  default: () => {
57
57
  type: string;
@@ -62,10 +62,10 @@ declare const DaoTextButton: {
62
62
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
63
63
  tag: import("./props").TagType;
64
64
  prop: {
65
- type?: "link" | "default" | "action" | "custom" | undefined;
66
- icon?: string | undefined;
65
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
67
66
  iconLeft?: string | undefined;
68
67
  iconRight?: string | undefined;
68
+ dark?: boolean | undefined;
69
69
  };
70
70
  }, {}, string> & {
71
71
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -94,10 +94,10 @@ declare const DaoTextButton: {
94
94
  };
95
95
  prop: {
96
96
  type: import("vue").PropType<{
97
- type?: "link" | "default" | "action" | "custom" | undefined;
98
- icon?: string | undefined;
97
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
99
98
  iconLeft?: string | undefined;
100
99
  iconRight?: string | undefined;
100
+ dark?: boolean | undefined;
101
101
  }>;
102
102
  default: () => {
103
103
  type: string;
@@ -116,10 +116,10 @@ declare const DaoTextButton: {
116
116
  };
117
117
  prop: {
118
118
  type: import("vue").PropType<{
119
- type?: "link" | "default" | "action" | "custom" | undefined;
120
- icon?: string | undefined;
119
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
121
120
  iconLeft?: string | undefined;
122
121
  iconRight?: string | undefined;
122
+ dark?: boolean | undefined;
123
123
  }>;
124
124
  default: () => {
125
125
  type: string;
@@ -130,10 +130,10 @@ declare const DaoTextButton: {
130
130
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
131
131
  tag: import("./props").TagType;
132
132
  prop: {
133
- type?: "link" | "default" | "action" | "custom" | undefined;
134
- icon?: string | undefined;
133
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
135
134
  iconLeft?: string | undefined;
136
135
  iconRight?: string | undefined;
136
+ dark?: boolean | undefined;
137
137
  };
138
138
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new <Tag extends import("./props").TagType>(props: {
139
139
  tag: Tag;
@@ -6,10 +6,10 @@ declare const _default: import("vue").DefineComponent<{
6
6
  };
7
7
  prop: {
8
8
  type: import("vue").PropType<{
9
- type?: "link" | "default" | "action" | "custom" | undefined;
10
- icon?: string | undefined;
9
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
11
10
  iconLeft?: string | undefined;
12
11
  iconRight?: string | undefined;
12
+ dark?: boolean | undefined;
13
13
  }>;
14
14
  default: () => {
15
15
  type: string;
@@ -24,10 +24,10 @@ declare const _default: import("vue").DefineComponent<{
24
24
  };
25
25
  prop: {
26
26
  type: import("vue").PropType<{
27
- type?: "link" | "default" | "action" | "custom" | undefined;
28
- icon?: string | undefined;
27
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
29
28
  iconLeft?: string | undefined;
30
29
  iconRight?: string | undefined;
30
+ dark?: boolean | undefined;
31
31
  }>;
32
32
  default: () => {
33
33
  type: string;
@@ -36,10 +36,10 @@ declare const _default: import("vue").DefineComponent<{
36
36
  }>>, {
37
37
  tag: import("./props").TagType;
38
38
  prop: {
39
- type?: "link" | "default" | "action" | "custom" | undefined;
40
- icon?: string | undefined;
39
+ type?: "link" | "default" | "action" | "link-primary" | "custom" | undefined;
41
40
  iconLeft?: string | undefined;
42
41
  iconRight?: string | undefined;
42
+ dark?: boolean | undefined;
43
43
  };
44
44
  }>;
45
45
  export default _default;
@@ -56,6 +56,10 @@ export declare const transferProps: {
56
56
  type: PropType<unknown[]>;
57
57
  default: () => never[];
58
58
  };
59
+ selectedData: {
60
+ type: PropType<DataItem[]>;
61
+ default: () => never[];
62
+ };
59
63
  disabledKeys: {
60
64
  type: PropType<unknown[]>;
61
65
  default: () => never[];
@@ -21,6 +21,7 @@ declare const DaoTransfer: {
21
21
  currentPage: number;
22
22
  pageSizerWidth: number;
23
23
  pageLayout: import("..").PaginationLayoutKey[];
24
+ selectedData: import("./props").DataItem[];
24
25
  disabledKeys: unknown[];
25
26
  filterable: boolean[];
26
27
  filterMethod: ((query: string, item: import("./props").DataItem) => boolean)[];
@@ -75,6 +76,10 @@ declare const DaoTransfer: {
75
76
  type: import("vue").PropType<unknown[]>;
76
77
  default: () => never[];
77
78
  };
79
+ selectedData: {
80
+ type: import("vue").PropType<import("./props").DataItem[]>;
81
+ default: () => never[];
82
+ };
78
83
  disabledKeys: {
79
84
  type: import("vue").PropType<unknown[]>;
80
85
  default: () => never[];
@@ -127,7 +132,7 @@ declare const DaoTransfer: {
127
132
  onClear?: ((...args: any[]) => any) | undefined;
128
133
  "onLeft-search"?: ((...args: any[]) => any) | undefined;
129
134
  "onRight-search"?: ((...args: any[]) => any) | undefined;
130
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "modelValue" | "props" | "source" | "total" | "pageSize" | "pageSizeOptions" | "pageFormat" | "totalFormat" | "currentPage" | "pageSizerWidth" | "pageLayout" | "disabledKeys" | "filterable" | "filterMethod" | "filterPlaceholder" | "hideDesc" | "hideCheckAll" | "hideClear">;
135
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "modelValue" | "props" | "source" | "total" | "pageSize" | "pageSizeOptions" | "pageFormat" | "totalFormat" | "currentPage" | "pageSizerWidth" | "pageLayout" | "selectedData" | "disabledKeys" | "filterable" | "filterMethod" | "filterPlaceholder" | "hideDesc" | "hideCheckAll" | "hideClear">;
131
136
  $attrs: {
132
137
  [x: string]: unknown;
133
138
  };
@@ -188,6 +193,10 @@ declare const DaoTransfer: {
188
193
  type: import("vue").PropType<unknown[]>;
189
194
  default: () => never[];
190
195
  };
196
+ selectedData: {
197
+ type: import("vue").PropType<import("./props").DataItem[]>;
198
+ default: () => never[];
199
+ };
191
200
  disabledKeys: {
192
201
  type: import("vue").PropType<unknown[]>;
193
202
  default: () => never[];
@@ -277,6 +286,7 @@ declare const DaoTransfer: {
277
286
  currentPage: number;
278
287
  pageSizerWidth: number;
279
288
  pageLayout: import("..").PaginationLayoutKey[];
289
+ selectedData: import("./props").DataItem[];
280
290
  disabledKeys: unknown[];
281
291
  filterable: boolean[];
282
292
  filterMethod: ((query: string, item: import("./props").DataItem) => boolean)[];
@@ -351,6 +361,10 @@ declare const DaoTransfer: {
351
361
  type: import("vue").PropType<unknown[]>;
352
362
  default: () => never[];
353
363
  };
364
+ selectedData: {
365
+ type: import("vue").PropType<import("./props").DataItem[]>;
366
+ default: () => never[];
367
+ };
354
368
  disabledKeys: {
355
369
  type: import("vue").PropType<unknown[]>;
356
370
  default: () => never[];
@@ -474,6 +488,10 @@ declare const DaoTransfer: {
474
488
  type: import("vue").PropType<unknown[]>;
475
489
  default: () => never[];
476
490
  };
491
+ selectedData: {
492
+ type: import("vue").PropType<import("./props").DataItem[]>;
493
+ default: () => never[];
494
+ };
477
495
  disabledKeys: {
478
496
  type: import("vue").PropType<unknown[]>;
479
497
  default: () => never[];
@@ -563,6 +581,7 @@ declare const DaoTransfer: {
563
581
  currentPage: number;
564
582
  pageSizerWidth: number;
565
583
  pageLayout: import("..").PaginationLayoutKey[];
584
+ selectedData: import("./props").DataItem[];
566
585
  disabledKeys: unknown[];
567
586
  filterable: boolean[];
568
587
  filterMethod: ((query: string, item: import("./props").DataItem) => boolean)[];
@@ -47,6 +47,10 @@ declare const _default: import("vue").DefineComponent<{
47
47
  type: import("vue").PropType<unknown[]>;
48
48
  default: () => never[];
49
49
  };
50
+ selectedData: {
51
+ type: import("vue").PropType<DataItem[]>;
52
+ default: () => never[];
53
+ };
50
54
  disabledKeys: {
51
55
  type: import("vue").PropType<unknown[]>;
52
56
  default: () => never[];
@@ -150,6 +154,10 @@ declare const _default: import("vue").DefineComponent<{
150
154
  type: import("vue").PropType<unknown[]>;
151
155
  default: () => never[];
152
156
  };
157
+ selectedData: {
158
+ type: import("vue").PropType<DataItem[]>;
159
+ default: () => never[];
160
+ };
153
161
  disabledKeys: {
154
162
  type: import("vue").PropType<unknown[]>;
155
163
  default: () => never[];
@@ -219,6 +227,7 @@ declare const _default: import("vue").DefineComponent<{
219
227
  currentPage: number;
220
228
  pageSizerWidth: number;
221
229
  pageLayout: import("../pagination").PaginationLayoutKey[];
230
+ selectedData: DataItem[];
222
231
  disabledKeys: unknown[];
223
232
  filterable: boolean[];
224
233
  filterMethod: ((query: string, item: DataItem) => boolean)[];