import { Component } from '../../lib/vues6/vues6.js' import { auth_api } from '../service/AuthApi.service.js' import { action_service } from '../service/Action.service.js' const template = `
{{ app_name }}
` export default class AuthPage extends Component { static get selector() { return 'coreid-auth-page' } static get props() { return ['app_name', 'message', 'actions'] } static get template() { return template } loading = false async action_click(index) { this.loading = true await action_service.perform(this.actions[index]) } }