Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
import Button from '../buttons/Button.vue';
// import IdTagInputModal from './IdTagInputModal.vue';
import type { ConnectorStatus } from '@/types';
-import UIClient from '@/composables/UIClient';
+import { UIClient } from '@/composables/UIClient';
// import { compose } from '@/composables/Utils';
const props = defineProps<{
reject: (reason?: unknown) => void;
};
-export default class UIClient {
+export class UIClient {
private static instance: UIClient | null = null;
private ws!: WebSocket;
import type { ChargingStationData } from '@/types';
import Container from '@/components/Container.vue';
import ReloadButton from '@/components/buttons/ReloadButton.vue';
-import UIClient from '@/composables/UIClient';
+import { UIClient } from '@/composables/UIClient';
const UIClientInstance = UIClient.getInstance();