tree-select-option.d.ts 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. import { nextTick } from 'vue';
  2. declare const component: import("vue").DefineComponent<{}, any, {}, {}, {
  3. selectOptionClick(): void;
  4. }, import("vue").ComponentOptionsMixin, ({
  5. new (...args: any[]): {
  6. $: import("vue").ComponentInternalInstance;
  7. $data: {};
  8. $props: Partial<{
  9. disabled: boolean;
  10. created: boolean;
  11. }> & Omit<Readonly<import("vue").ExtractPropTypes<{
  12. value: {
  13. required: true;
  14. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  15. };
  16. label: (StringConstructor | NumberConstructor)[];
  17. created: BooleanConstructor;
  18. disabled: {
  19. type: BooleanConstructor;
  20. default: boolean;
  21. };
  22. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "created">;
  23. $attrs: {
  24. [x: string]: unknown;
  25. };
  26. $refs: {
  27. [x: string]: unknown;
  28. };
  29. $slots: Readonly<{
  30. [name: string]: import("vue").Slot | undefined;
  31. }>;
  32. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  33. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  34. $emit: (event: string, ...args: any[]) => void;
  35. $el: any;
  36. $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  37. value: {
  38. required: true;
  39. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  40. };
  41. label: (StringConstructor | NumberConstructor)[];
  42. created: BooleanConstructor;
  43. disabled: {
  44. type: BooleanConstructor;
  45. default: boolean;
  46. };
  47. }>>, {
  48. ns: {
  49. namespace: import("vue").Ref<string>;
  50. b: (blockSuffix?: string) => string;
  51. e: (element?: string | undefined) => string;
  52. m: (modifier?: string | undefined) => string;
  53. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  54. em: (element?: string | undefined, modifier?: string | undefined) => string;
  55. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  56. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  57. is: {
  58. (name: string, state: boolean | undefined): string;
  59. (name: string): string;
  60. };
  61. cssVar: (object: Record<string, string>) => Record<string, string>;
  62. cssVarName: (name: string) => string;
  63. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  64. cssVarBlockName: (name: string) => string;
  65. };
  66. currentLabel: import("vue").ComputedRef<any>;
  67. itemSelected: import("vue").ComputedRef<boolean>;
  68. isDisabled: import("vue").ComputedRef<any>;
  69. select: import("element-plus/es/components/select").SelectContext | undefined;
  70. hoverItem: () => void;
  71. visible: import("vue").Ref<boolean>;
  72. hover: import("vue").Ref<boolean>;
  73. selectOptionClick: () => void;
  74. states: {
  75. index: number;
  76. groupDisabled: boolean;
  77. visible: boolean;
  78. hitState: boolean;
  79. hover: boolean;
  80. };
  81. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
  82. disabled: boolean;
  83. created: boolean;
  84. }> & {
  85. beforeCreate?: ((() => void) | (() => void)[]) | undefined;
  86. created?: ((() => void) | (() => void)[]) | undefined;
  87. beforeMount?: ((() => void) | (() => void)[]) | undefined;
  88. mounted?: ((() => void) | (() => void)[]) | undefined;
  89. beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
  90. updated?: ((() => void) | (() => void)[]) | undefined;
  91. activated?: ((() => void) | (() => void)[]) | undefined;
  92. deactivated?: ((() => void) | (() => void)[]) | undefined;
  93. beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
  94. beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
  95. destroyed?: ((() => void) | (() => void)[]) | undefined;
  96. unmounted?: ((() => void) | (() => void)[]) | undefined;
  97. renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  98. renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  99. errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
  100. };
  101. $forceUpdate: () => void;
  102. $nextTick: typeof nextTick;
  103. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
  104. } & Readonly<import("vue").ExtractPropTypes<{
  105. value: {
  106. required: true;
  107. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  108. };
  109. label: (StringConstructor | NumberConstructor)[];
  110. created: BooleanConstructor;
  111. disabled: {
  112. type: BooleanConstructor;
  113. default: boolean;
  114. };
  115. }>> & import("vue").ShallowUnwrapRef<{
  116. ns: {
  117. namespace: import("vue").Ref<string>;
  118. b: (blockSuffix?: string) => string;
  119. e: (element?: string | undefined) => string;
  120. m: (modifier?: string | undefined) => string;
  121. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  122. em: (element?: string | undefined, modifier?: string | undefined) => string;
  123. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  124. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  125. is: {
  126. (name: string, state: boolean | undefined): string;
  127. (name: string): string;
  128. };
  129. cssVar: (object: Record<string, string>) => Record<string, string>;
  130. cssVarName: (name: string) => string;
  131. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  132. cssVarBlockName: (name: string) => string;
  133. };
  134. currentLabel: import("vue").ComputedRef<any>;
  135. itemSelected: import("vue").ComputedRef<boolean>;
  136. isDisabled: import("vue").ComputedRef<any>;
  137. select: import("element-plus/es/components/select").SelectContext | undefined;
  138. hoverItem: () => void;
  139. visible: import("vue").Ref<boolean>;
  140. hover: import("vue").Ref<boolean>;
  141. selectOptionClick: () => void;
  142. states: {
  143. index: number;
  144. groupDisabled: boolean;
  145. visible: boolean;
  146. hitState: boolean;
  147. hover: boolean;
  148. };
  149. }> & {} & import("vue").ComponentCustomProperties;
  150. __isFragment?: undefined;
  151. __isTeleport?: undefined;
  152. __isSuspense?: undefined;
  153. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  154. value: {
  155. required: true;
  156. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  157. };
  158. label: (StringConstructor | NumberConstructor)[];
  159. created: BooleanConstructor;
  160. disabled: {
  161. type: BooleanConstructor;
  162. default: boolean;
  163. };
  164. }>>, {
  165. ns: {
  166. namespace: import("vue").Ref<string>;
  167. b: (blockSuffix?: string) => string;
  168. e: (element?: string | undefined) => string;
  169. m: (modifier?: string | undefined) => string;
  170. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  171. em: (element?: string | undefined, modifier?: string | undefined) => string;
  172. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  173. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  174. is: {
  175. (name: string, state: boolean | undefined): string;
  176. (name: string): string;
  177. };
  178. cssVar: (object: Record<string, string>) => Record<string, string>;
  179. cssVarName: (name: string) => string;
  180. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  181. cssVarBlockName: (name: string) => string;
  182. };
  183. currentLabel: import("vue").ComputedRef<any>;
  184. itemSelected: import("vue").ComputedRef<boolean>;
  185. isDisabled: import("vue").ComputedRef<any>;
  186. select: import("element-plus/es/components/select").SelectContext | undefined;
  187. hoverItem: () => void;
  188. visible: import("vue").Ref<boolean>;
  189. hover: import("vue").Ref<boolean>;
  190. selectOptionClick: () => void;
  191. states: {
  192. index: number;
  193. groupDisabled: boolean;
  194. visible: boolean;
  195. hitState: boolean;
  196. hover: boolean;
  197. };
  198. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
  199. disabled: boolean;
  200. created: boolean;
  201. }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: import("vue").App<any>, ...options: any[]) => any) & {
  202. install?: ((app: import("vue").App<any>, ...options: any[]) => any) | undefined;
  203. }) | ({
  204. new (...args: any[]): {
  205. $: import("vue").ComponentInternalInstance;
  206. $data: {};
  207. $props: Partial<{
  208. disabled: boolean;
  209. created: boolean;
  210. }> & Omit<Readonly<import("vue").ExtractPropTypes<{
  211. value: {
  212. required: true;
  213. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  214. };
  215. label: (StringConstructor | NumberConstructor)[];
  216. created: BooleanConstructor;
  217. disabled: {
  218. type: BooleanConstructor;
  219. default: boolean;
  220. };
  221. }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "created">;
  222. $attrs: {
  223. [x: string]: unknown;
  224. };
  225. $refs: {
  226. [x: string]: unknown;
  227. };
  228. $slots: Readonly<{
  229. [name: string]: import("vue").Slot | undefined;
  230. }>;
  231. $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  232. $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
  233. $emit: (event: string, ...args: any[]) => void;
  234. $el: any;
  235. $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  236. value: {
  237. required: true;
  238. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  239. };
  240. label: (StringConstructor | NumberConstructor)[];
  241. created: BooleanConstructor;
  242. disabled: {
  243. type: BooleanConstructor;
  244. default: boolean;
  245. };
  246. }>>, {
  247. ns: {
  248. namespace: import("vue").Ref<string>;
  249. b: (blockSuffix?: string) => string;
  250. e: (element?: string | undefined) => string;
  251. m: (modifier?: string | undefined) => string;
  252. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  253. em: (element?: string | undefined, modifier?: string | undefined) => string;
  254. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  255. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  256. is: {
  257. (name: string, state: boolean | undefined): string;
  258. (name: string): string;
  259. };
  260. cssVar: (object: Record<string, string>) => Record<string, string>;
  261. cssVarName: (name: string) => string;
  262. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  263. cssVarBlockName: (name: string) => string;
  264. };
  265. currentLabel: import("vue").ComputedRef<any>;
  266. itemSelected: import("vue").ComputedRef<boolean>;
  267. isDisabled: import("vue").ComputedRef<any>;
  268. select: import("element-plus/es/components/select").SelectContext | undefined;
  269. hoverItem: () => void;
  270. visible: import("vue").Ref<boolean>;
  271. hover: import("vue").Ref<boolean>;
  272. selectOptionClick: () => void;
  273. states: {
  274. index: number;
  275. groupDisabled: boolean;
  276. visible: boolean;
  277. hitState: boolean;
  278. hover: boolean;
  279. };
  280. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
  281. disabled: boolean;
  282. created: boolean;
  283. }> & {
  284. beforeCreate?: ((() => void) | (() => void)[]) | undefined;
  285. created?: ((() => void) | (() => void)[]) | undefined;
  286. beforeMount?: ((() => void) | (() => void)[]) | undefined;
  287. mounted?: ((() => void) | (() => void)[]) | undefined;
  288. beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
  289. updated?: ((() => void) | (() => void)[]) | undefined;
  290. activated?: ((() => void) | (() => void)[]) | undefined;
  291. deactivated?: ((() => void) | (() => void)[]) | undefined;
  292. beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
  293. beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
  294. destroyed?: ((() => void) | (() => void)[]) | undefined;
  295. unmounted?: ((() => void) | (() => void)[]) | undefined;
  296. renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  297. renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
  298. errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
  299. };
  300. $forceUpdate: () => void;
  301. $nextTick: typeof nextTick;
  302. $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
  303. } & Readonly<import("vue").ExtractPropTypes<{
  304. value: {
  305. required: true;
  306. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  307. };
  308. label: (StringConstructor | NumberConstructor)[];
  309. created: BooleanConstructor;
  310. disabled: {
  311. type: BooleanConstructor;
  312. default: boolean;
  313. };
  314. }>> & import("vue").ShallowUnwrapRef<{
  315. ns: {
  316. namespace: import("vue").Ref<string>;
  317. b: (blockSuffix?: string) => string;
  318. e: (element?: string | undefined) => string;
  319. m: (modifier?: string | undefined) => string;
  320. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  321. em: (element?: string | undefined, modifier?: string | undefined) => string;
  322. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  323. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  324. is: {
  325. (name: string, state: boolean | undefined): string;
  326. (name: string): string;
  327. };
  328. cssVar: (object: Record<string, string>) => Record<string, string>;
  329. cssVarName: (name: string) => string;
  330. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  331. cssVarBlockName: (name: string) => string;
  332. };
  333. currentLabel: import("vue").ComputedRef<any>;
  334. itemSelected: import("vue").ComputedRef<boolean>;
  335. isDisabled: import("vue").ComputedRef<any>;
  336. select: import("element-plus/es/components/select").SelectContext | undefined;
  337. hoverItem: () => void;
  338. visible: import("vue").Ref<boolean>;
  339. hover: import("vue").Ref<boolean>;
  340. selectOptionClick: () => void;
  341. states: {
  342. index: number;
  343. groupDisabled: boolean;
  344. visible: boolean;
  345. hitState: boolean;
  346. hover: boolean;
  347. };
  348. }> & {} & import("vue").ComponentCustomProperties;
  349. __isFragment?: undefined;
  350. __isTeleport?: undefined;
  351. __isSuspense?: undefined;
  352. } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
  353. value: {
  354. required: true;
  355. type: (BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
  356. };
  357. label: (StringConstructor | NumberConstructor)[];
  358. created: BooleanConstructor;
  359. disabled: {
  360. type: BooleanConstructor;
  361. default: boolean;
  362. };
  363. }>>, {
  364. ns: {
  365. namespace: import("vue").Ref<string>;
  366. b: (blockSuffix?: string) => string;
  367. e: (element?: string | undefined) => string;
  368. m: (modifier?: string | undefined) => string;
  369. be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
  370. em: (element?: string | undefined, modifier?: string | undefined) => string;
  371. bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
  372. bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
  373. is: {
  374. (name: string, state: boolean | undefined): string;
  375. (name: string): string;
  376. };
  377. cssVar: (object: Record<string, string>) => Record<string, string>;
  378. cssVarName: (name: string) => string;
  379. cssVarBlock: (object: Record<string, string>) => Record<string, string>;
  380. cssVarBlockName: (name: string) => string;
  381. };
  382. currentLabel: import("vue").ComputedRef<any>;
  383. itemSelected: import("vue").ComputedRef<boolean>;
  384. isDisabled: import("vue").ComputedRef<any>;
  385. select: import("element-plus/es/components/select").SelectContext | undefined;
  386. hoverItem: () => void;
  387. visible: import("vue").Ref<boolean>;
  388. hover: import("vue").Ref<boolean>;
  389. selectOptionClick: () => void;
  390. states: {
  391. index: number;
  392. groupDisabled: boolean;
  393. visible: boolean;
  394. hitState: boolean;
  395. hover: boolean;
  396. };
  397. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
  398. disabled: boolean;
  399. created: boolean;
  400. }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
  401. install: (app: import("vue").App<any>, ...options: any[]) => any;
  402. }), import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
  403. export default component;