|
1 |
| -import { AllowedComponentProps } from 'vue'; |
2 |
| -import { ComponentCustomProps } from 'vue'; |
3 | 1 | import { ComponentOptionsMixin } from 'vue';
|
| 2 | +import { ComponentProvideOptions } from 'vue'; |
4 | 3 | import { DefineComponent } from 'vue';
|
5 |
| -import { ExtractPropTypes } from 'vue'; |
6 | 4 | import { Plugin as Plugin_2 } from 'vue';
|
7 |
| -import { PropType } from 'vue'; |
8 |
| -import { VNodeProps } from 'vue'; |
9 |
| - |
10 |
| -declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; |
11 |
| - |
12 |
| -declare type __VLS_Prettify<T> = { |
13 |
| - [K in keyof T]: T[K]; |
14 |
| -} & {}; |
15 |
| - |
16 |
| -declare type __VLS_TypePropsToRuntimeProps<T> = { |
17 |
| - [K in keyof T]-?: {} extends Pick<T, K> ? { |
18 |
| - type: PropType<__VLS_NonUndefinedable<T[K]>>; |
19 |
| - } : { |
20 |
| - type: PropType<T[K]>; |
21 |
| - required: true; |
22 |
| - }; |
23 |
| -}; |
24 |
| - |
25 |
| -declare type __VLS_WithDefaults<P, D> = { |
26 |
| - [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { |
27 |
| - default: D[K]; |
28 |
| - }> : P[K]; |
29 |
| -}; |
| 5 | +import { PublicProps } from 'vue'; |
30 | 6 |
|
31 | 7 | declare type __VLS_WithTemplateSlots<T, S> = T & {
|
32 | 8 | new (): {
|
@@ -72,29 +48,17 @@ export declare type ColorMap = {
|
72 | 48 | rgb: ColorRgb;
|
73 | 49 | };
|
74 | 50 |
|
75 |
| -export declare const ColorPicker: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ColorPickerProps>, { |
76 |
| -color: string; |
77 |
| -id: string; |
78 |
| -visibleFormats: () => string[]; |
79 |
| -defaultFormat: string; |
80 |
| -alphaChannel: string; |
81 |
| -}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { |
82 |
| -"color-change": (data: ColorChangeDetail) => void; |
83 |
| -}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ColorPickerProps>, { |
84 |
| -color: string; |
85 |
| -id: string; |
86 |
| -visibleFormats: () => string[]; |
87 |
| -defaultFormat: string; |
88 |
| -alphaChannel: string; |
89 |
| -}>>> & { |
| 51 | +export declare const ColorPicker: __VLS_WithTemplateSlots<DefineComponent<ColorPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { |
| 52 | +"color-change": (data: ColorChangeDetail) => any; |
| 53 | +}, string, PublicProps, Readonly<ColorPickerProps> & Readonly<{ |
90 | 54 | "onColor-change"?: ((data: ColorChangeDetail) => any) | undefined;
|
91 |
| -}, { |
| 55 | +}>, { |
92 | 56 | id: string;
|
93 | 57 | color: string | ColorHsl | ColorHwb | ColorRgb;
|
94 | 58 | visibleFormats: VisibleColorFormat[];
|
95 | 59 | defaultFormat: VisibleColorFormat;
|
96 | 60 | alphaChannel: AlphaChannelProp;
|
97 |
| -}, {}>, { |
| 61 | +}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { |
98 | 62 | "hue-range-input-label"?(_: {}): any;
|
99 | 63 | "alpha-range-input-label"?(_: {}): any;
|
100 | 64 | "copy-button"?(_: {}): any;
|
|
0 commit comments