fix linting errors
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { css, CSSResultGroup, html, LitElement, unsafeCSS } from 'lit';
|
||||
import { css, CSSResultGroup, html, LitElement } from 'lit';
|
||||
import { customElement } from 'lit/decorators.js';
|
||||
|
||||
@customElement('umb-auth-layout')
|
||||
export class UmbAuthLayoutElement extends LitElement {
|
||||
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div id="background"></div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LoginRequestModel, IUmbAuthContext, LoginResponse } from './types';
|
||||
import { LoginRequestModel, IUmbAuthContext, LoginResponse } from './types.js';
|
||||
|
||||
export class UmbAuthLegacyContext implements IUmbAuthContext {
|
||||
readonly #AUTH_URL = '/umbraco/backoffice/umbracoapi/authentication/postlogin';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { UmbAuthRepository } from './auth.repository';
|
||||
import { LoginRequestModel, IUmbAuthContext } from './types';
|
||||
import { UmbAuthRepository } from './auth.repository.js';
|
||||
import { LoginRequestModel, IUmbAuthContext } from './types.js';
|
||||
|
||||
export class UmbAuthContext implements IUmbAuthContext {
|
||||
readonly #AUTH_URL = '/umbraco/management/api/v1/security/back-office';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { LoginRequestModel } from './types';
|
||||
import { LoginRequestModel } from './types.js';
|
||||
|
||||
export class UmbAuthRepository {
|
||||
#authURL = '';
|
||||
|
||||
@@ -3,11 +3,11 @@ import { css, CSSResultGroup, html, LitElement, nothing } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
|
||||
import { UUIButtonState } from '@umbraco-ui/uui';
|
||||
import { IUmbAuthContext } from './types';
|
||||
import { UmbAuthLegacyContext } from './auth-legacy.context';
|
||||
import { UmbAuthContext } from './auth.context';
|
||||
import { IUmbAuthContext } from './types.js';
|
||||
import { UmbAuthLegacyContext } from './auth-legacy.context.js';
|
||||
import { UmbAuthContext } from './auth.context.js';
|
||||
|
||||
import './auth-layout.element';
|
||||
import './auth-layout.element.js';
|
||||
|
||||
@customElement('umb-login')
|
||||
export default class UmbLoginElement extends LitElement {
|
||||
|
||||
Reference in New Issue
Block a user