transfer-panel.vue.d.ts 5.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import type { VNode } from 'vue';
  2. declare function __VLS_template(): {
  3. empty?(_: {}): any;
  4. default?(_: {}): any;
  5. };
  6. declare const __VLS_component: import("vue").DefineComponent<{
  7. readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferDataItem[]) | (() => import("element-plus").TransferDataItem[]) | ((new (...args: any[]) => import("element-plus").TransferDataItem[]) | (() => import("element-plus").TransferDataItem[]))[], unknown, unknown, () => never[], boolean>;
  8. readonly optionRender: {
  9. readonly type: import("vue").PropType<(option: import("element-plus").TransferDataItem) => VNode | VNode[]>;
  10. readonly required: false;
  11. readonly validator: ((val: unknown) => boolean) | undefined;
  12. __epPropKey: true;
  13. };
  14. readonly placeholder: StringConstructor;
  15. readonly title: StringConstructor;
  16. readonly filterable: BooleanConstructor;
  17. readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferFormat) | (() => import("element-plus").TransferFormat) | ((new (...args: any[]) => import("element-plus").TransferFormat) | (() => import("element-plus").TransferFormat))[], unknown, unknown, () => {}, boolean>;
  18. readonly filterMethod: {
  19. readonly type: import("vue").PropType<(query: string, item: import("element-plus").TransferDataItem) => boolean>;
  20. readonly required: false;
  21. readonly validator: ((val: unknown) => boolean) | undefined;
  22. __epPropKey: true;
  23. };
  24. readonly defaultChecked: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferKey[]) | (() => import("element-plus").TransferKey[]) | ((new (...args: any[]) => import("element-plus").TransferKey[]) | (() => import("element-plus").TransferKey[]))[], unknown, unknown, () => never[], boolean>;
  25. readonly props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferPropsAlias) | (() => import("element-plus").TransferPropsAlias) | ((new (...args: any[]) => import("element-plus").TransferPropsAlias) | (() => import("element-plus").TransferPropsAlias))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{
  26. readonly label: "label";
  27. readonly key: "key";
  28. readonly disabled: "disabled";
  29. }>, boolean>;
  30. }, {
  31. /** @description filter keyword */
  32. query: import("vue").Ref<string>;
  33. }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
  34. "checked-change": (value: import("element-plus").TransferKey[], movedKeys?: import("element-plus").TransferKey[] | undefined) => void;
  35. }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
  36. readonly data: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferDataItem[]) | (() => import("element-plus").TransferDataItem[]) | ((new (...args: any[]) => import("element-plus").TransferDataItem[]) | (() => import("element-plus").TransferDataItem[]))[], unknown, unknown, () => never[], boolean>;
  37. readonly optionRender: {
  38. readonly type: import("vue").PropType<(option: import("element-plus").TransferDataItem) => VNode | VNode[]>;
  39. readonly required: false;
  40. readonly validator: ((val: unknown) => boolean) | undefined;
  41. __epPropKey: true;
  42. };
  43. readonly placeholder: StringConstructor;
  44. readonly title: StringConstructor;
  45. readonly filterable: BooleanConstructor;
  46. readonly format: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferFormat) | (() => import("element-plus").TransferFormat) | ((new (...args: any[]) => import("element-plus").TransferFormat) | (() => import("element-plus").TransferFormat))[], unknown, unknown, () => {}, boolean>;
  47. readonly filterMethod: {
  48. readonly type: import("vue").PropType<(query: string, item: import("element-plus").TransferDataItem) => boolean>;
  49. readonly required: false;
  50. readonly validator: ((val: unknown) => boolean) | undefined;
  51. __epPropKey: true;
  52. };
  53. readonly defaultChecked: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferKey[]) | (() => import("element-plus").TransferKey[]) | ((new (...args: any[]) => import("element-plus").TransferKey[]) | (() => import("element-plus").TransferKey[]))[], unknown, unknown, () => never[], boolean>;
  54. readonly props: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").TransferPropsAlias) | (() => import("element-plus").TransferPropsAlias) | ((new (...args: any[]) => import("element-plus").TransferPropsAlias) | (() => import("element-plus").TransferPropsAlias))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{
  55. readonly label: "label";
  56. readonly key: "key";
  57. readonly disabled: "disabled";
  58. }>, boolean>;
  59. }>> & {
  60. "onChecked-change"?: ((value: import("element-plus").TransferKey[], movedKeys?: import("element-plus").TransferKey[] | undefined) => any) | undefined;
  61. }, {
  62. readonly data: import("element-plus").TransferDataItem[];
  63. readonly props: import("element-plus").TransferPropsAlias;
  64. readonly format: import("element-plus").TransferFormat;
  65. readonly filterable: boolean;
  66. readonly defaultChecked: import("element-plus").TransferKey[];
  67. }>;
  68. declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
  69. export default _default;
  70. type __VLS_WithTemplateSlots<T, S> = T & {
  71. new (): {
  72. $slots: S;
  73. };
  74. };