(data: UserInstance[] = [])
| 64 | } |
| 65 | |
| 66 | export async function useSelectInstances(data: UserInstance[] = []) { |
| 67 | return await useMountComponent({ |
| 68 | data, |
| 69 | title: t("TXT_CODE_8145d25a"), |
| 70 | columns: [ |
| 71 | { |
| 72 | align: "center", |
| 73 | title: t("TXT_CODE_f70badb9"), |
| 74 | dataIndex: "nickname", |
| 75 | key: "instanceUuid" |
| 76 | }, |
| 77 | { |
| 78 | align: "center", |
| 79 | title: t("TXT_CODE_5def0cbe"), |
| 80 | key: "safe" |
| 81 | }, |
| 82 | { |
| 83 | align: "center", |
| 84 | title: t("TXT_CODE_fe731dfc"), |
| 85 | key: "operation" |
| 86 | } |
| 87 | ] |
| 88 | }).mount<UserInstance[]>(SelectInstances); |
| 89 | } |
| 90 | |
| 91 | export async function useCmdAssistantDialog() { |
| 92 | return await useMountComponent().mount<string>(CmdAssistantDialog); |
nothing calls this directly
no test coverage detected