@cyberpunk-vue/components 0.1.0 → 0.1.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 (207) hide show
  1. package/dist/avatar/index.d.ts +302 -0
  2. package/dist/avatar/index.d.ts.map +1 -0
  3. package/dist/avatar/src/avatar-group.d.ts +113 -0
  4. package/dist/avatar/src/avatar-group.d.ts.map +1 -0
  5. package/dist/avatar/src/avatar-group.vue.d.ts +87 -0
  6. package/dist/avatar/src/avatar-group.vue.d.ts.map +1 -0
  7. package/dist/avatar/src/avatar.d.ts +157 -0
  8. package/dist/avatar/src/avatar.d.ts.map +1 -0
  9. package/dist/avatar/src/avatar.vue.d.ts +127 -0
  10. package/dist/avatar/src/avatar.vue.d.ts.map +1 -0
  11. package/dist/avatar/src/instance.d.ts +5 -0
  12. package/dist/avatar/src/instance.d.ts.map +1 -0
  13. package/dist/button/index.d.ts +387 -0
  14. package/dist/button/index.d.ts.map +1 -0
  15. package/dist/button/src/button.d.ts +289 -0
  16. package/dist/button/src/button.d.ts.map +1 -0
  17. package/dist/button/src/button.vue.d.ts +225 -0
  18. package/dist/button/src/button.vue.d.ts.map +1 -0
  19. package/dist/button/src/instance.d.ts +3 -0
  20. package/dist/button/src/instance.d.ts.map +1 -0
  21. package/dist/card/index.d.ts +430 -0
  22. package/dist/card/index.d.ts.map +1 -0
  23. package/dist/card/src/card.d.ts +341 -0
  24. package/dist/card/src/card.d.ts.map +1 -0
  25. package/dist/card/src/card.vue.d.ts +256 -0
  26. package/dist/card/src/card.vue.d.ts.map +1 -0
  27. package/dist/card/src/instance.d.ts +3 -0
  28. package/dist/card/src/instance.d.ts.map +1 -0
  29. package/dist/checkbox/index.d.ts +230 -0
  30. package/dist/checkbox/index.d.ts.map +1 -0
  31. package/dist/checkbox/src/checkbox.d.ts +150 -0
  32. package/dist/checkbox/src/checkbox.d.ts.map +1 -0
  33. package/dist/checkbox/src/checkbox.vue.d.ts +136 -0
  34. package/dist/checkbox/src/checkbox.vue.d.ts.map +1 -0
  35. package/dist/checkbox/src/instance.d.ts +3 -0
  36. package/dist/checkbox/src/instance.d.ts.map +1 -0
  37. package/dist/checkbox-group/index.d.ts +169 -0
  38. package/dist/checkbox-group/index.d.ts.map +1 -0
  39. package/dist/checkbox-group/src/checkbox-group.d.ts +88 -0
  40. package/dist/checkbox-group/src/checkbox-group.d.ts.map +1 -0
  41. package/dist/checkbox-group/src/checkbox-group.vue.d.ts +94 -0
  42. package/dist/checkbox-group/src/checkbox-group.vue.d.ts.map +1 -0
  43. package/dist/checkbox-group/src/constants.d.ts +13 -0
  44. package/dist/checkbox-group/src/constants.d.ts.map +1 -0
  45. package/dist/checkbox-group/src/instance.d.ts +3 -0
  46. package/dist/checkbox-group/src/instance.d.ts.map +1 -0
  47. package/dist/config-provider/index.d.ts +76 -0
  48. package/dist/config-provider/index.d.ts.map +1 -0
  49. package/dist/config-provider/src/config-provider.d.ts +83 -0
  50. package/dist/config-provider/src/config-provider.d.ts.map +1 -0
  51. package/dist/config-provider/src/config-provider.vue.d.ts +39 -0
  52. package/dist/config-provider/src/config-provider.vue.d.ts.map +1 -0
  53. package/dist/config-provider/src/instance.d.ts +3 -0
  54. package/dist/config-provider/src/instance.d.ts.map +1 -0
  55. package/dist/dropdown/index.d.ts +391 -0
  56. package/dist/dropdown/index.d.ts.map +1 -0
  57. package/dist/dropdown/src/dropdown.d.ts +259 -0
  58. package/dist/dropdown/src/dropdown.d.ts.map +1 -0
  59. package/dist/dropdown/src/dropdown.vue.d.ts +232 -0
  60. package/dist/dropdown/src/dropdown.vue.d.ts.map +1 -0
  61. package/dist/dropdown/src/instance.d.ts +17 -0
  62. package/dist/dropdown/src/instance.d.ts.map +1 -0
  63. package/dist/icon/index.d.ts +132 -0
  64. package/dist/icon/index.d.ts.map +1 -0
  65. package/dist/icon/src/icon.d.ts +131 -0
  66. package/dist/icon/src/icon.d.ts.map +1 -0
  67. package/dist/icon/src/icon.vue.d.ts +75 -0
  68. package/dist/icon/src/icon.vue.d.ts.map +1 -0
  69. package/dist/image/index.d.ts +328 -0
  70. package/dist/image/index.d.ts.map +1 -0
  71. package/dist/image/src/image.d.ts +231 -0
  72. package/dist/image/src/image.d.ts.map +1 -0
  73. package/dist/image/src/image.vue.d.ts +206 -0
  74. package/dist/image/src/image.vue.d.ts.map +1 -0
  75. package/dist/image/src/instance.d.ts +3 -0
  76. package/dist/image/src/instance.d.ts.map +1 -0
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.d.ts +25 -0
  79. package/dist/index.d.ts.map +1 -0
  80. package/dist/index.mjs +7 -6
  81. package/dist/input/index.d.ts +350 -0
  82. package/dist/input/index.d.ts.map +1 -0
  83. package/dist/input/src/input.d.ts +280 -0
  84. package/dist/input/src/input.d.ts.map +1 -0
  85. package/dist/input/src/input.vue.d.ts +197 -0
  86. package/dist/input/src/input.vue.d.ts.map +1 -0
  87. package/dist/input/src/instance.d.ts +3 -0
  88. package/dist/input/src/instance.d.ts.map +1 -0
  89. package/dist/input-number/index.d.ts +132 -0
  90. package/dist/input-number/index.d.ts.map +1 -0
  91. package/dist/input-number/src/input-number.d.ts +81 -0
  92. package/dist/input-number/src/input-number.d.ts.map +1 -0
  93. package/dist/input-number/src/input-number.vue.d.ts +130 -0
  94. package/dist/input-number/src/input-number.vue.d.ts.map +1 -0
  95. package/dist/input-number/src/instance.d.ts +3 -0
  96. package/dist/input-number/src/instance.d.ts.map +1 -0
  97. package/dist/loading/index.d.ts +58 -0
  98. package/dist/loading/index.d.ts.map +1 -0
  99. package/dist/loading/src/instance.d.ts +3 -0
  100. package/dist/loading/src/instance.d.ts.map +1 -0
  101. package/dist/loading/src/loading.d.ts +80 -0
  102. package/dist/loading/src/loading.d.ts.map +1 -0
  103. package/dist/loading/src/loading.vue.d.ts +42 -0
  104. package/dist/loading/src/loading.vue.d.ts.map +1 -0
  105. package/dist/pattern-background/index.d.ts +115 -0
  106. package/dist/pattern-background/index.d.ts.map +1 -0
  107. package/dist/pattern-background/src/instance.d.ts +3 -0
  108. package/dist/pattern-background/src/instance.d.ts.map +1 -0
  109. package/dist/pattern-background/src/pattern-background.d.ts +122 -0
  110. package/dist/pattern-background/src/pattern-background.d.ts.map +1 -0
  111. package/dist/pattern-background/src/pattern-background.vue.d.ts +96 -0
  112. package/dist/pattern-background/src/pattern-background.vue.d.ts.map +1 -0
  113. package/dist/popover/index.d.ts +5 -0
  114. package/dist/popover/index.d.ts.map +1 -0
  115. package/dist/popover/src/instance.d.ts +3 -0
  116. package/dist/popover/src/instance.d.ts.map +1 -0
  117. package/dist/popover/src/popover.d.ts +190 -0
  118. package/dist/popover/src/popover.d.ts.map +1 -0
  119. package/dist/popover/src/popover.vue.d.ts +189 -0
  120. package/dist/popover/src/popover.vue.d.ts.map +1 -0
  121. package/dist/progress/index.d.ts +380 -0
  122. package/dist/progress/index.d.ts.map +1 -0
  123. package/dist/progress/src/instance.d.ts +3 -0
  124. package/dist/progress/src/instance.d.ts.map +1 -0
  125. package/dist/progress/src/progress.d.ts +277 -0
  126. package/dist/progress/src/progress.d.ts.map +1 -0
  127. package/dist/progress/src/progress.vue.d.ts +224 -0
  128. package/dist/progress/src/progress.vue.d.ts.map +1 -0
  129. package/dist/radio/index.d.ts +188 -0
  130. package/dist/radio/index.d.ts.map +1 -0
  131. package/dist/radio/src/instance.d.ts +3 -0
  132. package/dist/radio/src/instance.d.ts.map +1 -0
  133. package/dist/radio/src/radio.d.ts +117 -0
  134. package/dist/radio/src/radio.d.ts.map +1 -0
  135. package/dist/radio/src/radio.vue.d.ts +108 -0
  136. package/dist/radio/src/radio.vue.d.ts.map +1 -0
  137. package/dist/radio-group/index.d.ts +154 -0
  138. package/dist/radio-group/index.d.ts.map +1 -0
  139. package/dist/radio-group/src/constants.d.ts +12 -0
  140. package/dist/radio-group/src/constants.d.ts.map +1 -0
  141. package/dist/radio-group/src/instance.d.ts +3 -0
  142. package/dist/radio-group/src/instance.d.ts.map +1 -0
  143. package/dist/radio-group/src/radio-group.d.ts +81 -0
  144. package/dist/radio-group/src/radio-group.d.ts.map +1 -0
  145. package/dist/radio-group/src/radio-group.vue.d.ts +85 -0
  146. package/dist/radio-group/src/radio-group.vue.d.ts.map +1 -0
  147. package/dist/slider/index.d.ts +169 -0
  148. package/dist/slider/index.d.ts.map +1 -0
  149. package/dist/slider/src/instance.d.ts +3 -0
  150. package/dist/slider/src/instance.d.ts.map +1 -0
  151. package/dist/slider/src/slider.d.ts +205 -0
  152. package/dist/slider/src/slider.d.ts.map +1 -0
  153. package/dist/slider/src/slider.vue.d.ts +153 -0
  154. package/dist/slider/src/slider.vue.d.ts.map +1 -0
  155. package/dist/spacer/index.d.ts +18 -0
  156. package/dist/spacer/index.d.ts.map +1 -0
  157. package/dist/spacer/src/spacer.d.ts +4 -0
  158. package/dist/spacer/src/spacer.d.ts.map +1 -0
  159. package/dist/spacer/src/spacer.vue.d.ts +3 -0
  160. package/dist/spacer/src/spacer.vue.d.ts.map +1 -0
  161. package/dist/status-indicator/index.d.ts +162 -0
  162. package/dist/status-indicator/index.d.ts.map +1 -0
  163. package/dist/status-indicator/src/instance.d.ts +3 -0
  164. package/dist/status-indicator/src/instance.d.ts.map +1 -0
  165. package/dist/status-indicator/src/status-indicator.d.ts +146 -0
  166. package/dist/status-indicator/src/status-indicator.d.ts.map +1 -0
  167. package/dist/status-indicator/src/status-indicator.vue.d.ts +102 -0
  168. package/dist/status-indicator/src/status-indicator.vue.d.ts.map +1 -0
  169. package/dist/switch/index.d.ts +148 -0
  170. package/dist/switch/index.d.ts.map +1 -0
  171. package/dist/switch/src/instance.d.ts +3 -0
  172. package/dist/switch/src/instance.d.ts.map +1 -0
  173. package/dist/switch/src/switch.d.ts +184 -0
  174. package/dist/switch/src/switch.d.ts.map +1 -0
  175. package/dist/switch/src/switch.vue.d.ts +133 -0
  176. package/dist/switch/src/switch.vue.d.ts.map +1 -0
  177. package/dist/tag/index.d.ts +212 -0
  178. package/dist/tag/index.d.ts.map +1 -0
  179. package/dist/tag/src/instance.d.ts +3 -0
  180. package/dist/tag/src/instance.d.ts.map +1 -0
  181. package/dist/tag/src/tag.d.ts +177 -0
  182. package/dist/tag/src/tag.d.ts.map +1 -0
  183. package/dist/tag/src/tag.vue.d.ts +121 -0
  184. package/dist/tag/src/tag.vue.d.ts.map +1 -0
  185. package/dist/text/index.d.ts +327 -0
  186. package/dist/text/index.d.ts.map +1 -0
  187. package/dist/text/src/instance.d.ts +3 -0
  188. package/dist/text/src/instance.d.ts.map +1 -0
  189. package/dist/text/src/text.d.ts +218 -0
  190. package/dist/text/src/text.d.ts.map +1 -0
  191. package/dist/text/src/text.vue.d.ts +194 -0
  192. package/dist/text/src/text.vue.d.ts.map +1 -0
  193. package/dist/textarea/index.d.ts +143 -0
  194. package/dist/textarea/index.d.ts.map +1 -0
  195. package/dist/textarea/src/instance.d.ts +3 -0
  196. package/dist/textarea/src/instance.d.ts.map +1 -0
  197. package/dist/textarea/src/textarea.d.ts +89 -0
  198. package/dist/textarea/src/textarea.d.ts.map +1 -0
  199. package/dist/textarea/src/textarea.vue.d.ts +157 -0
  200. package/dist/textarea/src/textarea.vue.d.ts.map +1 -0
  201. package/dist/utils/index.d.ts +2 -0
  202. package/dist/utils/index.d.ts.map +1 -0
  203. package/dist/utils/install.d.ts +7 -0
  204. package/dist/utils/install.d.ts.map +1 -0
  205. package/dist/vite.config.d.ts +3 -0
  206. package/dist/vite.config.d.ts.map +1 -0
  207. package/package.json +4 -4
