option-group.vue.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. declare const _default: import("vue").DefineComponent<{
  2. /**
  3. * @description name of the group
  4. */
  5. label: StringConstructor;
  6. /**
  7. * @description whether to disable all options in this group
  8. */
  9. disabled: BooleanConstructor;
  10. }, {
  11. groupRef: import("vue").Ref<HTMLElement | undefined>;
  12. visible: import("vue").ComputedRef<boolean>;
  13. ns: {
  14. namespace: import("vue").ComputedRef<string>;
  15. b: (blockSuffix?: string) => string;
  16. e: (element?: string) => string;
  17. m: (modifier?: string) => string;
  18. be: (blockSuffix?: string, element?: string) => string;
  19. em: (element?: string, modifier?: string) => string;
  20. bm: (blockSuffix?: string, modifier?: string) => string;
  21. bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
  22. is: {
  23. (name: string, state: boolean | undefined): string;
  24. (name: string): string;
  25. };
  26. cssVar: (object: Record<string, string>) => Record<string, string>;
  27. cssVarName: (name: string) => string;
  28. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  29. cssVarBlockName: (name: string) => string;
  30. };
  31. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  32. /**
  33. * @description name of the group
  34. */
  35. label: StringConstructor;
  36. /**
  37. * @description whether to disable all options in this group
  38. */
  39. disabled: BooleanConstructor;
  40. }>>, {
  41. disabled: boolean;
  42. }>;
  43. export default _default;