web: use absolute imports with path rewrite instead of relative imports (#3149)

This commit is contained in:
Jens L
2022-06-25 17:44:17 +02:00
committed by GitHub
parent 340faf5341
commit a8c04f96d2
242 changed files with 1614 additions and 1567 deletions

View File

@ -1,13 +1,14 @@
import { DEFAULT_CONFIG } from "@goauthentik/web/api/Config";
import { ERROR_CLASS, SECONDARY_CLASS, SUCCESS_CLASS } from "@goauthentik/web/constants";
import { PFSize } from "@goauthentik/web/elements/Spinner";
import { MessageLevel } from "@goauthentik/web/elements/messages/Message";
import { showMessage } from "@goauthentik/web/elements/messages/MessageContainer";
import { TemplateResult, html } from "lit";
import { customElement, property } from "lit/decorators.js";
import { CoreApi, ResponseError } from "@goauthentik/api";
import { DEFAULT_CONFIG } from "../../api/Config";
import { ERROR_CLASS, SECONDARY_CLASS, SUCCESS_CLASS } from "../../constants";
import { PFSize } from "../Spinner";
import { MessageLevel } from "../messages/Message";
import { showMessage } from "../messages/MessageContainer";
import { ActionButton } from "./ActionButton";
@customElement("ak-token-copy-button")