@dao-style/core 1.18.0 → 2.0.0-alpha.2

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.
Files changed (149) hide show
  1. package/dist/components/action-icon/action-icon.d.ts +2 -431
  2. package/dist/components/action-icon/action-icon.vue.d.ts +8 -49
  3. package/dist/components/action-icon/props.d.ts +2 -22
  4. package/dist/components/autocomplete/autocomplete.d.ts +6 -1268
  5. package/dist/components/autocomplete/autocomplete.vue.d.ts +72 -39
  6. package/dist/components/batch-bar/batch-bar.d.ts +2 -165
  7. package/dist/components/batch-bar/batch-bar.vue.d.ts +2 -2
  8. package/dist/components/breadcrumb/breadcrumb-item.d.ts +2 -95
  9. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  10. package/dist/components/breadcrumb/breadcrumb-props.d.ts +2 -2
  11. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -140
  12. package/dist/components/breadcrumb/breadcrumb.vue.d.ts +5 -5
  13. package/dist/components/button/button-group.d.ts +2 -1
  14. package/dist/components/button/button-group.vue.d.ts +1 -1
  15. package/dist/components/button/button.d.ts +2 -529
  16. package/dist/components/button/button.vue.d.ts +13 -54
  17. package/dist/components/button/props.d.ts +4 -24
  18. package/dist/components/card/card-header.d.ts +7 -131
  19. package/dist/components/card/card-header.vue.d.ts +4 -4
  20. package/dist/components/card/card-item.d.ts +2 -43
  21. package/dist/components/card/card-item.vue.d.ts +1 -1
  22. package/dist/components/card/card-props.d.ts +1 -1
  23. package/dist/components/card/card.d.ts +7 -156
  24. package/dist/components/card/card.vue.d.ts +5 -5
  25. package/dist/components/checkbox/checkbox-group.d.ts +2 -106
  26. package/dist/components/checkbox/checkbox-group.vue.d.ts +2 -2
  27. package/dist/components/checkbox/checkbox.d.ts +2 -237
  28. package/dist/components/checkbox/checkbox.vue.d.ts +4 -4
  29. package/dist/components/dialog/dialog-footer.d.ts +2 -159
  30. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  31. package/dist/components/dialog/dialog-header.d.ts +4 -126
  32. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  33. package/dist/components/dialog/dialog.d.ts +4 -481
  34. package/dist/components/dialog/dialog.vue.d.ts +9 -9
  35. package/dist/components/dialog/props.d.ts +2 -1
  36. package/dist/components/drawer/drawer.d.ts +2 -307
  37. package/dist/components/drawer/drawer.vue.d.ts +2 -2
  38. package/dist/components/dropdown/dropdown-item.d.ts +2 -408
  39. package/dist/components/dropdown/dropdown-item.vue.d.ts +8 -49
  40. package/dist/components/dropdown/dropdown-menu.d.ts +2 -43
  41. package/dist/components/dropdown/dropdown-menu.vue.d.ts +1 -1
  42. package/dist/components/dropdown/dropdown.d.ts +2 -1039
  43. package/dist/components/dropdown/dropdown.vue.d.ts +61 -41
  44. package/dist/components/dropdown/props.d.ts +4 -24
  45. package/dist/components/ellipsis/ellipsis.d.ts +2 -4220
  46. package/dist/components/ellipsis/ellipsis.vue.d.ts +497 -517
  47. package/dist/components/empty/empty.d.ts +2 -123
  48. package/dist/components/empty/empty.vue.d.ts +6 -6
  49. package/dist/components/empty/props.d.ts +1 -1
  50. package/dist/components/expansion/expansion-item.d.ts +4 -169
  51. package/dist/components/expansion/expansion-item.vue.d.ts +2 -2
  52. package/dist/components/expansion/expansion.d.ts +2 -158
  53. package/dist/components/expansion/expansion.vue.d.ts +4 -4
  54. package/dist/components/expansion/props.d.ts +1 -1
  55. package/dist/components/form/error-text.d.ts +2 -69
  56. package/dist/components/form/error-text.vue.d.ts +2 -2
  57. package/dist/components/form/form-group.d.ts +3 -184
  58. package/dist/components/form/form-group.vue.d.ts +5 -5
  59. package/dist/components/form/form-item.d.ts +3 -309
  60. package/dist/components/form/form-item.vue.d.ts +11 -10
  61. package/dist/components/form/form.d.ts +2 -134
  62. package/dist/components/form/form.vue.d.ts +6 -6
  63. package/dist/components/form/helper-text.d.ts +2 -69
  64. package/dist/components/form/helper-text.vue.d.ts +2 -2
  65. package/dist/components/form/props.d.ts +6 -6
  66. package/dist/components/header/header.d.ts +2 -106
  67. package/dist/components/header/header.vue.d.ts +3 -3
  68. package/dist/components/icon/icon.d.ts +2 -85
  69. package/dist/components/icon/icon.vue.d.ts +2 -2
  70. package/dist/components/input/input.d.ts +2 -360
  71. package/dist/components/input/input.vue.d.ts +15 -7
  72. package/dist/components/message/message-inner.vue.d.ts +3 -3
  73. package/dist/components/message/message.d.ts +4 -229
  74. package/dist/components/message/message.vue.d.ts +9 -9
  75. package/dist/components/nav/nav-head.d.ts +3 -129
  76. package/dist/components/nav/nav-head.vue.d.ts +2 -2
  77. package/dist/components/nav/nav-item.d.ts +2 -290
  78. package/dist/components/nav/nav-item.vue.d.ts +4 -4
  79. package/dist/components/nav/nav-sub.d.ts +2 -327
  80. package/dist/components/nav/nav-sub.vue.d.ts +4 -4
  81. package/dist/components/nav/nav.d.ts +2 -152
  82. package/dist/components/nav/nav.vue.d.ts +3 -3
  83. package/dist/components/pagination/pagination.d.ts +2 -343
  84. package/dist/components/pagination/pagination.vue.d.ts +3 -3
  85. package/dist/components/popover/popover-props.d.ts +3 -3
  86. package/dist/components/popover/popover.d.ts +2 -371
  87. package/dist/components/popover/popover.vue.d.ts +10 -10
  88. package/dist/components/popper/popper-content.vue.d.ts +4 -4
  89. package/dist/components/popper/popper-props.d.ts +3 -3
  90. package/dist/components/popper/popper.d.ts +2 -371
  91. package/dist/components/popper/popper.vue.d.ts +10 -10
  92. package/dist/components/popper/use-popper.d.ts +1 -1
  93. package/dist/components/progress/progress.d.ts +2 -141
  94. package/dist/components/progress/progress.vue.d.ts +2 -2
  95. package/dist/components/radio/radio-group.d.ts +2 -115
  96. package/dist/components/radio/radio-group.vue.d.ts +2 -2
  97. package/dist/components/radio/radio.d.ts +2 -191
  98. package/dist/components/radio/radio.vue.d.ts +2 -2
  99. package/dist/components/select/option.d.ts +2 -128
  100. package/dist/components/select/option.vue.d.ts +2 -2
  101. package/dist/components/select/options.d.ts +2 -2
  102. package/dist/components/select/props.d.ts +1 -1
  103. package/dist/components/select/select.d.ts +4 -1736
  104. package/dist/components/select/select.vue.d.ts +210 -233
  105. package/dist/components/switch/switch-props.d.ts +1 -1
  106. package/dist/components/switch/switch.vue.d.ts +2 -2
  107. package/dist/components/table/column-setting-props.d.ts +1 -1
  108. package/dist/components/table/column-setting.vue.d.ts +367 -448
  109. package/dist/components/table/components/tdAction.vue.d.ts +2 -2
  110. package/dist/components/table/resizer.vue.d.ts +2 -2
  111. package/dist/components/table/table-props.d.ts +1 -1
  112. package/dist/components/table/table.d.ts +23 -1119
  113. package/dist/components/table/table.vue.d.ts +20 -33
  114. package/dist/components/table/type.d.ts +1 -1
  115. package/dist/components/tabs/props.d.ts +2 -2
  116. package/dist/components/tabs/tab-item.d.ts +2 -133
  117. package/dist/components/tabs/tab-item.vue.d.ts +2 -2
  118. package/dist/components/tabs/tab-nav.d.ts +2 -63
  119. package/dist/components/tabs/tab-nav.vue.d.ts +3 -5
  120. package/dist/components/tabs/tabs.d.ts +2 -231
  121. package/dist/components/tabs/tabs.vue.d.ts +4 -8
  122. package/dist/components/tag/tag.d.ts +2 -153
  123. package/dist/components/tag/tag.vue.d.ts +2 -2
  124. package/dist/components/text-button/test/TestComponent.vue.d.ts +9 -7
  125. package/dist/components/text-button/text-button.d.ts +4 -140
  126. package/dist/components/text-button/text-button.vue.d.ts +15 -15
  127. package/dist/components/toolbar/toolbar-filter.vue.d.ts +2 -2
  128. package/dist/components/toolbar/toolbar.d.ts +3 -295
  129. package/dist/components/toolbar/toolbar.vue.d.ts +2 -2
  130. package/dist/components/tooltip/tooltip-props.d.ts +3 -3
  131. package/dist/components/tooltip/tooltip.d.ts +2 -371
  132. package/dist/components/tooltip/tooltip.vue.d.ts +10 -10
  133. package/dist/components/transfer/props.d.ts +8 -6
  134. package/dist/components/transfer/transfer-panel.d.ts +7 -338
  135. package/dist/components/transfer/transfer-panel.vue.d.ts +17 -17
  136. package/dist/components/transfer/transfer.d.ts +19 -619
  137. package/dist/components/transfer/transfer.vue.d.ts +16 -16
  138. package/dist/components/virtual-select/props.d.ts +3 -3
  139. package/dist/components/virtual-select/uilts.d.ts +1 -1
  140. package/dist/components/virtual-select/virtual-option.vue.d.ts +3 -3
  141. package/dist/components/virtual-select/virtual-select.d.ts +4 -1722
  142. package/dist/components/virtual-select/virtual-select.vue.d.ts +200 -230
  143. package/dist/dao-style.js +31 -7
  144. package/dist/dao-style.mjs +5438 -5181
  145. package/dist/directives/tooltip/directive.d.ts +1 -1
  146. package/dist/directives/tooltip/wrapper.d.ts +5 -5
  147. package/dist/index.d.ts +1 -4
  148. package/dist/style.css +1 -1
  149. package/package.json +18 -14
@@ -1,4 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ import { type TooltipOption } from '../tooltip';
2
3
  export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
3
4
  export declare const BUTTON_TYPES: ButtonType[];
4
5
  export declare const buttonProps: {
@@ -8,9 +9,9 @@ export declare const buttonProps: {
8
9
  validator: (value: ButtonType) => boolean;
9
10
  };
10
11
  size: {
11
- type: PropType<"sm" | "md">;
12
+ type: PropType<"md" | "sm">;
12
13
  default: string;
13
- validator: (value: 'md' | 'sm') => boolean;
14
+ validator: (value: "md" | "sm") => boolean;
14
15
  };
15
16
  loading: {
16
17
  type: BooleanConstructor;
@@ -45,28 +46,7 @@ export declare const buttonProps: {
45
46
  default: boolean;
46
47
  };
47
48
  tooltipOption: {
48
- type: PropType<Partial<{
49
- modelValue: boolean;
50
- disabled: boolean;
51
- offset: string | number;
52
- placement: import("@popperjs/core").Placement;
53
- content: string;
54
- appendTo: string | false | HTMLElement;
55
- boundary: import("@popperjs/core").Boundary;
56
- delay: import("..").DelayProp;
57
- width: string | number;
58
- trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
59
- visibleArrow: boolean;
60
- popperClass: string;
61
- popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
62
- transition: string;
63
- } & {} & {
64
- onHide: () => void;
65
- onShow: () => void;
66
- "onUpdate:modelValue": (isOpen: boolean) => void;
67
- onAfterShow: () => void;
68
- onAfterHide: () => void;
69
- }>>;
49
+ type: PropType<TooltipOption>;
70
50
  default: () => {};
71
51
  };
72
52
  active: {
@@ -1,139 +1,15 @@
1
+ import CardHeader from './card-header.vue';
1
2
  import { SlotFn } from '../../utils/types';
2
3
  import { CardHeaderProps } from './card-props';
3
- declare const DaoCardHeader: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- type: "simple" | "standard";
9
- icon: string;
10
- title: string;
11
- useFont: boolean;
12
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
- type: {
14
- type: import("vue").PropType<"simple" | "standard">;
15
- default: string;
16
- };
17
- icon: {
18
- type: StringConstructor;
19
- default: undefined;
20
- };
21
- useFont: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- title: {
26
- type: StringConstructor;
27
- default: undefined;
28
- };
29
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "icon" | "title" | "useFont">;
30
- $attrs: {
31
- [x: string]: unknown;
32
- };
33
- $refs: {
34
- [x: string]: unknown;
35
- };
36
- $slots: Readonly<{
37
- [name: string]: import("vue").Slot | undefined;
38
- }>;
39
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
40
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
41
- $emit: (event: string, ...args: any[]) => void;
42
- $el: any;
43
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
44
- type: {
45
- type: import("vue").PropType<"simple" | "standard">;
46
- default: string;
47
- };
48
- icon: {
49
- type: StringConstructor;
50
- default: undefined;
51
- };
52
- useFont: {
53
- type: BooleanConstructor;
54
- default: boolean;
55
- };
56
- title: {
57
- type: StringConstructor;
58
- default: undefined;
59
- };
60
- }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
61
- type: "simple" | "standard";
62
- icon: string;
63
- title: string;
64
- useFont: boolean;
65
- }, {}, string> & {
66
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
67
- created?: ((() => void) | (() => void)[]) | undefined;
68
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
69
- mounted?: ((() => void) | (() => void)[]) | undefined;
70
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
71
- updated?: ((() => void) | (() => void)[]) | undefined;
72
- activated?: ((() => void) | (() => void)[]) | undefined;
73
- deactivated?: ((() => void) | (() => void)[]) | undefined;
74
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
75
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
76
- destroyed?: ((() => void) | (() => void)[]) | undefined;
77
- unmounted?: ((() => void) | (() => void)[]) | undefined;
78
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
79
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
80
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
81
- };
82
- $forceUpdate: () => void;
83
- $nextTick: typeof import("vue").nextTick;
84
- $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;
85
- } & Readonly<import("vue").ExtractPropTypes<{
86
- type: {
87
- type: import("vue").PropType<"simple" | "standard">;
88
- default: string;
89
- };
90
- icon: {
91
- type: StringConstructor;
92
- default: undefined;
93
- };
94
- useFont: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- title: {
99
- type: StringConstructor;
100
- default: undefined;
101
- };
102
- }>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
103
- __isFragment?: undefined;
104
- __isTeleport?: undefined;
105
- __isSuspense?: undefined;
106
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
107
- type: {
108
- type: import("vue").PropType<"simple" | "standard">;
109
- default: string;
110
- };
111
- icon: {
112
- type: StringConstructor;
113
- default: undefined;
114
- };
115
- useFont: {
116
- type: BooleanConstructor;
117
- default: boolean;
118
- };
119
- title: {
120
- type: StringConstructor;
121
- default: undefined;
122
- };
123
- }>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
124
- type: "simple" | "standard";
125
- icon: string;
126
- title: string;
127
- useFont: boolean;
128
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
4
+ declare const DaoCardHeader: typeof CardHeader & (new () => {
129
5
  $props: Partial<CardHeaderProps>;
130
6
  $slots: {
131
7
  header: SlotFn;
132
- 'header-prefix': SlotFn;
133
- 'icon': SlotFn;
134
- 'title': SlotFn;
135
- 'action': SlotFn;
136
- 'header-suffix': SlotFn;
8
+ "header-prefix": SlotFn;
9
+ "icon": SlotFn;
10
+ "title": SlotFn;
11
+ "action": SlotFn;
12
+ "header-suffix": SlotFn;
137
13
  };
138
14
  });
139
15
  export default DaoCardHeader;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  type: {
3
- type: import("vue").PropType<"simple" | "standard">;
3
+ type: import("vue").PropType<Exclude<import("./types").CardType, "headless">>;
4
4
  default: string;
5
5
  };
6
6
  icon: {
@@ -15,9 +15,9 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: StringConstructor;
16
16
  default: undefined;
17
17
  };
18
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  type: {
20
- type: import("vue").PropType<"simple" | "standard">;
20
+ type: import("vue").PropType<Exclude<import("./types").CardType, "headless">>;
21
21
  default: string;
22
22
  };
23
23
  icon: {
@@ -37,5 +37,5 @@ declare const _default: import("vue").DefineComponent<{
37
37
  icon: string;
38
38
  title: string;
39
39
  useFont: boolean;
40
- }>;
40
+ }, {}>;
41
41
  export default _default;
@@ -1,47 +1,6 @@
1
+ import CardItem from './card-item.vue';
1
2
  import { SlotFn } from '../../utils/types';
2
- declare const DaoCardItem: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
7
- $attrs: {
8
- [x: string]: unknown;
9
- };
10
- $refs: {
11
- [x: string]: unknown;
12
- };
13
- $slots: Readonly<{
14
- [name: string]: import("vue").Slot | undefined;
15
- }>;
16
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
17
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
18
- $emit: (event: string, ...args: any[]) => void;
19
- $el: any;
20
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
21
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
22
- created?: ((() => void) | (() => void)[]) | undefined;
23
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
24
- mounted?: ((() => void) | (() => void)[]) | undefined;
25
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
26
- updated?: ((() => void) | (() => void)[]) | undefined;
27
- activated?: ((() => void) | (() => void)[]) | undefined;
28
- deactivated?: ((() => void) | (() => void)[]) | undefined;
29
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
30
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
31
- destroyed?: ((() => void) | (() => void)[]) | undefined;
32
- unmounted?: ((() => void) | (() => void)[]) | undefined;
33
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
34
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
35
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
36
- };
37
- $forceUpdate: () => void;
38
- $nextTick: typeof import("vue").nextTick;
39
- $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;
40
- } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
41
- __isFragment?: undefined;
42
- __isTeleport?: undefined;
43
- __isSuspense?: undefined;
44
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
3
+ declare const DaoCardItem: typeof CardItem & (new () => {
45
4
  $slots: {
46
5
  default: SlotFn;
47
6
  };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -24,7 +24,7 @@ export declare const cardProps: {
24
24
  };
25
25
  export declare const cardHeaderProps: {
26
26
  type: {
27
- type: PropType<"simple" | "standard">;
27
+ type: PropType<Exclude<CardType, "headless">>;
28
28
  default: string;
29
29
  };
30
30
  icon: {
@@ -1,164 +1,15 @@
1
+ import Card from './card.vue';
1
2
  import { SlotFn } from '../../utils/types';
2
3
  import { CardProps } from './card-props';
3
- declare const DaoCard: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- type: import("./types").CardType;
9
- icon: string;
10
- title: string;
11
- useFont: boolean;
12
- divider: boolean;
13
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
- type: {
15
- type: import("vue").PropType<import("./types").CardType>;
16
- default: string;
17
- };
18
- icon: {
19
- type: StringConstructor;
20
- default: undefined;
21
- };
22
- useFont: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- title: {
27
- type: StringConstructor;
28
- default: undefined;
29
- };
30
- divider: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "icon" | "title" | "useFont" | "divider">;
35
- $attrs: {
36
- [x: string]: unknown;
37
- };
38
- $refs: {
39
- [x: string]: unknown;
40
- };
41
- $slots: Readonly<{
42
- [name: string]: import("vue").Slot | undefined;
43
- }>;
44
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
45
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
46
- $emit: (event: string, ...args: any[]) => void;
47
- $el: any;
48
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
49
- type: {
50
- type: import("vue").PropType<import("./types").CardType>;
51
- default: string;
52
- };
53
- icon: {
54
- type: StringConstructor;
55
- default: undefined;
56
- };
57
- useFont: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- title: {
62
- type: StringConstructor;
63
- default: undefined;
64
- };
65
- divider: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- }>>, {
70
- cardHeaderSlots: string[];
71
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
72
- type: import("./types").CardType;
73
- icon: string;
74
- title: string;
75
- useFont: boolean;
76
- divider: boolean;
77
- }, {}, string> & {
78
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
79
- created?: ((() => void) | (() => void)[]) | undefined;
80
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
81
- mounted?: ((() => void) | (() => void)[]) | undefined;
82
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
83
- updated?: ((() => void) | (() => void)[]) | undefined;
84
- activated?: ((() => void) | (() => void)[]) | undefined;
85
- deactivated?: ((() => void) | (() => void)[]) | undefined;
86
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
87
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
88
- destroyed?: ((() => void) | (() => void)[]) | undefined;
89
- unmounted?: ((() => void) | (() => void)[]) | undefined;
90
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
91
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
92
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
93
- };
94
- $forceUpdate: () => void;
95
- $nextTick: typeof import("vue").nextTick;
96
- $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;
97
- } & Readonly<import("vue").ExtractPropTypes<{
98
- type: {
99
- type: import("vue").PropType<import("./types").CardType>;
100
- default: string;
101
- };
102
- icon: {
103
- type: StringConstructor;
104
- default: undefined;
105
- };
106
- useFont: {
107
- type: BooleanConstructor;
108
- default: boolean;
109
- };
110
- title: {
111
- type: StringConstructor;
112
- default: undefined;
113
- };
114
- divider: {
115
- type: BooleanConstructor;
116
- default: boolean;
117
- };
118
- }>> & import("vue").ShallowUnwrapRef<{
119
- cardHeaderSlots: string[];
120
- }> & {} & import("vue").ComponentCustomProperties & {};
121
- __isFragment?: undefined;
122
- __isTeleport?: undefined;
123
- __isSuspense?: undefined;
124
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
125
- type: {
126
- type: import("vue").PropType<import("./types").CardType>;
127
- default: string;
128
- };
129
- icon: {
130
- type: StringConstructor;
131
- default: undefined;
132
- };
133
- useFont: {
134
- type: BooleanConstructor;
135
- default: boolean;
136
- };
137
- title: {
138
- type: StringConstructor;
139
- default: undefined;
140
- };
141
- divider: {
142
- type: BooleanConstructor;
143
- default: boolean;
144
- };
145
- }>>, {
146
- cardHeaderSlots: string[];
147
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
148
- type: import("./types").CardType;
149
- icon: string;
150
- title: string;
151
- useFont: boolean;
152
- divider: boolean;
153
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
4
+ declare const DaoCard: typeof Card & (new () => {
154
5
  $props: Partial<CardProps>;
155
6
  $slots: {
156
7
  header: SlotFn;
157
- 'header-prefix': SlotFn;
158
- 'icon': SlotFn;
159
- 'title': SlotFn;
160
- 'action': SlotFn;
161
- 'header-suffix': SlotFn;
8
+ "header-prefix": SlotFn;
9
+ "icon": SlotFn;
10
+ "title": SlotFn;
11
+ "action": SlotFn;
12
+ "header-suffix": SlotFn;
162
13
  default: SlotFn;
163
14
  footer: SlotFn;
164
15
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  type: {
3
- type: import("vue").PropType<import("./types").CardType>;
3
+ type: import("vue").PropType<import("./types.js").CardType>;
4
4
  default: string;
5
5
  };
6
6
  icon: {
@@ -21,9 +21,9 @@ declare const _default: import("vue").DefineComponent<{
21
21
  };
22
22
  }, {
23
23
  cardHeaderSlots: string[];
24
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
25
  type: {
26
- type: import("vue").PropType<import("./types").CardType>;
26
+ type: import("vue").PropType<import("./types.js").CardType>;
27
27
  default: string;
28
28
  };
29
29
  icon: {
@@ -43,10 +43,10 @@ declare const _default: import("vue").DefineComponent<{
43
43
  default: boolean;
44
44
  };
45
45
  }>>, {
46
- type: import("./types").CardType;
46
+ type: import("./types.js").CardType;
47
47
  icon: string;
48
48
  title: string;
49
49
  useFont: boolean;
50
50
  divider: boolean;
51
- }>;
51
+ }, {}>;
52
52
  export default _default;
@@ -1,111 +1,7 @@
1
1
  import { SlotFn } from '../../utils/types';
2
+ import CheckboxGroup from './checkbox-group.vue';
2
3
  import { CheckboxGroupProps } from './props';
3
- export declare const DaoCheckboxGroup: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: Partial<{
8
- modelValue: unknown[] | Set<unknown>;
9
- vertical: boolean;
10
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
- modelValue: {
12
- type: import("vue").PropType<unknown[] | Set<unknown>>;
13
- default: undefined;
14
- };
15
- vertical: {
16
- type: import("vue").PropType<boolean>;
17
- default: boolean;
18
- };
19
- }>> & {
20
- onChange?: ((...args: any[]) => any) | undefined;
21
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
22
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "vertical">;
23
- $attrs: {
24
- [x: string]: unknown;
25
- };
26
- $refs: {
27
- [x: string]: unknown;
28
- };
29
- $slots: Readonly<{
30
- [name: string]: import("vue").Slot | undefined;
31
- }>;
32
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
33
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
34
- $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
35
- $el: any;
36
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
37
- modelValue: {
38
- type: import("vue").PropType<unknown[] | Set<unknown>>;
39
- default: undefined;
40
- };
41
- vertical: {
42
- type: import("vue").PropType<boolean>;
43
- default: boolean;
44
- };
45
- }>> & {
46
- onChange?: ((...args: any[]) => any) | undefined;
47
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
48
- }, {
49
- checkboxGroupClasses: import("vue").ComputedRef<string[]>;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
51
- modelValue: unknown[] | Set<unknown>;
52
- vertical: boolean;
53
- }, {}, string> & {
54
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
55
- created?: ((() => void) | (() => void)[]) | undefined;
56
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
57
- mounted?: ((() => void) | (() => void)[]) | undefined;
58
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
59
- updated?: ((() => void) | (() => void)[]) | undefined;
60
- activated?: ((() => void) | (() => void)[]) | undefined;
61
- deactivated?: ((() => void) | (() => void)[]) | undefined;
62
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
63
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
64
- destroyed?: ((() => void) | (() => void)[]) | undefined;
65
- unmounted?: ((() => void) | (() => void)[]) | undefined;
66
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
68
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
69
- };
70
- $forceUpdate: () => void;
71
- $nextTick: typeof import("vue").nextTick;
72
- $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;
73
- } & Readonly<import("vue").ExtractPropTypes<{
74
- modelValue: {
75
- type: import("vue").PropType<unknown[] | Set<unknown>>;
76
- default: undefined;
77
- };
78
- vertical: {
79
- type: import("vue").PropType<boolean>;
80
- default: boolean;
81
- };
82
- }>> & {
83
- onChange?: ((...args: any[]) => any) | undefined;
84
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
85
- } & import("vue").ShallowUnwrapRef<{
86
- checkboxGroupClasses: import("vue").ComputedRef<string[]>;
87
- }> & {} & import("vue").ComponentCustomProperties & {};
88
- __isFragment?: undefined;
89
- __isTeleport?: undefined;
90
- __isSuspense?: undefined;
91
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
92
- modelValue: {
93
- type: import("vue").PropType<unknown[] | Set<unknown>>;
94
- default: undefined;
95
- };
96
- vertical: {
97
- type: import("vue").PropType<boolean>;
98
- default: boolean;
99
- };
100
- }>> & {
101
- onChange?: ((...args: any[]) => any) | undefined;
102
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
103
- }, {
104
- checkboxGroupClasses: import("vue").ComputedRef<string[]>;
105
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
106
- modelValue: unknown[] | Set<unknown>;
107
- vertical: boolean;
108
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
4
+ export declare const DaoCheckboxGroup: typeof CheckboxGroup & (new () => {
109
5
  $props: Partial<CheckboxGroupProps>;
110
6
  $slots: {
111
7
  default: SlotFn;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  };
10
10
  }, {
11
11
  checkboxGroupClasses: import("vue").ComputedRef<string[]>;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  modelValue: {
14
14
  type: import("vue").PropType<unknown[] | Set<unknown>>;
15
15
  default: undefined;
@@ -24,5 +24,5 @@ declare const _default: import("vue").DefineComponent<{
24
24
  }, {
25
25
  modelValue: unknown[] | Set<unknown>;
26
26
  vertical: boolean;
27
- }>;
27
+ }, {}>;
28
28
  export default _default;