@@ -0,0 +1,127 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLSpanElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ readonly src: {
12
+ readonly type: StringConstructor;
13
+ readonly default: "";
14
+ };
15
+ readonly alt: {
16
+ readonly type: StringConstructor;
17
+ readonly default: "";
18
+ };
19
+ readonly size: {
20
+ readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
21
+ readonly default: "md";
22
+ };
23
+ readonly shape: {
24
+ readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
25
+ readonly default: "circle";
26
+ };
27
+ readonly icon: {
28
+ readonly type: import('vue').PropType<import('vue').Component>;
29
+ readonly default: undefined;
30
+ };
31
+ readonly fallbackSrc: {
32
+ readonly type: StringConstructor;
33
+ readonly default: "";
34
+ };
35
+ readonly fit: {
36
+ readonly type: import('vue').PropType<"cover" | "contain" | "fill">;
37
+ readonly default: "cover";
38
+ };
39
+ readonly srcProcessor: {
40
+ readonly type: import('vue').PropType<string | ((src: string, params
41
+ /**
42
+ * CpAvatar - 赛博朋克风格头像组件
43
+ * 支持多种尺寸、形状,可显示图片、图标或文字
44
+ */
45
+ ?: unknown) => string)>;
46
+ readonly default: undefined;
47
+ };
48
+ readonly processorParams: {
49
+ readonly type: import('vue').PropType<string | Record<string, unknown> | unknown[]>;
50
+ readonly default: undefined;
51
+ };
52
+ readonly draggable: {
53
+ readonly type: BooleanConstructor;
54
+ readonly default: false;
55
+ };
56
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
+ error: (event: Event) => void;
58
+ load: (event: Event) => void;
59
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
60
+ readonly src: {
61
+ readonly type: StringConstructor;
62
+ readonly default: "";
63
+ };
64
+ readonly alt: {
65
+ readonly type: StringConstructor;
66
+ readonly default: "";
67
+ };
68
+ readonly size: {
69
+ readonly type: import('vue').PropType<import('./avatar').AvatarSize>;
70
+ readonly default: "md";
71
+ };
72
+ readonly shape: {
73
+ readonly type: import('vue').PropType<import('./avatar').AvatarShape>;
74
+ readonly default: "circle";
75
+ };
76
+ readonly icon: {
77
+ readonly type: import('vue').PropType<import('vue').Component>;
78
+ readonly default: undefined;
79
+ };
80
+ readonly fallbackSrc: {
81
+ readonly type: StringConstructor;
82
+ readonly default: "";
83
+ };
84
+ readonly fit: {
85
+ readonly type: import('vue').PropType<"cover" | "contain" | "fill">;
86
+ readonly default: "cover";
87
+ };
88
+ readonly srcProcessor: {
89
+ readonly type: import('vue').PropType<string | ((src: string, params
90
+ /**
91
+ * CpAvatar - 赛博朋克风格头像组件
92
+ * 支持多种尺寸、形状,可显示图片、图标或文字
93
+ */
94
+ ?: unknown) => string)>;
95
+ readonly default: undefined;
96
+ };
97
+ readonly processorParams: {
98
+ readonly type: import('vue').PropType<string | Record<string, unknown> | unknown[]>;
99
+ readonly default: undefined;
100
+ };
101
+ readonly draggable: {
102
+ readonly type: BooleanConstructor;
103
+ readonly default: false;
104
+ };
105
+ }>> & Readonly<{
106
+ onError?: ((event: Event) => any) | undefined;
107
+ onLoad?: ((event: Event) => any) | undefined;
108
+ }>, {
109
+ readonly size: import('./avatar').AvatarSize;
110
+ readonly shape: import('./avatar').AvatarShape;
111
+ readonly icon: import('vue').Component;
112
+ readonly src: string;
113
+ readonly alt: string;
114
+ readonly fit: "fill" | "contain" | "cover";
115
+ readonly fallbackSrc: string;
116
+ readonly srcProcessor: string | ((src: string, params?: unknown) => string);
117
+ readonly processorParams: string | unknown[] | Record<string, unknown>;
118
+ readonly draggable: boolean;
119
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
120
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
121
+ export default _default;
122
+ type __VLS_WithTemplateSlots<T, S> = T & {
123
+ new (): {
124
+ $slots: S;
125
+ };
126
+ };
127
+ //# sourceMappingURL=avatar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.vue.d.ts","sourceRoot":"","sources":["../../../avatar/src/avatar.vue"],"names":[],"mappings":"AAoQA,iBAAS,cAAc;WAoET,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA5MrB;;;WAGG;QACH,CA/DK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2DL;;;WAGG;QACH,CA/DK;;;;;;;;;;;;;;;;;;;;;;;;;wFA+QH,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { default as CpAvatar } from './avatar.vue';
2
+ import { default as CpAvatarGroup } from './avatar-group.vue';
3
+ export type CpAvatarInstance = InstanceType<typeof CpAvatar> & unknown;
4
+ export type CpAvatarGroupInstance = InstanceType<typeof CpAvatarGroup> & unknown;
5
+ //# sourceMappingURL=instance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instance.d.ts","sourceRoot":"","sources":["../../../avatar/src/instance.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,cAAc,CAAA;AACxC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,GAAG,OAAO,CAAA;AACtE,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG,OAAO,CAAA"}
@@ -0,0 +1,387 @@
1
+ /**
2
+ * CpButton 赛博朋克风格按钮
3
+ *
4
+ * 支持多种颜色类型、尺寸、形态变体。具有特色的切角造型和霓虹发光效果。
5
+ *
6
+ * @example
7
+ * ```vue
8
+ * <CpButton type="primary">确认</CpButton>
9
+ * <CpButton variant="neon" type="success">霓虹按钮</CpButton>
10
+ * <CpButton :loading="isLoading" loading-placeholder>提交</CpButton>
11
+ * ```
12
+ *
13
+ * @see {@link ButtonProps} 查看所有可用属性
14
+ *
15
+ * @slot default - 按钮文本内容
16
+ * @slot prefix - 前缀插槽,通常用于图标,加载时自动隐藏
17
+ * @slot suffix - 后缀插槽,通常用于图标
18
+ */
19
+ export declare const CpButton: import('../utils').SFCWithInstall<{
20
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
21
+ readonly type: {
22
+ readonly type: import('vue').PropType<import('.').ButtonType>;
23
+ readonly default: "default";
24
+ };
25
+ readonly size: {
26
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
27
+ readonly default: "md";
28
+ };
29
+ readonly variant: {
30
+ readonly type: import('vue').PropType<import('.').ButtonVariant>;
31
+ readonly default: "solid";
32
+ };
33
+ readonly disabled: {
34
+ readonly type: BooleanConstructor;
35
+ readonly default: false;
36
+ };
37
+ readonly loading: {
38
+ readonly type: BooleanConstructor;
39
+ readonly default: false;
40
+ };
41
+ readonly block: {
42
+ readonly type: BooleanConstructor;
43
+ readonly default: false;
44
+ };
45
+ readonly nativeType: {
46
+ readonly type: import('vue').PropType<"button" | "submit" | "reset">;
47
+ readonly default: "button";
48
+ };
49
+ readonly color: {
50
+ readonly type: StringConstructor;
51
+ readonly default: "";
52
+ };
53
+ readonly shape: {
54
+ readonly type: import('vue').PropType<"clip" | "no-clip" | "round" | "circle">;
55
+ readonly default: "clip";
56
+ };
57
+ readonly dashed: {
58
+ readonly type: BooleanConstructor;
59
+ readonly default: false;
60
+ };
61
+ readonly loadingPlaceholder: {
62
+ readonly type: BooleanConstructor;
63
+ readonly default: false;
64
+ };
65
+ readonly loadingDisabled: {
66
+ readonly type: BooleanConstructor;
67
+ readonly default: false;
68
+ };
69
+ readonly textColor: {
70
+ readonly type: StringConstructor;
71
+ readonly default: "";
72
+ };
73
+ readonly icon: {
74
+ readonly type: import('vue').PropType<object>;
75
+ readonly default: undefined;
76
+ };
77
+ readonly iconColor: {
78
+ readonly type: StringConstructor;
79
+ readonly default: "";
80
+ };
81
+ readonly prefixIcon: {
82
+ readonly type: import('vue').PropType<object>;
83
+ readonly default: undefined;
84
+ };
85
+ readonly suffixIcon: {
86
+ readonly type: import('vue').PropType<object>;
87
+ readonly default: undefined;
88
+ };
89
+ readonly prefixIconColor: {
90
+ readonly type: StringConstructor;
91
+ readonly default: "";
92
+ };
93
+ readonly suffixIconColor: {
94
+ readonly type: StringConstructor;
95
+ readonly default: "";
96
+ };
97
+ readonly iconSize: {
98
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
99
+ readonly default: "";
100
+ };
101
+ readonly prefixIconSize: {
102
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
103
+ readonly default: "";
104
+ };
105
+ readonly suffixIconSize: {
106
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
107
+ readonly default: "";
108
+ };
109
+ }>> & Readonly<{
110
+ onClick?: ((evt: MouseEvent) => any) | undefined;
111
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
112
+ click: (evt: MouseEvent) => void;
113
+ }, import('vue').PublicProps, {
114
+ readonly size: import('../../cyberpunk-vue').Size;
115
+ readonly type: import('.').ButtonType;
116
+ readonly variant: import('.').ButtonVariant;
117
+ readonly disabled: boolean;
118
+ readonly loading: boolean;
119
+ readonly block: boolean;
120
+ readonly nativeType: "button" | "submit" | "reset";
121
+ readonly color: string;
122
+ readonly shape: "clip" | "no-clip" | "round" | "circle";
123
+ readonly dashed: boolean;
124
+ readonly loadingPlaceholder: boolean;
125
+ readonly loadingDisabled: boolean;
126
+ readonly textColor: string;
127
+ readonly icon: object;
128
+ readonly iconColor: string;
129
+ readonly prefixIcon: object;
130
+ readonly suffixIcon: object;
131
+ readonly prefixIconColor: string;
132
+ readonly suffixIconColor: string;
133
+ readonly iconSize: import('../../cyberpunk-vue').Size;
134
+ readonly prefixIconSize: import('../../cyberpunk-vue').Size;
135
+ readonly suffixIconSize: import('../../cyberpunk-vue').Size;
136
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
137
+ P: {};
138
+ B: {};
139
+ D: {};
140
+ C: {};
141
+ M: {};
142
+ Defaults: {};
143
+ }, Readonly<import('vue').ExtractPropTypes<{
144
+ readonly type: {
145
+ readonly type: import('vue').PropType<import('.').ButtonType>;
146
+ readonly default: "default";
147
+ };
148
+ readonly size: {
149
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
150
+ readonly default: "md";
151
+ };
152
+ readonly variant: {
153
+ readonly type: import('vue').PropType<import('.').ButtonVariant>;
154
+ readonly default: "solid";
155
+ };
156
+ readonly disabled: {
157
+ readonly type: BooleanConstructor;
158
+ readonly default: false;
159
+ };
160
+ readonly loading: {
161
+ readonly type: BooleanConstructor;
162
+ readonly default: false;
163
+ };
164
+ readonly block: {
165
+ readonly type: BooleanConstructor;
166
+ readonly default: false;
167
+ };
168
+ readonly nativeType: {
169
+ readonly type: import('vue').PropType<"button" | "submit" | "reset">;
170
+ readonly default: "button";
171
+ };
172
+ readonly color: {
173
+ readonly type: StringConstructor;
174
+ readonly default: "";
175
+ };
176
+ readonly shape: {
177
+ readonly type: import('vue').PropType<"clip" | "no-clip" | "round" | "circle">;
178
+ readonly default: "clip";
179
+ };
180
+ readonly dashed: {
181
+ readonly type: BooleanConstructor;
182
+ readonly default: false;
183
+ };
184
+ readonly loadingPlaceholder: {
185
+ readonly type: BooleanConstructor;
186
+ readonly default: false;
187
+ };
188
+ readonly loadingDisabled: {
189
+ readonly type: BooleanConstructor;
190
+ readonly default: false;
191
+ };
192
+ readonly textColor: {
193
+ readonly type: StringConstructor;
194
+ readonly default: "";
195
+ };
196
+ readonly icon: {
197
+ readonly type: import('vue').PropType<object>;
198
+ readonly default: undefined;
199
+ };
200
+ readonly iconColor: {
201
+ readonly type: StringConstructor;
202
+ readonly default: "";
203
+ };
204
+ readonly prefixIcon: {
205
+ readonly type: import('vue').PropType<object>;
206
+ readonly default: undefined;
207
+ };
208
+ readonly suffixIcon: {
209
+ readonly type: import('vue').PropType<object>;
210
+ readonly default: undefined;
211
+ };
212
+ readonly prefixIconColor: {
213
+ readonly type: StringConstructor;
214
+ readonly default: "";
215
+ };
216
+ readonly suffixIconColor: {
217
+ readonly type: StringConstructor;
218
+ readonly default: "";
219
+ };
220
+ readonly iconSize: {
221
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
222
+ readonly default: "";
223
+ };
224
+ readonly prefixIconSize: {
225
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
226
+ readonly default: "";
227
+ };
228
+ readonly suffixIconSize: {
229
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
230
+ readonly default: "";
231
+ };
232
+ }>> & Readonly<{
233
+ onClick?: ((evt: MouseEvent) => any) | undefined;
234
+ }>, {}, {}, {}, {}, {
235
+ readonly size: import('../../cyberpunk-vue').Size;
236
+ readonly type: import('.').ButtonType;
237
+ readonly variant: import('.').ButtonVariant;
238
+ readonly disabled: boolean;
239
+ readonly loading: boolean;
240
+ readonly block: boolean;
241
+ readonly nativeType: "button" | "submit" | "reset";
242
+ readonly color: string;
243
+ readonly shape: "clip" | "no-clip" | "round" | "circle";
244
+ readonly dashed: boolean;
245
+ readonly loadingPlaceholder: boolean;
246
+ readonly loadingDisabled: boolean;
247
+ readonly textColor: string;
248
+ readonly icon: object;
249
+ readonly iconColor: string;
250
+ readonly prefixIcon: object;
251
+ readonly suffixIcon: object;
252
+ readonly prefixIconColor: string;
253
+ readonly suffixIconColor: string;
254
+ readonly iconSize: import('../../cyberpunk-vue').Size;
255
+ readonly prefixIconSize: import('../../cyberpunk-vue').Size;
256
+ readonly suffixIconSize: import('../../cyberpunk-vue').Size;
257
+ }>;
258
+ __isFragment?: never;
259
+ __isTeleport?: never;
260
+ __isSuspense?: never;
261
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
262
+ readonly type: {
263
+ readonly type: import('vue').PropType<import('.').ButtonType>;
264
+ readonly default: "default";
265
+ };
266
+ readonly size: {
267
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
268
+ readonly default: "md";
269
+ };
270
+ readonly variant: {
271
+ readonly type: import('vue').PropType<import('.').ButtonVariant>;
272
+ readonly default: "solid";
273
+ };
274
+ readonly disabled: {
275
+ readonly type: BooleanConstructor;
276
+ readonly default: false;
277
+ };
278
+ readonly loading: {
279
+ readonly type: BooleanConstructor;
280
+ readonly default: false;
281
+ };
282
+ readonly block: {
283
+ readonly type: BooleanConstructor;
284
+ readonly default: false;
285
+ };
286
+ readonly nativeType: {
287
+ readonly type: import('vue').PropType<"button" | "submit" | "reset">;
288
+ readonly default: "button";
289
+ };
290
+ readonly color: {
291
+ readonly type: StringConstructor;
292
+ readonly default: "";
293
+ };
294
+ readonly shape: {
295
+ readonly type: import('vue').PropType<"clip" | "no-clip" | "round" | "circle">;
296
+ readonly default: "clip";
297
+ };
298
+ readonly dashed: {
299
+ readonly type: BooleanConstructor;
300
+ readonly default: false;
301
+ };
302
+ readonly loadingPlaceholder: {
303
+ readonly type: BooleanConstructor;
304
+ readonly default: false;
305
+ };
306
+ readonly loadingDisabled: {
307
+ readonly type: BooleanConstructor;
308
+ readonly default: false;
309
+ };
310
+ readonly textColor: {
311
+ readonly type: StringConstructor;
312
+ readonly default: "";
313
+ };
314
+ readonly icon: {
315
+ readonly type: import('vue').PropType<object>;
316
+ readonly default: undefined;
317
+ };
318
+ readonly iconColor: {
319
+ readonly type: StringConstructor;
320
+ readonly default: "";
321
+ };
322
+ readonly prefixIcon: {
323
+ readonly type: import('vue').PropType<object>;
324
+ readonly default: undefined;
325
+ };
326
+ readonly suffixIcon: {
327
+ readonly type: import('vue').PropType<object>;
328
+ readonly default: undefined;
329
+ };
330
+ readonly prefixIconColor: {
331
+ readonly type: StringConstructor;
332
+ readonly default: "";
333
+ };
334
+ readonly suffixIconColor: {
335
+ readonly type: StringConstructor;
336
+ readonly default: "";
337
+ };
338
+ readonly iconSize: {
339
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
340
+ readonly default: "";
341
+ };
342
+ readonly prefixIconSize: {
343
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
344
+ readonly default: "";
345
+ };
346
+ readonly suffixIconSize: {
347
+ readonly type: import('vue').PropType<import('.').ButtonSize>;
348
+ readonly default: "";
349
+ };
350
+ }>> & Readonly<{
351
+ onClick?: ((evt: MouseEvent) => any) | undefined;
352
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
353
+ click: (evt: MouseEvent) => void;
354
+ }, string, {
355
+ readonly size: import('../../cyberpunk-vue').Size;
356
+ readonly type: import('.').ButtonType;
357
+ readonly variant: import('.').ButtonVariant;
358
+ readonly disabled: boolean;
359
+ readonly loading: boolean;
360
+ readonly block: boolean;
361
+ readonly nativeType: "button" | "submit" | "reset";
362
+ readonly color: string;
363
+ readonly shape: "clip" | "no-clip" | "round" | "circle";
364
+ readonly dashed: boolean;
365
+ readonly loadingPlaceholder: boolean;
366
+ readonly loadingDisabled: boolean;
367
+ readonly textColor: string;
368
+ readonly icon: object;
369
+ readonly iconColor: string;
370
+ readonly prefixIcon: object;
371
+ readonly suffixIcon: object;
372
+ readonly prefixIconColor: string;
373
+ readonly suffixIconColor: string;
374
+ readonly iconSize: import('../../cyberpunk-vue').Size;
375
+ readonly prefixIconSize: import('../../cyberpunk-vue').Size;
376
+ readonly suffixIconSize: import('../../cyberpunk-vue').Size;
377
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
378
+ $slots: {
379
+ prefix?(_: {}): any;
380
+ default?(_: {}): any;
381
+ suffix?(_: {}): any;
382
+ };
383
+ })>;
384
+ export default CpButton;
385
+ export * from './src/button';
386
+ export type { ButtonInstance } from './src/instance';
387
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../button/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAe,QAAQ,CAAA;AAEvB,cAAc,cAAc,CAAA;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}