common_component_library_vue 0.1.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.
@@ -0,0 +1,725 @@
1
+ /**
2
+ * Common Component Library — Vue 3 + TypeScript
3
+ * Design language: Stripe-inspired, defined in /DESIGN.md
4
+ *
5
+ * Usage:
6
+ * import { CcButton, CcInput } from 'common-component-library-vue'
7
+ * or
8
+ * import { install as CcLibrary } from 'common-component-library-vue'
9
+ * app.use(CcLibrary)
10
+ */
11
+ import type { App } from 'vue';
12
+ import CcButton from './components/Button/CcButton.vue';
13
+ import CcInput from './components/Input/CcInput.vue';
14
+ import CcTextarea from './components/Textarea/CcTextarea.vue';
15
+ import CcSelect from './components/Select/CcSelect.vue';
16
+ import CcSwitch from './components/Switch/CcSwitch.vue';
17
+ import CcCheckbox from './components/Checkbox/CcCheckbox.vue';
18
+ import CcRadio from './components/Radio/CcRadio.vue';
19
+ import CcCard from './components/Card/CcCard.vue';
20
+ import CcTag from './components/Tag/CcTag.vue';
21
+ import CcBadge from './components/Badge/CcBadge.vue';
22
+ import CcAlert from './components/Alert/CcAlert.vue';
23
+ import CcModal from './components/Modal/CcModal.vue';
24
+ import CcTooltip from './components/Tooltip/CcTooltip.vue';
25
+ import CcSpinner from './components/Spinner/CcSpinner.vue';
26
+ import CcDivider from './components/Divider/CcDivider.vue';
27
+ export { CcButton, CcInput, CcTextarea, CcSelect, CcSwitch, CcCheckbox, CcRadio, CcCard, CcTag, CcBadge, CcAlert, CcModal, CcTooltip, CcSpinner, CcDivider, };
28
+ export type { CcSelectOption } from './components/Select/CcSelect.vue';
29
+ /** Design tokens (CSS custom properties) — import once in your app entry */
30
+ import './styles/tokens.css';
31
+ import './styles/base.css';
32
+ /** Optional plugin for `app.use()` registration */
33
+ export declare function install(app: App): void;
34
+ declare const _default: {
35
+ CcButton: {
36
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
37
+ variant?: "link" | "primary" | "secondary" | "on-dark" | "ghost";
38
+ size?: "sm" | "md" | "lg";
39
+ disabled?: boolean;
40
+ loading?: boolean;
41
+ href?: string;
42
+ target?: string;
43
+ block?: boolean;
44
+ type?: "button" | "submit" | "reset";
45
+ ariaLabel?: string;
46
+ }> & Readonly<{
47
+ onClick?: ((event: MouseEvent) => any) | undefined;
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
49
+ click: (event: MouseEvent) => any;
50
+ }, import("vue").PublicProps, {
51
+ size: "sm" | "md" | "lg";
52
+ loading: boolean;
53
+ type: "button" | "submit" | "reset";
54
+ variant: "link" | "primary" | "secondary" | "on-dark" | "ghost";
55
+ disabled: boolean;
56
+ href: string;
57
+ target: string;
58
+ block: boolean;
59
+ ariaLabel: string;
60
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
61
+ P: {};
62
+ B: {};
63
+ D: {};
64
+ C: {};
65
+ M: {};
66
+ Defaults: {};
67
+ }, Readonly<{
68
+ variant?: "link" | "primary" | "secondary" | "on-dark" | "ghost";
69
+ size?: "sm" | "md" | "lg";
70
+ disabled?: boolean;
71
+ loading?: boolean;
72
+ href?: string;
73
+ target?: string;
74
+ block?: boolean;
75
+ type?: "button" | "submit" | "reset";
76
+ ariaLabel?: string;
77
+ }> & Readonly<{
78
+ onClick?: ((event: MouseEvent) => any) | undefined;
79
+ }>, {}, {}, {}, {}, {
80
+ size: "sm" | "md" | "lg";
81
+ loading: boolean;
82
+ type: "button" | "submit" | "reset";
83
+ variant: "link" | "primary" | "secondary" | "on-dark" | "ghost";
84
+ disabled: boolean;
85
+ href: string;
86
+ target: string;
87
+ block: boolean;
88
+ ariaLabel: string;
89
+ }>;
90
+ __isFragment?: never;
91
+ __isTeleport?: never;
92
+ __isSuspense?: never;
93
+ } & import("vue").ComponentOptionsBase<Readonly<{
94
+ variant?: "link" | "primary" | "secondary" | "on-dark" | "ghost";
95
+ size?: "sm" | "md" | "lg";
96
+ disabled?: boolean;
97
+ loading?: boolean;
98
+ href?: string;
99
+ target?: string;
100
+ block?: boolean;
101
+ type?: "button" | "submit" | "reset";
102
+ ariaLabel?: string;
103
+ }> & Readonly<{
104
+ onClick?: ((event: MouseEvent) => any) | undefined;
105
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
106
+ click: (event: MouseEvent) => any;
107
+ }, string, {
108
+ size: "sm" | "md" | "lg";
109
+ loading: boolean;
110
+ type: "button" | "submit" | "reset";
111
+ variant: "link" | "primary" | "secondary" | "on-dark" | "ghost";
112
+ disabled: boolean;
113
+ href: string;
114
+ target: string;
115
+ block: boolean;
116
+ ariaLabel: string;
117
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
118
+ $slots: {
119
+ default?: (props: {}) => any;
120
+ };
121
+ });
122
+ CcInput: import("vue").DefineComponent<{
123
+ modelValue?: string | number;
124
+ label?: string;
125
+ placeholder?: string;
126
+ type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
127
+ name?: string;
128
+ disabled?: boolean;
129
+ readonly?: boolean;
130
+ error?: string;
131
+ hint?: string;
132
+ prefix?: string;
133
+ autocomplete?: string;
134
+ inputmode?: "text" | "numeric" | "decimal" | "email" | "tel" | "url" | "search";
135
+ min?: number;
136
+ max?: number;
137
+ step?: number;
138
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
139
+ "update:modelValue": (value: string) => any;
140
+ focus: (event: FocusEvent) => any;
141
+ blur: (event: FocusEvent) => any;
142
+ change: (event: Event) => any;
143
+ }, string, import("vue").PublicProps, Readonly<{
144
+ modelValue?: string | number;
145
+ label?: string;
146
+ placeholder?: string;
147
+ type?: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
148
+ name?: string;
149
+ disabled?: boolean;
150
+ readonly?: boolean;
151
+ error?: string;
152
+ hint?: string;
153
+ prefix?: string;
154
+ autocomplete?: string;
155
+ inputmode?: "text" | "numeric" | "decimal" | "email" | "tel" | "url" | "search";
156
+ min?: number;
157
+ max?: number;
158
+ step?: number;
159
+ }> & Readonly<{
160
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
161
+ onFocus?: ((event: FocusEvent) => any) | undefined;
162
+ onBlur?: ((event: FocusEvent) => any) | undefined;
163
+ onChange?: ((event: Event) => any) | undefined;
164
+ }>, {
165
+ label: string;
166
+ type: "text" | "password" | "email" | "number" | "tel" | "url" | "search";
167
+ disabled: boolean;
168
+ modelValue: string | number;
169
+ placeholder: string;
170
+ name: string;
171
+ readonly: boolean;
172
+ error: string;
173
+ hint: string;
174
+ prefix: string;
175
+ autocomplete: string;
176
+ inputmode: "text" | "numeric" | "decimal" | "email" | "tel" | "url" | "search";
177
+ min: number;
178
+ max: number;
179
+ step: number;
180
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
181
+ CcTextarea: import("vue").DefineComponent<{
182
+ modelValue?: string;
183
+ label?: string;
184
+ placeholder?: string;
185
+ name?: string;
186
+ rows?: number;
187
+ disabled?: boolean;
188
+ readonly?: boolean;
189
+ error?: string;
190
+ hint?: string;
191
+ autocomplete?: string;
192
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
193
+ "update:modelValue": (value: string) => any;
194
+ focus: (event: FocusEvent) => any;
195
+ blur: (event: FocusEvent) => any;
196
+ }, string, import("vue").PublicProps, Readonly<{
197
+ modelValue?: string;
198
+ label?: string;
199
+ placeholder?: string;
200
+ name?: string;
201
+ rows?: number;
202
+ disabled?: boolean;
203
+ readonly?: boolean;
204
+ error?: string;
205
+ hint?: string;
206
+ autocomplete?: string;
207
+ }> & Readonly<{
208
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
209
+ onFocus?: ((event: FocusEvent) => any) | undefined;
210
+ onBlur?: ((event: FocusEvent) => any) | undefined;
211
+ }>, {
212
+ label: string;
213
+ disabled: boolean;
214
+ modelValue: string;
215
+ placeholder: string;
216
+ name: string;
217
+ readonly: boolean;
218
+ error: string;
219
+ hint: string;
220
+ autocomplete: string;
221
+ rows: number;
222
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
223
+ CcSelect: import("vue").DefineComponent<{
224
+ modelValue?: string | number;
225
+ options?: import("./index.ts").CcSelectOption[];
226
+ label?: string;
227
+ placeholder?: string;
228
+ name?: string;
229
+ disabled?: boolean;
230
+ error?: string;
231
+ hint?: string;
232
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
233
+ "update:modelValue": (value: string | number) => any;
234
+ change: (event: Event) => any;
235
+ }, string, import("vue").PublicProps, Readonly<{
236
+ modelValue?: string | number;
237
+ options?: import("./index.ts").CcSelectOption[];
238
+ label?: string;
239
+ placeholder?: string;
240
+ name?: string;
241
+ disabled?: boolean;
242
+ error?: string;
243
+ hint?: string;
244
+ }> & Readonly<{
245
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
246
+ onChange?: ((event: Event) => any) | undefined;
247
+ }>, {
248
+ label: string;
249
+ disabled: boolean;
250
+ modelValue: string | number;
251
+ placeholder: string;
252
+ name: string;
253
+ error: string;
254
+ hint: string;
255
+ options: import("./index.ts").CcSelectOption[];
256
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
257
+ CcSwitch: import("vue").DefineComponent<{
258
+ label?: string;
259
+ disabled?: boolean;
260
+ size?: "sm" | "md";
261
+ } & {
262
+ modelValue?: boolean;
263
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
264
+ "update:modelValue": (value: boolean) => any;
265
+ }, string, import("vue").PublicProps, Readonly<{
266
+ label?: string;
267
+ disabled?: boolean;
268
+ size?: "sm" | "md";
269
+ } & {
270
+ modelValue?: boolean;
271
+ }> & Readonly<{
272
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
273
+ }>, {
274
+ size: "sm" | "md";
275
+ label: string;
276
+ disabled: boolean;
277
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
278
+ CcCheckbox: {
279
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
280
+ label?: string;
281
+ disabled?: boolean;
282
+ } & {
283
+ modelValue?: boolean;
284
+ }> & Readonly<{
285
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
286
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
287
+ "update:modelValue": (value: boolean) => any;
288
+ }, import("vue").PublicProps, {
289
+ label: string;
290
+ disabled: boolean;
291
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
292
+ P: {};
293
+ B: {};
294
+ D: {};
295
+ C: {};
296
+ M: {};
297
+ Defaults: {};
298
+ }, Readonly<{
299
+ label?: string;
300
+ disabled?: boolean;
301
+ } & {
302
+ modelValue?: boolean;
303
+ }> & Readonly<{
304
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
305
+ }>, {}, {}, {}, {}, {
306
+ label: string;
307
+ disabled: boolean;
308
+ }>;
309
+ __isFragment?: never;
310
+ __isTeleport?: never;
311
+ __isSuspense?: never;
312
+ } & import("vue").ComponentOptionsBase<Readonly<{
313
+ label?: string;
314
+ disabled?: boolean;
315
+ } & {
316
+ modelValue?: boolean;
317
+ }> & Readonly<{
318
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
319
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
320
+ "update:modelValue": (value: boolean) => any;
321
+ }, string, {
322
+ label: string;
323
+ disabled: boolean;
324
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
325
+ $slots: {
326
+ default?: (props: {}) => any;
327
+ };
328
+ });
329
+ CcRadio: {
330
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
331
+ value: string | number;
332
+ label?: string;
333
+ disabled?: boolean;
334
+ } & {
335
+ modelValue?: string | number;
336
+ }> & Readonly<{
337
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
338
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
339
+ "update:modelValue": (value: string | number) => any;
340
+ }, import("vue").PublicProps, {
341
+ label: string;
342
+ disabled: boolean;
343
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
344
+ P: {};
345
+ B: {};
346
+ D: {};
347
+ C: {};
348
+ M: {};
349
+ Defaults: {};
350
+ }, Readonly<{
351
+ value: string | number;
352
+ label?: string;
353
+ disabled?: boolean;
354
+ } & {
355
+ modelValue?: string | number;
356
+ }> & Readonly<{
357
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
358
+ }>, {}, {}, {}, {}, {
359
+ label: string;
360
+ disabled: boolean;
361
+ }>;
362
+ __isFragment?: never;
363
+ __isTeleport?: never;
364
+ __isSuspense?: never;
365
+ } & import("vue").ComponentOptionsBase<Readonly<{
366
+ value: string | number;
367
+ label?: string;
368
+ disabled?: boolean;
369
+ } & {
370
+ modelValue?: string | number;
371
+ }> & Readonly<{
372
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
373
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
374
+ "update:modelValue": (value: string | number) => any;
375
+ }, string, {
376
+ label: string;
377
+ disabled: boolean;
378
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
379
+ $slots: {
380
+ default?: (props: {}) => any;
381
+ };
382
+ });
383
+ CcCard: {
384
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
385
+ variant?: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
386
+ title?: string;
387
+ description?: string;
388
+ flush?: boolean;
389
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
390
+ title: string;
391
+ variant: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
392
+ description: string;
393
+ flush: boolean;
394
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
395
+ P: {};
396
+ B: {};
397
+ D: {};
398
+ C: {};
399
+ M: {};
400
+ Defaults: {};
401
+ }, Readonly<{
402
+ variant?: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
403
+ title?: string;
404
+ description?: string;
405
+ flush?: boolean;
406
+ }> & Readonly<{}>, {}, {}, {}, {}, {
407
+ title: string;
408
+ variant: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
409
+ description: string;
410
+ flush: boolean;
411
+ }>;
412
+ __isFragment?: never;
413
+ __isTeleport?: never;
414
+ __isSuspense?: never;
415
+ } & import("vue").ComponentOptionsBase<Readonly<{
416
+ variant?: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
417
+ title?: string;
418
+ description?: string;
419
+ flush?: boolean;
420
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
421
+ title: string;
422
+ variant: "feature" | "pricing" | "pricing-featured" | "cream" | "dashboard" | "plain";
423
+ description: string;
424
+ flush: boolean;
425
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
426
+ $slots: {
427
+ header?: (props: {}) => any;
428
+ } & {
429
+ default?: (props: {}) => any;
430
+ } & {
431
+ footer?: (props: {}) => any;
432
+ };
433
+ });
434
+ CcTag: {
435
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
436
+ variant?: "soft" | "outline" | "dark" | "solid";
437
+ size?: "sm" | "md";
438
+ dot?: boolean;
439
+ closable?: boolean;
440
+ }> & Readonly<{
441
+ onClose?: ((event: MouseEvent) => any) | undefined;
442
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
443
+ close: (event: MouseEvent) => any;
444
+ }, import("vue").PublicProps, {
445
+ size: "sm" | "md";
446
+ variant: "soft" | "outline" | "dark" | "solid";
447
+ dot: boolean;
448
+ closable: boolean;
449
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
450
+ P: {};
451
+ B: {};
452
+ D: {};
453
+ C: {};
454
+ M: {};
455
+ Defaults: {};
456
+ }, Readonly<{
457
+ variant?: "soft" | "outline" | "dark" | "solid";
458
+ size?: "sm" | "md";
459
+ dot?: boolean;
460
+ closable?: boolean;
461
+ }> & Readonly<{
462
+ onClose?: ((event: MouseEvent) => any) | undefined;
463
+ }>, {}, {}, {}, {}, {
464
+ size: "sm" | "md";
465
+ variant: "soft" | "outline" | "dark" | "solid";
466
+ dot: boolean;
467
+ closable: boolean;
468
+ }>;
469
+ __isFragment?: never;
470
+ __isTeleport?: never;
471
+ __isSuspense?: never;
472
+ } & import("vue").ComponentOptionsBase<Readonly<{
473
+ variant?: "soft" | "outline" | "dark" | "solid";
474
+ size?: "sm" | "md";
475
+ dot?: boolean;
476
+ closable?: boolean;
477
+ }> & Readonly<{
478
+ onClose?: ((event: MouseEvent) => any) | undefined;
479
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
480
+ close: (event: MouseEvent) => any;
481
+ }, string, {
482
+ size: "sm" | "md";
483
+ variant: "soft" | "outline" | "dark" | "solid";
484
+ dot: boolean;
485
+ closable: boolean;
486
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
487
+ $slots: {
488
+ default?: (props: {}) => any;
489
+ };
490
+ });
491
+ CcBadge: import("vue").DefineComponent<{
492
+ count?: number | string;
493
+ max?: number;
494
+ variant?: "soft" | "solid" | "dot";
495
+ dot?: boolean;
496
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
497
+ count?: number | string;
498
+ max?: number;
499
+ variant?: "soft" | "solid" | "dot";
500
+ dot?: boolean;
501
+ }> & Readonly<{}>, {
502
+ variant: "soft" | "solid" | "dot";
503
+ max: number;
504
+ dot: boolean;
505
+ count: number | string;
506
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
507
+ CcAlert: {
508
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
509
+ variant?: "info" | "success" | "warning" | "error";
510
+ title?: string;
511
+ description?: string;
512
+ closable?: boolean;
513
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
514
+ title: string;
515
+ variant: "info" | "success" | "warning" | "error";
516
+ description: string;
517
+ closable: boolean;
518
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
519
+ P: {};
520
+ B: {};
521
+ D: {};
522
+ C: {};
523
+ M: {};
524
+ Defaults: {};
525
+ }, Readonly<{
526
+ variant?: "info" | "success" | "warning" | "error";
527
+ title?: string;
528
+ description?: string;
529
+ closable?: boolean;
530
+ }> & Readonly<{}>, {}, {}, {}, {}, {
531
+ title: string;
532
+ variant: "info" | "success" | "warning" | "error";
533
+ description: string;
534
+ closable: boolean;
535
+ }>;
536
+ __isFragment?: never;
537
+ __isTeleport?: never;
538
+ __isSuspense?: never;
539
+ } & import("vue").ComponentOptionsBase<Readonly<{
540
+ variant?: "info" | "success" | "warning" | "error";
541
+ title?: string;
542
+ description?: string;
543
+ closable?: boolean;
544
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
545
+ title: string;
546
+ variant: "info" | "success" | "warning" | "error";
547
+ description: string;
548
+ closable: boolean;
549
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
550
+ $slots: {
551
+ default?: (props: {}) => any;
552
+ };
553
+ });
554
+ CcModal: {
555
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
556
+ visible?: boolean;
557
+ title?: string;
558
+ width?: string;
559
+ closable?: boolean;
560
+ maskClosable?: boolean;
561
+ footer?: boolean;
562
+ }> & Readonly<{
563
+ onClose?: (() => any) | undefined;
564
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
565
+ onOpen?: (() => any) | undefined;
566
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
567
+ close: () => any;
568
+ "update:visible": (value: boolean) => any;
569
+ open: () => any;
570
+ }, import("vue").PublicProps, {
571
+ footer: boolean;
572
+ title: string;
573
+ width: string;
574
+ closable: boolean;
575
+ visible: boolean;
576
+ maskClosable: boolean;
577
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
578
+ P: {};
579
+ B: {};
580
+ D: {};
581
+ C: {};
582
+ M: {};
583
+ Defaults: {};
584
+ }, Readonly<{
585
+ visible?: boolean;
586
+ title?: string;
587
+ width?: string;
588
+ closable?: boolean;
589
+ maskClosable?: boolean;
590
+ footer?: boolean;
591
+ }> & Readonly<{
592
+ onClose?: (() => any) | undefined;
593
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
594
+ onOpen?: (() => any) | undefined;
595
+ }>, {}, {}, {}, {}, {
596
+ footer: boolean;
597
+ title: string;
598
+ width: string;
599
+ closable: boolean;
600
+ visible: boolean;
601
+ maskClosable: boolean;
602
+ }>;
603
+ __isFragment?: never;
604
+ __isTeleport?: never;
605
+ __isSuspense?: never;
606
+ } & import("vue").ComponentOptionsBase<Readonly<{
607
+ visible?: boolean;
608
+ title?: string;
609
+ width?: string;
610
+ closable?: boolean;
611
+ maskClosable?: boolean;
612
+ footer?: boolean;
613
+ }> & Readonly<{
614
+ onClose?: (() => any) | undefined;
615
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
616
+ onOpen?: (() => any) | undefined;
617
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
618
+ close: () => any;
619
+ "update:visible": (value: boolean) => any;
620
+ open: () => any;
621
+ }, string, {
622
+ footer: boolean;
623
+ title: string;
624
+ width: string;
625
+ closable: boolean;
626
+ visible: boolean;
627
+ maskClosable: boolean;
628
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
629
+ $slots: {
630
+ default?: (props: {}) => any;
631
+ } & {
632
+ footer?: (props: {}) => any;
633
+ };
634
+ });
635
+ CcTooltip: {
636
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
637
+ content?: string;
638
+ placement?: "top" | "bottom" | "left" | "right";
639
+ delay?: number;
640
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
641
+ content: string;
642
+ placement: "top" | "bottom" | "left" | "right";
643
+ delay: number;
644
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
645
+ P: {};
646
+ B: {};
647
+ D: {};
648
+ C: {};
649
+ M: {};
650
+ Defaults: {};
651
+ }, Readonly<{
652
+ content?: string;
653
+ placement?: "top" | "bottom" | "left" | "right";
654
+ delay?: number;
655
+ }> & Readonly<{}>, {}, {}, {}, {}, {
656
+ content: string;
657
+ placement: "top" | "bottom" | "left" | "right";
658
+ delay: number;
659
+ }>;
660
+ __isFragment?: never;
661
+ __isTeleport?: never;
662
+ __isSuspense?: never;
663
+ } & import("vue").ComponentOptionsBase<Readonly<{
664
+ content?: string;
665
+ placement?: "top" | "bottom" | "left" | "right";
666
+ delay?: number;
667
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
668
+ content: string;
669
+ placement: "top" | "bottom" | "left" | "right";
670
+ delay: number;
671
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
672
+ $slots: {
673
+ default?: (props: {}) => any;
674
+ } & {
675
+ tip?: (props: {}) => any;
676
+ };
677
+ });
678
+ CcSpinner: import("vue").DefineComponent<{
679
+ size?: number;
680
+ color?: string;
681
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
682
+ size?: number;
683
+ color?: string;
684
+ }> & Readonly<{}>, {
685
+ size: number;
686
+ color: string;
687
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
688
+ CcDivider: {
689
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
690
+ orientation?: "horizontal" | "vertical";
691
+ height?: string;
692
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
693
+ height: string;
694
+ orientation: "horizontal" | "vertical";
695
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
696
+ P: {};
697
+ B: {};
698
+ D: {};
699
+ C: {};
700
+ M: {};
701
+ Defaults: {};
702
+ }, Readonly<{
703
+ orientation?: "horizontal" | "vertical";
704
+ height?: string;
705
+ }> & Readonly<{}>, {}, {}, {}, {}, {
706
+ height: string;
707
+ orientation: "horizontal" | "vertical";
708
+ }>;
709
+ __isFragment?: never;
710
+ __isTeleport?: never;
711
+ __isSuspense?: never;
712
+ } & import("vue").ComponentOptionsBase<Readonly<{
713
+ orientation?: "horizontal" | "vertical";
714
+ height?: string;
715
+ }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
716
+ height: string;
717
+ orientation: "horizontal" | "vertical";
718
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
719
+ $slots: {
720
+ default?: (props: {}) => any;
721
+ };
722
+ });
723
+ install: typeof install;
724
+ };
725
+ export default _default;