599add18bdc8c6b0a007b27c1bf50c06ea768833d21c7f1732be911a26d1410cf76d1a7fb5afd88b7cf37b0cbc8de6051b24c5b4e2cd31d5bbfe74005b7269 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import Color from '../utils/color';
  2. import type { PropType, Ref } from 'vue';
  3. declare const _default: import("vue").DefineComponent<{
  4. colors: {
  5. type: PropType<string[]>;
  6. required: true;
  7. };
  8. color: {
  9. type: PropType<Color>;
  10. required: true;
  11. };
  12. enableAlpha: {
  13. type: BooleanConstructor;
  14. required: true;
  15. };
  16. disabled: BooleanConstructor;
  17. }, {
  18. rgbaColors: Ref<Color[]>;
  19. handleSelect: (index: number) => void;
  20. ns: {
  21. namespace: import("vue").ComputedRef<string>;
  22. b: (blockSuffix?: string) => string;
  23. e: (element?: string) => string;
  24. m: (modifier?: string) => string;
  25. be: (blockSuffix?: string, element?: string) => string;
  26. em: (element?: string, modifier?: string) => string;
  27. bm: (blockSuffix?: string, modifier?: string) => string;
  28. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  29. is: {
  30. (name: string, state: boolean | undefined): string;
  31. (name: string): string;
  32. };
  33. cssVar: (object: Record<string, string>) => Record<string, string>;
  34. cssVarName: (name: string) => string;
  35. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  36. cssVarBlockName: (name: string) => string;
  37. };
  38. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  39. colors: {
  40. type: PropType<string[]>;
  41. required: true;
  42. };
  43. color: {
  44. type: PropType<Color>;
  45. required: true;
  46. };
  47. enableAlpha: {
  48. type: BooleanConstructor;
  49. required: true;
  50. };
  51. disabled: BooleanConstructor;
  52. }>>, {
  53. disabled: boolean;
  54. }>;
  55. export default _default;