web: migrate to @goauthentik/api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0344e5d9b3
commit
1d4b941a3b
11
web/package-lock.json
generated
11
web/package-lock.json
generated
|
@ -15,6 +15,7 @@
|
||||||
"@babel/preset-env": "^7.15.0",
|
"@babel/preset-env": "^7.15.0",
|
||||||
"@babel/preset-typescript": "^7.15.0",
|
"@babel/preset-typescript": "^7.15.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
|
"@goauthentik/api": "^1629055619.0.0",
|
||||||
"@lingui/cli": "^3.10.2",
|
"@lingui/cli": "^3.10.2",
|
||||||
"@lingui/core": "^3.10.4",
|
"@lingui/core": "^3.10.4",
|
||||||
"@lingui/macro": "^3.10.2",
|
"@lingui/macro": "^3.10.2",
|
||||||
|
@ -1743,6 +1744,11 @@
|
||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@goauthentik/api": {
|
||||||
|
"version": "1629055619.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-1629055619.0.0.tgz",
|
||||||
|
"integrity": "sha512-FQR1hoYC8hEGAm/oHC6VPoB/T8zb+V7pccx4LRJlKo8VxdsRAxgGn9nm/5h/1zIg8VmuRQqsXFNQMRT86nzyjw=="
|
||||||
|
},
|
||||||
"node_modules/@humanwhocodes/config-array": {
|
"node_modules/@humanwhocodes/config-array": {
|
||||||
"version": "0.5.0",
|
"version": "0.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
|
||||||
|
@ -9236,6 +9242,11 @@
|
||||||
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz",
|
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.4.tgz",
|
||||||
"integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg=="
|
"integrity": "sha512-eYm8vijH/hpzr/6/1CJ/V/Eb1xQFW2nnUKArb3z+yUWv7HTwj6M7SP957oMjfZjAHU6qpoNc2wQvIxBLWYa/Jg=="
|
||||||
},
|
},
|
||||||
|
"@goauthentik/api": {
|
||||||
|
"version": "1629055619.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-1629055619.0.0.tgz",
|
||||||
|
"integrity": "sha512-FQR1hoYC8hEGAm/oHC6VPoB/T8zb+V7pccx4LRJlKo8VxdsRAxgGn9nm/5h/1zIg8VmuRQqsXFNQMRT86nzyjw=="
|
||||||
|
},
|
||||||
"@humanwhocodes/config-array": {
|
"@humanwhocodes/config-array": {
|
||||||
"version": "0.5.0",
|
"version": "0.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
"@babel/preset-env": "^7.15.0",
|
"@babel/preset-env": "^7.15.0",
|
||||||
"@babel/preset-typescript": "^7.15.0",
|
"@babel/preset-typescript": "^7.15.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||||
|
"@goauthentik/api": "^1629055619.0.0",
|
||||||
"@lingui/cli": "^3.10.2",
|
"@lingui/cli": "^3.10.2",
|
||||||
"@lingui/core": "^3.10.4",
|
"@lingui/core": "^3.10.4",
|
||||||
"@lingui/macro": "^3.10.2",
|
"@lingui/macro": "^3.10.2",
|
||||||
|
@ -63,7 +64,6 @@
|
||||||
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
"@typescript-eslint/eslint-plugin": "^4.29.1",
|
||||||
"@typescript-eslint/parser": "^4.29.1",
|
"@typescript-eslint/parser": "^4.29.1",
|
||||||
"@webcomponents/webcomponentsjs": "^2.6.0",
|
"@webcomponents/webcomponentsjs": "^2.6.0",
|
||||||
"authentik-api": "file:api",
|
|
||||||
"babel-plugin-macros": "^3.1.0",
|
"babel-plugin-macros": "^3.1.0",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"chart.js": "^3.5.0",
|
"chart.js": "^3.5.0",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Config, Configuration, CoreApi, CurrentTenant, Middleware, ResponseContext, RootApi, Tenant } from "authentik-api";
|
import { Config, Configuration, CoreApi, CurrentTenant, Middleware, ResponseContext, RootApi, Tenant } from "@goauthentik/api";
|
||||||
import { getCookie } from "../utils";
|
import { getCookie } from "../utils";
|
||||||
import { APIMiddleware } from "../elements/notifications/APIDrawer";
|
import { APIMiddleware } from "../elements/notifications/APIDrawer";
|
||||||
import { MessageMiddleware } from "../elements/messages/Middleware";
|
import { MessageMiddleware } from "../elements/messages/Middleware";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Event } from "authentik-api";
|
import { Event } from "@goauthentik/api";
|
||||||
|
|
||||||
export interface EventUser {
|
export interface EventUser {
|
||||||
pk: number;
|
pk: number;
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { VERSION } from "../constants";
|
||||||
import { SentryIgnoredError } from "../common/errors";
|
import { SentryIgnoredError } from "../common/errors";
|
||||||
import { me } from "./Users";
|
import { me } from "./Users";
|
||||||
import { config } from "./Config";
|
import { config } from "./Config";
|
||||||
import { Config } from "authentik-api";
|
import { Config } from "@goauthentik/api";
|
||||||
|
|
||||||
export const TAG_SENTRY_COMPONENT = "authentik.component";
|
export const TAG_SENTRY_COMPONENT = "authentik.component";
|
||||||
export const TAG_SENTRY_CAPABILITIES = "authentik.capabilities";
|
export const TAG_SENTRY_CAPABILITIES = "authentik.capabilities";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CoreApi, SessionUser } from "authentik-api";
|
import { CoreApi, SessionUser } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "./Config";
|
import { DEFAULT_CONFIG } from "./Config";
|
||||||
|
|
||||||
let globalMePromise: Promise<SessionUser>;
|
let globalMePromise: Promise<SessionUser>;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { CoreApi } from "authentik-api";
|
import { CoreApi } from "@goauthentik/api";
|
||||||
import { PRIMARY_CLASS, SUCCESS_CLASS } from "../../constants";
|
import { PRIMARY_CLASS, SUCCESS_CLASS } from "../../constants";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { ActionButton } from "./ActionButton";
|
import { ActionButton } from "./ActionButton";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { ChartData } from "chart.js";
|
import { ChartData } from "chart.js";
|
||||||
import { AdminApi, LoginMetrics } from "authentik-api";
|
import { AdminApi, LoginMetrics } from "@goauthentik/api";
|
||||||
import { AKChart } from "./Chart";
|
import { AKChart } from "./Chart";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { Coordinate, CoreApi } from "authentik-api";
|
import { Coordinate, CoreApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { AKChart } from "./Chart";
|
import { AKChart } from "./Chart";
|
||||||
import { ChartData } from "chart.js";
|
import { ChartData } from "chart.js";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { CoreApi, UserMetrics } from "authentik-api";
|
import { CoreApi, UserMetrics } from "@goauthentik/api";
|
||||||
import { AKChart } from "./Chart";
|
import { AKChart } from "./Chart";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { ChartData } from "chart.js";
|
import { ChartData } from "chart.js";
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { t } from "@lingui/macro";
|
||||||
import { customElement, html, property, TemplateResult } from "lit-element";
|
import { customElement, html, property, TemplateResult } from "lit-element";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
import { Table, TableColumn } from "../table/Table";
|
import { Table, TableColumn } from "../table/Table";
|
||||||
import { Event, EventsApi } from "authentik-api";
|
import { Event, EventsApi } from "@goauthentik/api";
|
||||||
|
|
||||||
import "../Tabs";
|
import "../Tabs";
|
||||||
import "../buttons/ModalButton";
|
import "../buttons/ModalButton";
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { t } from "@lingui/macro";
|
||||||
import { customElement, html, property, TemplateResult } from "lit-element";
|
import { customElement, html, property, TemplateResult } from "lit-element";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
import { Table, TableColumn } from "../table/Table";
|
import { Table, TableColumn } from "../table/Table";
|
||||||
import { Event, EventsApi } from "authentik-api";
|
import { Event, EventsApi } from "@goauthentik/api";
|
||||||
|
|
||||||
import "../Tabs";
|
import "../Tabs";
|
||||||
import "../buttons/ModalButton";
|
import "../buttons/ModalButton";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { ModalButton } from "../buttons/ModalButton";
|
||||||
import { MessageLevel } from "../messages/Message";
|
import { MessageLevel } from "../messages/Message";
|
||||||
import { showMessage } from "../messages/MessageContainer";
|
import { showMessage } from "../messages/MessageContainer";
|
||||||
import "../buttons/SpinnerButton";
|
import "../buttons/SpinnerButton";
|
||||||
import { UsedBy, UsedByActionEnum } from "authentik-api";
|
import { UsedBy, UsedByActionEnum } from "@goauthentik/api";
|
||||||
import PFList from "@patternfly/patternfly/components/List/list.css";
|
import PFList from "@patternfly/patternfly/components/List/list.css";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { Table, TableColumn } from "../table/Table";
|
import { Table, TableColumn } from "../table/Table";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { ModalButton } from "../buttons/ModalButton";
|
||||||
import { MessageLevel } from "../messages/Message";
|
import { MessageLevel } from "../messages/Message";
|
||||||
import { showMessage } from "../messages/MessageContainer";
|
import { showMessage } from "../messages/MessageContainer";
|
||||||
import "../buttons/SpinnerButton";
|
import "../buttons/SpinnerButton";
|
||||||
import { UsedBy, UsedByActionEnum } from "authentik-api";
|
import { UsedBy, UsedByActionEnum } from "@goauthentik/api";
|
||||||
import PFList from "@patternfly/patternfly/components/List/list.css";
|
import PFList from "@patternfly/patternfly/components/List/list.css";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import PFInputGroup from "@patternfly/patternfly/components/InputGroup/input-gro
|
||||||
import { MessageLevel } from "../messages/Message";
|
import { MessageLevel } from "../messages/Message";
|
||||||
import { IronFormElement } from "@polymer/iron-form/iron-form";
|
import { IronFormElement } from "@polymer/iron-form/iron-form";
|
||||||
import { camelToSnake, convertToSlug } from "../../utils";
|
import { camelToSnake, convertToSlug } from "../../utils";
|
||||||
import { ValidationError } from "authentik-api";
|
import { ValidationError } from "@goauthentik/api";
|
||||||
import { EVENT_REFRESH } from "../../constants";
|
import { EVENT_REFRESH } from "../../constants";
|
||||||
|
|
||||||
export class APIError extends Error {
|
export class APIError extends Error {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { customElement, LitElement, CSSResult, property, css } from "lit-element
|
||||||
import { TemplateResult, html } from "lit-html";
|
import { TemplateResult, html } from "lit-html";
|
||||||
import PFForm from "@patternfly/patternfly/components/Form/form.css";
|
import PFForm from "@patternfly/patternfly/components/Form/form.css";
|
||||||
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
|
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
|
||||||
import { ErrorDetail } from "authentik-api";
|
import { ErrorDetail } from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-form-element")
|
@customElement("ak-form-element")
|
||||||
export class FormElement extends LitElement {
|
export class FormElement extends LitElement {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Middleware, ResponseContext } from "authentik-api";
|
import { Middleware, ResponseContext } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { MessageLevel } from "./Message";
|
import { MessageLevel } from "./Message";
|
||||||
import { showMessage } from "./MessageContainer";
|
import { showMessage } from "./MessageContainer";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Middleware, ResponseContext } from "authentik-api";
|
import { Middleware, ResponseContext } from "@goauthentik/api";
|
||||||
import {
|
import {
|
||||||
css,
|
css,
|
||||||
CSSResult,
|
CSSResult,
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {
|
||||||
property,
|
property,
|
||||||
TemplateResult,
|
TemplateResult,
|
||||||
} from "lit-element";
|
} from "lit-element";
|
||||||
import { EventsApi, Notification } from "authentik-api";
|
import { EventsApi, Notification } from "@goauthentik/api";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Table, TableColumn } from "../table/Table";
|
||||||
|
|
||||||
import "../forms/DeleteBulkForm";
|
import "../forms/DeleteBulkForm";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { ExpiringBaseGrantModel, Oauth2Api } from "authentik-api";
|
import { ExpiringBaseGrantModel, Oauth2Api } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
@customElement("ak-user-oauth-code-list")
|
@customElement("ak-user-oauth-code-list")
|
||||||
|
|
|
@ -6,7 +6,7 @@ import PFFlex from "@patternfly/patternfly/layouts/Flex/flex.css";
|
||||||
|
|
||||||
import "../forms/DeleteBulkForm";
|
import "../forms/DeleteBulkForm";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { RefreshTokenModel, Oauth2Api, ExpiringBaseGrantModel } from "authentik-api";
|
import { RefreshTokenModel, Oauth2Api, ExpiringBaseGrantModel } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
@customElement("ak-user-oauth-refresh-list")
|
@customElement("ak-user-oauth-refresh-list")
|
||||||
|
|
|
@ -14,7 +14,7 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import AKGlobal from "../../authentik.css";
|
import AKGlobal from "../../authentik.css";
|
||||||
|
|
||||||
import { configureSentry } from "../../api/Sentry";
|
import { configureSentry } from "../../api/Sentry";
|
||||||
import { CurrentTenant } from "authentik-api";
|
import { CurrentTenant } from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
import { EVENT_SIDEBAR_TOGGLE } from "../../constants";
|
import { EVENT_SIDEBAR_TOGGLE } from "../../constants";
|
||||||
import { tenant } from "../../api/Config";
|
import { tenant } from "../../api/Config";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Table, TableColumn } from "../table/Table";
|
||||||
|
|
||||||
import "../forms/DeleteBulkForm";
|
import "../forms/DeleteBulkForm";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { CoreApi, AuthenticatedSession } from "authentik-api";
|
import { CoreApi, AuthenticatedSession } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
@customElement("ak-user-session-list")
|
@customElement("ak-user-session-list")
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { Table, TableColumn } from "../table/Table";
|
||||||
|
|
||||||
import "../forms/DeleteBulkForm";
|
import "../forms/DeleteBulkForm";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { CoreApi, UserConsent } from "authentik-api";
|
import { CoreApi, UserConsent } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
@customElement("ak-user-consent-list")
|
@customElement("ak-user-consent-list")
|
||||||
|
|
|
@ -43,7 +43,7 @@ import {
|
||||||
FlowsApi,
|
FlowsApi,
|
||||||
RedirectChallenge,
|
RedirectChallenge,
|
||||||
ShellChallenge,
|
ShellChallenge,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG, tenant } from "../api/Config";
|
import { DEFAULT_CONFIG, tenant } from "../api/Config";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { AccessDeniedChallenge, FlowChallengeResponseRequest } from "authentik-api";
|
import { AccessDeniedChallenge, FlowChallengeResponseRequest } from "@goauthentik/api";
|
||||||
import { CSSResult, customElement, html, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, TemplateResult } from "lit-element";
|
||||||
import { BaseStage } from "../stages/base";
|
import { BaseStage } from "../stages/base";
|
||||||
import PFLogin from "@patternfly/patternfly/components/Login/login.css";
|
import PFLogin from "@patternfly/patternfly/components/Login/login.css";
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { t } from "@lingui/macro";
|
||||||
import {
|
import {
|
||||||
PlexAuthenticationChallenge,
|
PlexAuthenticationChallenge,
|
||||||
PlexAuthenticationChallengeResponseRequest,
|
PlexAuthenticationChallengeResponseRequest,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import PFLogin from "@patternfly/patternfly/components/Login/login.css";
|
import PFLogin from "@patternfly/patternfly/components/Login/login.css";
|
||||||
import PFForm from "@patternfly/patternfly/components/Form/form.css";
|
import PFForm from "@patternfly/patternfly/components/Form/form.css";
|
||||||
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
|
import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css";
|
||||||
|
@ -15,7 +15,7 @@ import { html, TemplateResult } from "lit-html";
|
||||||
import { BaseStage } from "../../stages/base";
|
import { BaseStage } from "../../stages/base";
|
||||||
import { PlexAPIClient, popupCenterScreen } from "./API";
|
import { PlexAPIClient, popupCenterScreen } from "./API";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { SourcesApi } from "authentik-api";
|
import { SourcesApi } from "@goauthentik/api";
|
||||||
import { showMessage } from "../../../elements/messages/MessageContainer";
|
import { showMessage } from "../../../elements/messages/MessageContainer";
|
||||||
import { MessageLevel } from "../../../elements/messages/Message";
|
import { MessageLevel } from "../../../elements/messages/Message";
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
AuthenticatorDuoChallenge,
|
AuthenticatorDuoChallenge,
|
||||||
AuthenticatorDuoChallengeResponseRequest,
|
AuthenticatorDuoChallengeResponseRequest,
|
||||||
StagesApi,
|
StagesApi,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import "../../FormStatic";
|
||||||
import {
|
import {
|
||||||
AuthenticatorStaticChallenge,
|
AuthenticatorStaticChallenge,
|
||||||
AuthenticatorStaticChallengeResponseRequest,
|
AuthenticatorStaticChallengeResponseRequest,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
export const STATIC_TOKEN_STYLE = css`
|
export const STATIC_TOKEN_STYLE = css`
|
||||||
|
|
|
@ -17,7 +17,7 @@ import { MessageLevel } from "../../../elements/messages/Message";
|
||||||
import {
|
import {
|
||||||
AuthenticatorTOTPChallenge,
|
AuthenticatorTOTPChallenge,
|
||||||
AuthenticatorTOTPChallengeResponseRequest,
|
AuthenticatorTOTPChallengeResponseRequest,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-authenticator-totp")
|
@customElement("ak-stage-authenticator-totp")
|
||||||
|
|
|
@ -16,7 +16,7 @@ import {
|
||||||
AuthenticatorValidationChallenge,
|
AuthenticatorValidationChallenge,
|
||||||
AuthenticatorValidationChallengeResponseRequest,
|
AuthenticatorValidationChallengeResponseRequest,
|
||||||
DeviceChallenge,
|
DeviceChallenge,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
|
|
||||||
export enum DeviceClasses {
|
export enum DeviceClasses {
|
||||||
STATIC = "static",
|
STATIC = "static",
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {
|
||||||
AuthenticatorValidationChallenge,
|
AuthenticatorValidationChallenge,
|
||||||
AuthenticatorValidationChallengeResponseRequest,
|
AuthenticatorValidationChallengeResponseRequest,
|
||||||
DeviceChallenge,
|
DeviceChallenge,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-authenticator-validate-code")
|
@customElement("ak-stage-authenticator-validate-code")
|
||||||
|
|
|
@ -16,7 +16,7 @@ import {
|
||||||
AuthenticatorValidationChallenge,
|
AuthenticatorValidationChallenge,
|
||||||
AuthenticatorValidationChallengeResponseRequest,
|
AuthenticatorValidationChallengeResponseRequest,
|
||||||
DeviceChallenge,
|
DeviceChallenge,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-authenticator-validate-duo")
|
@customElement("ak-stage-authenticator-validate-duo")
|
||||||
|
|
|
@ -18,7 +18,7 @@ import {
|
||||||
AuthenticatorValidationChallenge,
|
AuthenticatorValidationChallenge,
|
||||||
AuthenticatorValidationChallengeResponseRequest,
|
AuthenticatorValidationChallengeResponseRequest,
|
||||||
DeviceChallenge,
|
DeviceChallenge,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-stage-authenticator-validate-webauthn")
|
@customElement("ak-stage-authenticator-validate-webauthn")
|
||||||
export class AuthenticatorValidateStageWebAuthn extends BaseStage<
|
export class AuthenticatorValidateStageWebAuthn extends BaseStage<
|
||||||
|
|
|
@ -17,7 +17,7 @@ import {
|
||||||
import {
|
import {
|
||||||
AuthenticatorWebAuthnChallenge,
|
AuthenticatorWebAuthnChallenge,
|
||||||
AuthenticatorWebAuthnChallengeResponseRequest,
|
AuthenticatorWebAuthnChallengeResponseRequest,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
|
|
||||||
export interface WebAuthnAuthenticatorRegisterChallengeResponse {
|
export interface WebAuthnAuthenticatorRegisterChallengeResponse {
|
||||||
response: Assertion;
|
response: Assertion;
|
||||||
|
|
|
@ -9,7 +9,7 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import AKGlobal from "../../../authentik.css";
|
import AKGlobal from "../../../authentik.css";
|
||||||
import { BaseStage } from "../base";
|
import { BaseStage } from "../base";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import { AutosubmitChallenge, AutoSubmitChallengeResponseRequest } from "authentik-api";
|
import { AutosubmitChallenge, AutoSubmitChallengeResponseRequest } from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-stage-autosubmit")
|
@customElement("ak-stage-autosubmit")
|
||||||
export class AutosubmitStage extends BaseStage<
|
export class AutosubmitStage extends BaseStage<
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ErrorDetail } from "authentik-api";
|
import { ErrorDetail } from "@goauthentik/api";
|
||||||
import { html, LitElement, property, TemplateResult } from "lit-element";
|
import { html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
|
|
||||||
export interface StageHost {
|
export interface StageHost {
|
||||||
|
|
|
@ -12,7 +12,7 @@ import { BaseStage } from "../base";
|
||||||
import "../../../elements/forms/FormElement";
|
import "../../../elements/forms/FormElement";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import "../../FormStatic";
|
import "../../FormStatic";
|
||||||
import { CaptchaChallenge, CaptchaChallengeResponseRequest } from "authentik-api";
|
import { CaptchaChallenge, CaptchaChallengeResponseRequest } from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-captcha")
|
@customElement("ak-stage-captcha")
|
||||||
|
|
|
@ -12,7 +12,7 @@ import AKGlobal from "../../../authentik.css";
|
||||||
import { BaseStage } from "../base";
|
import { BaseStage } from "../base";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import "../../FormStatic";
|
import "../../FormStatic";
|
||||||
import { ConsentChallenge, ConsentChallengeResponseRequest } from "authentik-api";
|
import { ConsentChallenge, ConsentChallengeResponseRequest } from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-consent")
|
@customElement("ak-stage-consent")
|
||||||
|
|
|
@ -10,7 +10,7 @@ import AKGlobal from "../../../authentik.css";
|
||||||
import { BaseStage } from "../base";
|
import { BaseStage } from "../base";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import "../../FormStatic";
|
import "../../FormStatic";
|
||||||
import { DummyChallenge, DummyChallengeResponseRequest } from "authentik-api";
|
import { DummyChallenge, DummyChallengeResponseRequest } from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-stage-dummy")
|
@customElement("ak-stage-dummy")
|
||||||
export class DummyStage extends BaseStage<DummyChallenge, DummyChallengeResponseRequest> {
|
export class DummyStage extends BaseStage<DummyChallenge, DummyChallengeResponseRequest> {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import AKGlobal from "../../../authentik.css";
|
import AKGlobal from "../../../authentik.css";
|
||||||
import { BaseStage } from "../base";
|
import { BaseStage } from "../base";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import { EmailChallenge, EmailChallengeResponseRequest } from "authentik-api";
|
import { EmailChallenge, EmailChallengeResponseRequest } from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-stage-email")
|
@customElement("ak-stage-email")
|
||||||
export class EmailStage extends BaseStage<EmailChallenge, EmailChallengeResponseRequest> {
|
export class EmailStage extends BaseStage<EmailChallenge, EmailChallengeResponseRequest> {
|
||||||
|
|
|
@ -16,7 +16,7 @@ import {
|
||||||
IdentificationChallengeResponseRequest,
|
IdentificationChallengeResponseRequest,
|
||||||
LoginSource,
|
LoginSource,
|
||||||
UserFieldsEnum,
|
UserFieldsEnum,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
|
|
||||||
export const PasswordManagerPrefill: {
|
export const PasswordManagerPrefill: {
|
||||||
password: string | undefined;
|
password: string | undefined;
|
||||||
|
|
|
@ -12,7 +12,7 @@ import "../../../elements/forms/FormElement";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import { PasswordManagerPrefill } from "../identification/IdentificationStage";
|
import { PasswordManagerPrefill } from "../identification/IdentificationStage";
|
||||||
import "../../FormStatic";
|
import "../../FormStatic";
|
||||||
import { PasswordChallenge, PasswordChallengeResponseRequest } from "authentik-api";
|
import { PasswordChallenge, PasswordChallengeResponseRequest } from "@goauthentik/api";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
@customElement("ak-stage-password")
|
@customElement("ak-stage-password")
|
||||||
|
|
|
@ -13,7 +13,7 @@ import { BaseStage } from "../base";
|
||||||
import "../../../elements/forms/FormElement";
|
import "../../../elements/forms/FormElement";
|
||||||
import "../../../elements/EmptyState";
|
import "../../../elements/EmptyState";
|
||||||
import "../../../elements/Divider";
|
import "../../../elements/Divider";
|
||||||
import { PromptChallenge, PromptChallengeResponseRequest, StagePrompt } from "authentik-api";
|
import { PromptChallenge, PromptChallengeResponseRequest, StagePrompt } from "@goauthentik/api";
|
||||||
|
|
||||||
@customElement("ak-stage-prompt")
|
@customElement("ak-stage-prompt")
|
||||||
export class PromptStage extends BaseStage<PromptChallenge, PromptChallengeResponseRequest> {
|
export class PromptStage extends BaseStage<PromptChallenge, PromptChallengeResponseRequest> {
|
||||||
|
|
|
@ -30,7 +30,7 @@ import {
|
||||||
EVENT_SIDEBAR_TOGGLE,
|
EVENT_SIDEBAR_TOGGLE,
|
||||||
VERSION,
|
VERSION,
|
||||||
} from "../constants";
|
} from "../constants";
|
||||||
import { AdminApi, Version } from "authentik-api";
|
import { AdminApi, Version } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../api/Config";
|
import { DEFAULT_CONFIG } from "../api/Config";
|
||||||
import { WebsocketClient } from "../common/ws";
|
import { WebsocketClient } from "../common/ws";
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {
|
||||||
} from "lit-element";
|
} from "lit-element";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { Application, CoreApi } from "authentik-api";
|
import { Application, CoreApi } from "@goauthentik/api";
|
||||||
import { AKResponse } from "../api/Client";
|
import { AKResponse } from "../api/Client";
|
||||||
import { DEFAULT_CONFIG } from "../api/Config";
|
import { DEFAULT_CONFIG } from "../api/Config";
|
||||||
import { me } from "../api/Users";
|
import { me } from "../api/Users";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import { EventsApi, EventTopPerUser } from "authentik-api";
|
import { EventsApi, EventTopPerUser } from "@goauthentik/api";
|
||||||
import PFTable from "@patternfly/patternfly/components/Table/table.css";
|
import PFTable from "@patternfly/patternfly/components/Table/table.css";
|
||||||
import AKGlobal from "../../authentik.css";
|
import AKGlobal from "../../authentik.css";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, html, TemplateResult } from "lit-element";
|
import { customElement, html, TemplateResult } from "lit-element";
|
||||||
import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
|
import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
|
||||||
import { AdminApi, StatusEnum, CapabilitiesEnum } from "authentik-api";
|
import { AdminApi, StatusEnum, CapabilitiesEnum } from "@goauthentik/api";
|
||||||
import { config, DEFAULT_CONFIG } from "../../../api/Config";
|
import { config, DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { convertToTitle } from "../../../utils";
|
import { convertToTitle } from "../../../utils";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, html, TemplateResult } from "lit-element";
|
import { customElement, html, TemplateResult } from "lit-element";
|
||||||
import { AdminApi, System } from "authentik-api";
|
import { AdminApi, System } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { AdminStatusCard, AdminStatus } from "./AdminStatusCard";
|
import { AdminStatusCard, AdminStatus } from "./AdminStatusCard";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, html, TemplateResult } from "lit-element";
|
import { customElement, html, TemplateResult } from "lit-element";
|
||||||
import { AdminApi, Version } from "authentik-api";
|
import { AdminApi, Version } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { AdminStatusCard, AdminStatus } from "./AdminStatusCard";
|
import { AdminStatusCard, AdminStatus } from "./AdminStatusCard";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, html } from "lit-element";
|
import { customElement, html } from "lit-element";
|
||||||
import { AdminApi } from "authentik-api";
|
import { AdminApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
|
import { AdminStatus, AdminStatusCard } from "./AdminStatusCard";
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { FlowsApi } from "authentik-api";
|
import { FlowsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import "../../../elements/forms/ConfirmationForm";
|
import "../../../elements/forms/ConfirmationForm";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { CoreApi } from "authentik-api";
|
import { CoreApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { SourcesApi, StatusEnum } from "authentik-api";
|
import { SourcesApi, StatusEnum } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import "../../../elements/forms/ConfirmationForm";
|
import "../../../elements/forms/ConfirmationForm";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { OutpostsApi } from "authentik-api";
|
import { OutpostsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import "../../../elements/forms/ConfirmationForm";
|
import "../../../elements/forms/ConfirmationForm";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { PoliciesApi } from "authentik-api";
|
import { PoliciesApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import "../../../elements/forms/ConfirmationForm";
|
import "../../../elements/forms/ConfirmationForm";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { CoreApi } from "authentik-api";
|
import { CoreApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../../api/Config";
|
import { DEFAULT_CONFIG } from "../../../api/Config";
|
||||||
import { AKChart } from "../../../elements/charts/Chart";
|
import { AKChart } from "../../../elements/charts/Chart";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Application, CoreApi, PolicyTestResult } from "authentik-api";
|
import { Application, CoreApi, PolicyTestResult } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {
|
||||||
Provider,
|
Provider,
|
||||||
PolicyEngineMode,
|
PolicyEngineMode,
|
||||||
CapabilitiesEnum,
|
CapabilitiesEnum,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CSSResult, customElement, property } from "lit-element";
|
import { CSSResult, customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -9,7 +9,7 @@ import "../../elements/forms/DeleteBulkForm";
|
||||||
import "../../elements/buttons/SpinnerButton";
|
import "../../elements/buttons/SpinnerButton";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { Application, CoreApi } from "authentik-api";
|
import { Application, CoreApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import "./ApplicationForm";
|
import "./ApplicationForm";
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ import "../policies/BoundPoliciesList";
|
||||||
import "./ApplicationForm";
|
import "./ApplicationForm";
|
||||||
import "./ApplicationCheckAccessForm";
|
import "./ApplicationCheckAccessForm";
|
||||||
import "../../elements/PageHeader";
|
import "../../elements/PageHeader";
|
||||||
import { Application, CoreApi } from "authentik-api";
|
import { Application, CoreApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import PFPage from "@patternfly/patternfly/components/Page/page.css";
|
import PFPage from "@patternfly/patternfly/components/Page/page.css";
|
||||||
import PFContent from "@patternfly/patternfly/components/Content/content.css";
|
import PFContent from "@patternfly/patternfly/components/Content/content.css";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CertificateGenerationRequest, CertificateKeyPair, CryptoApi } from "authentik-api";
|
import { CertificateGenerationRequest, CertificateKeyPair, CryptoApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CertificateKeyPair, CertificateKeyPairRequest, CryptoApi } from "authentik-api";
|
import { CertificateKeyPair, CertificateKeyPairRequest, CryptoApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -4,7 +4,7 @@ import { AKResponse } from "../../api/Client";
|
||||||
import { TablePage } from "../../elements/table/TablePage";
|
import { TablePage } from "../../elements/table/TablePage";
|
||||||
import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";
|
import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";
|
||||||
|
|
||||||
import { CryptoApi, CertificateKeyPair } from "authentik-api";
|
import { CryptoApi, CertificateKeyPair } from "@goauthentik/api";
|
||||||
|
|
||||||
import "../../elements/forms/ModalForm";
|
import "../../elements/forms/ModalForm";
|
||||||
import "../../elements/buttons/SpinnerButton";
|
import "../../elements/buttons/SpinnerButton";
|
||||||
|
|
|
@ -9,7 +9,7 @@ import {
|
||||||
TemplateResult,
|
TemplateResult,
|
||||||
} from "lit-element";
|
} from "lit-element";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { EventActions, FlowsApi } from "authentik-api";
|
import { EventActions, FlowsApi } from "@goauthentik/api";
|
||||||
import "../../elements/Spinner";
|
import "../../elements/Spinner";
|
||||||
import "../../elements/Expand";
|
import "../../elements/Expand";
|
||||||
import { PFSize } from "../../elements/Spinner";
|
import { PFSize } from "../../elements/Spinner";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import { EventsApi } from "authentik-api";
|
import { EventsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { EventWithContext } from "../../api/Events";
|
import { EventWithContext } from "../../api/Events";
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, html, property, TemplateResult } from "lit-element";
|
import { customElement, html, property, TemplateResult } from "lit-element";
|
||||||
import { Event, EventsApi } from "authentik-api";
|
import { Event, EventsApi } from "@goauthentik/api";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { EventWithContext } from "../../api/Events";
|
import { EventWithContext } from "../../api/Events";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CoreApi, EventsApi, NotificationRule, SeverityEnum } from "authentik-api";
|
import { CoreApi, EventsApi, NotificationRule, SeverityEnum } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -8,7 +8,7 @@ import "../../elements/buttons/SpinnerButton";
|
||||||
import "../../elements/forms/ModalForm";
|
import "../../elements/forms/ModalForm";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { EventsApi, NotificationRule } from "authentik-api";
|
import { EventsApi, NotificationRule } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import "../../elements/forms/DeleteBulkForm";
|
import "../../elements/forms/DeleteBulkForm";
|
||||||
import "./RuleForm";
|
import "./RuleForm";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { EventsApi, NotificationTransport, NotificationTransportModeEnum } from "authentik-api";
|
import { EventsApi, NotificationTransport, NotificationTransportModeEnum } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -8,7 +8,7 @@ import "../../elements/forms/ModalForm";
|
||||||
import "../../elements/buttons/SpinnerButton";
|
import "../../elements/buttons/SpinnerButton";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { EventsApi, NotificationTransport } from "authentik-api";
|
import { EventsApi, NotificationTransport } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import "../../elements/forms/DeleteBulkForm";
|
import "../../elements/forms/DeleteBulkForm";
|
||||||
import "./TransportForm";
|
import "./TransportForm";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { EventActions } from "authentik-api";
|
import { EventActions } from "@goauthentik/api";
|
||||||
|
|
||||||
export function ActionToLabel(action?: EventActions): string {
|
export function ActionToLabel(action?: EventActions): string {
|
||||||
if (!action) return "";
|
if (!action) return "";
|
||||||
|
|
|
@ -13,7 +13,7 @@ import "../../elements/buttons/Dropdown";
|
||||||
import "../policies/BoundPoliciesList";
|
import "../policies/BoundPoliciesList";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { FlowsApi, FlowStageBinding, StagesApi } from "authentik-api";
|
import { FlowsApi, FlowStageBinding, StagesApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import FlowChart from "flowchart.js";
|
import FlowChart from "flowchart.js";
|
||||||
import { loading } from "../../utils";
|
import { loading } from "../../utils";
|
||||||
import { FlowsApi } from "authentik-api";
|
import { FlowsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { EVENT_REFRESH } from "../../constants";
|
import { EVENT_REFRESH } from "../../constants";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {
|
||||||
PolicyEngineMode,
|
PolicyEngineMode,
|
||||||
FlowsApi,
|
FlowsApi,
|
||||||
CapabilitiesEnum,
|
CapabilitiesEnum,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Flow, FlowsApi } from "authentik-api";
|
import { Flow, FlowsApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -11,7 +11,7 @@ import "./FlowForm";
|
||||||
import "./FlowImportForm";
|
import "./FlowImportForm";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { Flow, FlowsApi } from "authentik-api";
|
import { Flow, FlowsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
@customElement("ak-flow-list")
|
@customElement("ak-flow-list")
|
||||||
|
|
|
@ -16,7 +16,7 @@ import "../../elements/buttons/SpinnerButton";
|
||||||
import "../policies/BoundPoliciesList";
|
import "../policies/BoundPoliciesList";
|
||||||
import "./BoundStagesList";
|
import "./BoundStagesList";
|
||||||
import "./FlowDiagram";
|
import "./FlowDiagram";
|
||||||
import { Flow, FlowsApi } from "authentik-api";
|
import { Flow, FlowsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
|
|
||||||
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
import PFButton from "@patternfly/patternfly/components/Button/button.css";
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {
|
||||||
PolicyEngineMode,
|
PolicyEngineMode,
|
||||||
Stage,
|
Stage,
|
||||||
StagesApi,
|
StagesApi,
|
||||||
} from "authentik-api";
|
} from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CoreApi, Group, User } from "authentik-api";
|
import { CoreApi, Group, User } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -7,7 +7,7 @@ import "../../elements/forms/DeleteBulkForm";
|
||||||
import "../../elements/buttons/SpinnerButton";
|
import "../../elements/buttons/SpinnerButton";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { CoreApi, Group } from "authentik-api";
|
import { CoreApi, Group } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import "../../elements/forms/ModalForm";
|
import "../../elements/forms/ModalForm";
|
||||||
import "./GroupForm";
|
import "./GroupForm";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CoreApi, User } from "authentik-api";
|
import { CoreApi, User } from "@goauthentik/api";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { TemplateResult, html } from "lit-html";
|
import { TemplateResult, html } from "lit-html";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Outpost } from "authentik-api";
|
import { Outpost } from "@goauthentik/api";
|
||||||
import { customElement, html, property, TemplateResult } from "lit-element";
|
import { customElement, html, property, TemplateResult } from "lit-element";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Outpost, OutpostsApi, OutpostTypeEnum, ProvidersApi } from "authentik-api";
|
import { Outpost, OutpostsApi, OutpostTypeEnum, ProvidersApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import { OutpostHealth } from "authentik-api";
|
import { OutpostHealth } from "@goauthentik/api";
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import "../../elements/Spinner";
|
import "../../elements/Spinner";
|
||||||
import AKGlobal from "../../authentik.css";
|
import AKGlobal from "../../authentik.css";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element";
|
||||||
import { OutpostHealth, OutpostsApi } from "authentik-api";
|
import { OutpostHealth, OutpostsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
import PFBase from "@patternfly/patternfly/patternfly-base.css";
|
||||||
import "../../elements/Spinner";
|
import "../../elements/Spinner";
|
||||||
|
|
|
@ -14,7 +14,7 @@ import "../../elements/buttons/SpinnerButton";
|
||||||
import "../../elements/forms/ModalForm";
|
import "../../elements/forms/ModalForm";
|
||||||
import "../../elements/forms/DeleteBulkForm";
|
import "../../elements/forms/DeleteBulkForm";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { Outpost, OutpostsApi } from "authentik-api";
|
import { Outpost, OutpostsApi } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
import { PFSize } from "../../elements/Spinner";
|
import { PFSize } from "../../elements/Spinner";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CryptoApi, DockerServiceConnection, OutpostsApi } from "authentik-api";
|
import { CryptoApi, DockerServiceConnection, OutpostsApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { KubernetesServiceConnection, OutpostsApi } from "authentik-api";
|
import { KubernetesServiceConnection, OutpostsApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -14,7 +14,7 @@ import "./ServiceConnectionKubernetesForm";
|
||||||
import "./ServiceConnectionDockerForm";
|
import "./ServiceConnectionDockerForm";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { OutpostsApi, ServiceConnection } from "authentik-api";
|
import { OutpostsApi, ServiceConnection } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import "../../elements/forms/ProxyForm";
|
import "../../elements/forms/ProxyForm";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { t } from "@lingui/macro";
|
||||||
import { customElement, html, property, TemplateResult } from "lit-element";
|
import { customElement, html, property, TemplateResult } from "lit-element";
|
||||||
import { AKResponse } from "../../api/Client";
|
import { AKResponse } from "../../api/Client";
|
||||||
import { Table, TableColumn } from "../../elements/table/Table";
|
import { Table, TableColumn } from "../../elements/table/Table";
|
||||||
import { PoliciesApi, PolicyBinding } from "authentik-api";
|
import { PoliciesApi, PolicyBinding } from "@goauthentik/api";
|
||||||
|
|
||||||
import "../../elements/forms/DeleteBulkForm";
|
import "../../elements/forms/DeleteBulkForm";
|
||||||
import "../../elements/Tabs";
|
import "../../elements/Tabs";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CoreApi, PoliciesApi, Policy, PolicyBinding } from "authentik-api";
|
import { CoreApi, PoliciesApi, Policy, PolicyBinding } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { css, CSSResult, customElement, property } from "lit-element";
|
import { css, CSSResult, customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -13,7 +13,7 @@ import "./PolicyTestForm";
|
||||||
import { TableColumn } from "../../elements/table/Table";
|
import { TableColumn } from "../../elements/table/Table";
|
||||||
import { until } from "lit-html/directives/until";
|
import { until } from "lit-html/directives/until";
|
||||||
import { PAGE_SIZE } from "../../constants";
|
import { PAGE_SIZE } from "../../constants";
|
||||||
import { PoliciesApi, Policy } from "authentik-api";
|
import { PoliciesApi, Policy } from "@goauthentik/api";
|
||||||
import { DEFAULT_CONFIG } from "../../api/Config";
|
import { DEFAULT_CONFIG } from "../../api/Config";
|
||||||
import { ifDefined } from "lit-html/directives/if-defined";
|
import { ifDefined } from "lit-html/directives/if-defined";
|
||||||
import "./dummy/DummyPolicyForm";
|
import "./dummy/DummyPolicyForm";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { CoreApi, PoliciesApi, Policy, PolicyTestRequest, PolicyTestResult } from "authentik-api";
|
import { CoreApi, PoliciesApi, Policy, PolicyTestRequest, PolicyTestResult } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement, property } from "lit-element";
|
import { customElement, property } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { DummyPolicy, PoliciesApi } from "authentik-api";
|
import { DummyPolicy, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { AdminApi, EventMatcherPolicy, EventsApi, PoliciesApi } from "authentik-api";
|
import { AdminApi, EventMatcherPolicy, EventsApi, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { PasswordExpiryPolicy, PoliciesApi } from "authentik-api";
|
import { PasswordExpiryPolicy, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ExpressionPolicy, PoliciesApi } from "authentik-api";
|
import { ExpressionPolicy, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { HaveIBeenPwendPolicy, PoliciesApi } from "authentik-api";
|
import { HaveIBeenPwendPolicy, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { PasswordPolicy, PoliciesApi } from "authentik-api";
|
import { PasswordPolicy, PoliciesApi } from "@goauthentik/api";
|
||||||
import { t } from "@lingui/macro";
|
import { t } from "@lingui/macro";
|
||||||
import { customElement } from "lit-element";
|
import { customElement } from "lit-element";
|
||||||
import { html, TemplateResult } from "lit-html";
|
import { html, TemplateResult } from "lit-html";
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue