index.d.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. export declare const ElBreadcrumb: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  2. readonly separator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
  3. readonly separatorIcon: {
  4. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
  5. readonly required: false;
  6. readonly validator: ((val: unknown) => boolean) | undefined;
  7. __epPropKey: true;
  8. };
  9. }, {
  10. t: import("../..").Translator;
  11. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  12. readonly separator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
  13. readonly separatorIcon: {
  14. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
  15. readonly required: false;
  16. readonly validator: ((val: unknown) => boolean) | undefined;
  17. __epPropKey: true;
  18. };
  19. }>> & {
  20. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  21. }>>;
  22. ns: {
  23. namespace: import("vue").ComputedRef<string>;
  24. b: (blockSuffix?: string) => string;
  25. e: (element?: string | undefined) => string;
  26. m: (modifier?: string | undefined) => string;
  27. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  28. em: (element?: string | undefined, modifier?: string | undefined) => string;
  29. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  30. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  31. is: {
  32. (name: string, state: boolean | undefined): string;
  33. (name: string): string;
  34. };
  35. cssVar: (object: Record<string, string>) => Record<string, string>;
  36. cssVarName: (name: string) => string;
  37. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  38. cssVarBlockName: (name: string) => string;
  39. };
  40. breadcrumb: import("vue").Ref<HTMLDivElement | undefined>;
  41. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  42. readonly separator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "/", boolean>;
  43. readonly separatorIcon: {
  44. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
  45. readonly required: false;
  46. readonly validator: ((val: unknown) => boolean) | undefined;
  47. __epPropKey: true;
  48. };
  49. }>>, {
  50. readonly separator: string;
  51. }>> & {
  52. BreadcrumbItem: import("vue").DefineComponent<{
  53. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  54. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  55. }, {
  56. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  57. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  58. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  59. }>> & {
  60. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  61. }>>;
  62. instance: import("vue").ComponentInternalInstance;
  63. breadcrumbContext: import("./src/breadcrumb").BreadcrumbProps | undefined;
  64. ns: {
  65. namespace: import("vue").ComputedRef<string>;
  66. b: (blockSuffix?: string) => string;
  67. e: (element?: string | undefined) => string;
  68. m: (modifier?: string | undefined) => string;
  69. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  70. em: (element?: string | undefined, modifier?: string | undefined) => string;
  71. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  72. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  73. is: {
  74. (name: string, state: boolean | undefined): string;
  75. (name: string): string;
  76. };
  77. cssVar: (object: Record<string, string>) => Record<string, string>;
  78. cssVarName: (name: string) => string;
  79. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  80. cssVarBlockName: (name: string) => string;
  81. };
  82. router: import("vue-router").Router;
  83. link: import("vue").Ref<HTMLSpanElement | undefined>;
  84. onClick: () => void;
  85. ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  86. readonly size: {
  87. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  88. readonly required: false;
  89. readonly validator: ((val: unknown) => boolean) | undefined;
  90. __epPropKey: true;
  91. };
  92. readonly color: {
  93. readonly type: import("vue").PropType<string>;
  94. readonly required: false;
  95. readonly validator: ((val: unknown) => boolean) | undefined;
  96. __epPropKey: true;
  97. };
  98. }, {
  99. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  100. readonly size: {
  101. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  102. readonly required: false;
  103. readonly validator: ((val: unknown) => boolean) | undefined;
  104. __epPropKey: true;
  105. };
  106. readonly color: {
  107. readonly type: import("vue").PropType<string>;
  108. readonly required: false;
  109. readonly validator: ((val: unknown) => boolean) | undefined;
  110. __epPropKey: true;
  111. };
  112. }>> & {
  113. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  114. }>>;
  115. ns: {
  116. namespace: import("vue").ComputedRef<string>;
  117. b: (blockSuffix?: string) => string;
  118. e: (element?: string | undefined) => string;
  119. m: (modifier?: string | undefined) => string;
  120. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  121. em: (element?: string | undefined, modifier?: string | undefined) => string;
  122. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  123. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  124. is: {
  125. (name: string, state: boolean | undefined): string;
  126. (name: string): string;
  127. };
  128. cssVar: (object: Record<string, string>) => Record<string, string>;
  129. cssVarName: (name: string) => string;
  130. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  131. cssVarBlockName: (name: string) => string;
  132. };
  133. style: import("vue").ComputedRef<import("vue").CSSProperties>;
  134. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  135. readonly size: {
  136. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  137. readonly required: false;
  138. readonly validator: ((val: unknown) => boolean) | undefined;
  139. __epPropKey: true;
  140. };
  141. readonly color: {
  142. readonly type: import("vue").PropType<string>;
  143. readonly required: false;
  144. readonly validator: ((val: unknown) => boolean) | undefined;
  145. __epPropKey: true;
  146. };
  147. }>>, {}>> & Record<string, any>;
  148. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  149. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  150. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  151. }>>, {
  152. readonly replace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  153. readonly to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
  154. }>;
  155. };
  156. export declare const ElBreadcrumbItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  157. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  158. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  159. }, {
  160. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  161. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  162. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  163. }>> & {
  164. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  165. }>>;
  166. instance: import("vue").ComponentInternalInstance;
  167. breadcrumbContext: import("./src/breadcrumb").BreadcrumbProps | undefined;
  168. ns: {
  169. namespace: import("vue").ComputedRef<string>;
  170. b: (blockSuffix?: string) => string;
  171. e: (element?: string | undefined) => string;
  172. m: (modifier?: string | undefined) => string;
  173. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  174. em: (element?: string | undefined, modifier?: string | undefined) => string;
  175. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  176. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  177. is: {
  178. (name: string, state: boolean | undefined): string;
  179. (name: string): string;
  180. };
  181. cssVar: (object: Record<string, string>) => Record<string, string>;
  182. cssVarName: (name: string) => string;
  183. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  184. cssVarBlockName: (name: string) => string;
  185. };
  186. router: import("vue-router").Router;
  187. link: import("vue").Ref<HTMLSpanElement | undefined>;
  188. onClick: () => void;
  189. ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
  190. readonly size: {
  191. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  192. readonly required: false;
  193. readonly validator: ((val: unknown) => boolean) | undefined;
  194. __epPropKey: true;
  195. };
  196. readonly color: {
  197. readonly type: import("vue").PropType<string>;
  198. readonly required: false;
  199. readonly validator: ((val: unknown) => boolean) | undefined;
  200. __epPropKey: true;
  201. };
  202. }, {
  203. props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
  204. readonly size: {
  205. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  206. readonly required: false;
  207. readonly validator: ((val: unknown) => boolean) | undefined;
  208. __epPropKey: true;
  209. };
  210. readonly color: {
  211. readonly type: import("vue").PropType<string>;
  212. readonly required: false;
  213. readonly validator: ((val: unknown) => boolean) | undefined;
  214. __epPropKey: true;
  215. };
  216. }>> & {
  217. [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
  218. }>>;
  219. ns: {
  220. namespace: import("vue").ComputedRef<string>;
  221. b: (blockSuffix?: string) => string;
  222. e: (element?: string | undefined) => string;
  223. m: (modifier?: string | undefined) => string;
  224. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  225. em: (element?: string | undefined, modifier?: string | undefined) => string;
  226. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  227. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  228. is: {
  229. (name: string, state: boolean | undefined): string;
  230. (name: string): string;
  231. };
  232. cssVar: (object: Record<string, string>) => Record<string, string>;
  233. cssVarName: (name: string) => string;
  234. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  235. cssVarBlockName: (name: string) => string;
  236. };
  237. style: import("vue").ComputedRef<import("vue").CSSProperties>;
  238. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  239. readonly size: {
  240. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
  241. readonly required: false;
  242. readonly validator: ((val: unknown) => boolean) | undefined;
  243. __epPropKey: true;
  244. };
  245. readonly color: {
  246. readonly type: import("vue").PropType<string>;
  247. readonly required: false;
  248. readonly validator: ((val: unknown) => boolean) | undefined;
  249. __epPropKey: true;
  250. };
  251. }>>, {}>> & Record<string, any>;
  252. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  253. readonly to: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown, "", boolean>;
  254. readonly replace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
  255. }>>, {
  256. readonly replace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
  257. readonly to: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>;
  258. }>>;
  259. export default ElBreadcrumb;
  260. export * from './src/breadcrumb';
  261. export * from './src/breadcrumb-item';
  262. export * from './src/constants';
  263. export type { BreadcrumbInstance, BreadcrumbItemInstance, } from './src/instances';