web: clean up and remove redundant alias '@goauthentik/app' (#8889)
* web: fix esbuild issue with style sheets
Getting ESBuild, Lit, and Storybook to all agree on how to read and parse stylesheets is a serious
pain. This fix better identifies the value types (instances) being passed from various sources in
the repo to the three *different* kinds of style processors we're using (the native one, the
polyfill one, and whatever the heck Storybook does internally).
Falling back to using older CSS instantiating techniques one era at a time seems to do the trick.
It's ugly, but in the face of the aggressive styling we use to avoid Flashes of Unstyled Content
(FLoUC), it's the logic with which we're left.
In standard mode, the following warning appears on the console when running a Flow:
```
Autofocus processing was blocked because a document already has a focused element.
```
In compatibility mode, the following **error** appears on the console when running a Flow:
```
crawler-inject.js:1106 Uncaught TypeError: Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node'.
    at initDomMutationObservers (crawler-inject.js:1106:18)
    at crawler-inject.js:1114:24
    at Array.forEach (<anonymous>)
    at initDomMutationObservers (crawler-inject.js:1114:10)
    at crawler-inject.js:1549:1
initDomMutationObservers @ crawler-inject.js:1106
(anonymous) @ crawler-inject.js:1114
initDomMutationObservers @ crawler-inject.js:1114
(anonymous) @ crawler-inject.js:1549
```
Despite this error, nothing seems to be broken and flows work as anticipated.
* web: clean up and remove redundant alias '@goauthentik/app'
The path alias `@goauthentik/app` has been a thorn in our side for a long time, as it conflicts with
or is redundant with all the *other* aliases in `tsconfig.json`, such as `@goauthentik/elements` and
`@goauthentik/locales`.
This commit *replaces* `@goauthentik/app` with `@goauthentik/authentik` for a single use case: the
locale codes file in the project root.  That also helps reserve the subproject name `authentik` in
case we ever do go the monorepo root.
Other than that, all the rest have been removed with the following mechanical refactor:
```
perl -pi.bak -e 's{\@goauthentik/app/}{\@goauthentik/}' $(rg -l '@goauthentik/app/' ./src/)
```
* web: separate the sizing enum from a specific component implementation (#8890)
The PFSizes enum is used by more than just the Spinner, but has been left inside the Spinner for all
this time, making refactoring the Spinner for Patternfly 5 a little harder (okay, an annoying amount
harder) than it should be.
This commit moves this UI-specific, widely-use enum into its own folder in `common`, and refactors
everything else to use it.  As is often the case, the refactor is mechanical:
```
perl -pi.bak -e 's{import \{ PFSize \} from "\@goauthentik/elements/Spinner";}{import \{ PFSize \}
from "\@goauthentik/common/enums.js";}' \\
    $(rg -l 'import.*PFSize')
```
**Note:** This commit is dependent upon the ["clean up and remove redundant alias `@goauthentik/app`" PR](https://github.com/goauthentik/authentik/pull/8889)
			
			
This commit is contained in:
		| @ -1,5 +1,5 @@ | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AggregateCard } from "@goauthentik/elements/cards/AggregateCard"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { EventGeo, EventUser } from "@goauthentik/admin/events/utils"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-event-info"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/Dropdown"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { first } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-switch-input"; | ||||
| import "@goauthentik/components/ak-text-input"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import "@goauthentik/admin/applications/ApplicationForm"; | ||||
| import { PFSize } from "@goauthentik/app/elements/Spinner"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import "@goauthentik/components/ak-app-icon"; | ||||
| import MDApplication from "@goauthentik/docs/applications/index.md"; | ||||
|  | ||||
| @ -2,9 +2,8 @@ import "@goauthentik/admin/applications/ApplicationAuthorizeChart"; | ||||
| import "@goauthentik/admin/applications/ApplicationCheckAccessForm"; | ||||
| import "@goauthentik/admin/applications/ApplicationForm"; | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import { PFSize } from "@goauthentik/app/elements/Spinner"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import "@goauthentik/components/ak-app-icon"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| @ -12,6 +11,7 @@ import "@goauthentik/elements/EmptyState"; | ||||
| import "@goauthentik/elements/PageHeader"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { WithLicenseSummary } from "@goauthentik/app/elements/Interface/licenseSummaryProvider"; | ||||
| import "@goauthentik/components/ak-radio-input"; | ||||
| import "@goauthentik/components/ak-switch-input"; | ||||
| import "@goauthentik/components/ak-text-input"; | ||||
| import { WithLicenseSummary } from "@goauthentik/elements/Interface/licenseSummaryProvider"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { EVENT_REFRESH } from "@goauthentik/app/common/constants"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/ak-radio-input"; | ||||
| import "@goauthentik/components/ak-switch-input"; | ||||
| import "@goauthentik/components/ak-text-input"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import "@goauthentik/admin/blueprints/BlueprintForm"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { EVENT_REFRESH_ENTERPRISE } from "@goauthentik/app/common/constants"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH_ENTERPRISE } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
| import { ModelForm } from "@goauthentik/elements/forms/ModelForm"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import "@goauthentik/admin/enterprise/EnterpriseLicenseForm"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import { PFColor } from "@goauthentik/elements/Label"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import "@goauthentik/admin/events/EventVolumeChart"; | ||||
| import { EventGeo, EventUser } from "@goauthentik/admin/events/utils"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-event-info"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
| import { TableColumn } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { EventGeo, EventUser } from "@goauthentik/admin/events/utils"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-event-info"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/PageHeader"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { AKChart } from "@goauthentik/app/elements/charts/Chart"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { AKChart } from "@goauthentik/elements/charts/Chart"; | ||||
| import { ChartData } from "chart.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { truncate } from "@goauthentik/app/common/utils"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { truncate } from "@goauthentik/common/utils"; | ||||
| import { KeyUnknown } from "@goauthentik/elements/forms/Form"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
|  | ||||
| @ -1,15 +1,15 @@ | ||||
| import "@goauthentik/admin/flows/BoundStagesList"; | ||||
| import "@goauthentik/admin/flows/FlowDiagram"; | ||||
| import "@goauthentik/admin/flows/FlowForm"; | ||||
| import { DesignationToLabel } from "@goauthentik/admin/flows/utils"; | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import { DesignationToLabel } from "@goauthentik/app/admin/flows/utils"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { AndNext, DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/PageHeader"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/groups/GroupForm"; | ||||
| import "@goauthentik/app/admin/groups/RelatedUserList"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import "@goauthentik/admin/groups/RelatedUserList"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| @ -12,6 +11,7 @@ import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -3,10 +3,10 @@ import "@goauthentik/admin/users/UserActiveForm"; | ||||
| import "@goauthentik/admin/users/UserForm"; | ||||
| import "@goauthentik/admin/users/UserPasswordForm"; | ||||
| import "@goauthentik/admin/users/UserResetEmailForm"; | ||||
| import { me } from "@goauthentik/app/common/users"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { me } from "@goauthentik/common/users"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import { WithBrandConfig } from "@goauthentik/elements/Interface/brandProvider"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import { DataProvider, DualSelectPair } from "@goauthentik/app/elements/ak-dual-select/types"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { docLink } from "@goauthentik/common/global"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| import { CodeMirrorMode } from "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/ak-dual-select/ak-dual-select-provider"; | ||||
| import { DataProvider, DualSelectPair } from "@goauthentik/elements/ak-dual-select/types"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
| import { ModelForm } from "@goauthentik/elements/forms/ModelForm"; | ||||
|  | ||||
| @ -4,9 +4,9 @@ import "@goauthentik/admin/outposts/OutpostForm"; | ||||
| import "@goauthentik/admin/outposts/OutpostHealth"; | ||||
| import "@goauthentik/admin/outposts/OutpostHealthSimple"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { PFColor } from "@goauthentik/elements/Label"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
|  | ||||
| @ -3,9 +3,9 @@ import "@goauthentik/admin/policies/PolicyBindingForm"; | ||||
| import "@goauthentik/admin/policies/PolicyWizard"; | ||||
| import "@goauthentik/admin/users/UserForm"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
|  | ||||
| @ -5,10 +5,10 @@ import "@goauthentik/admin/property-mappings/PropertyMappingRACForm"; | ||||
| import "@goauthentik/admin/property-mappings/PropertyMappingSAMLForm"; | ||||
| import "@goauthentik/admin/property-mappings/PropertyMappingScopeForm"; | ||||
| import "@goauthentik/admin/property-mappings/PropertyMappingTestForm"; | ||||
| import { WithLicenseSummary } from "@goauthentik/app/elements/Interface/licenseSummaryProvider"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import "@goauthentik/elements/Alert"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { WithLicenseSummary } from "@goauthentik/elements/Interface/licenseSummaryProvider"; | ||||
| import "@goauthentik/elements/forms/ProxyForm"; | ||||
| import "@goauthentik/elements/wizard/FormWizardPage"; | ||||
| import "@goauthentik/elements/wizard/Wizard"; | ||||
|  | ||||
| @ -4,10 +4,10 @@ import "@goauthentik/admin/providers/oauth2/OAuth2ProviderForm"; | ||||
| import "@goauthentik/admin/providers/proxy/ProxyProviderForm"; | ||||
| import "@goauthentik/admin/providers/saml/SAMLProviderForm"; | ||||
| import "@goauthentik/admin/providers/saml/SAMLProviderImportForm"; | ||||
| import { WithLicenseSummary } from "@goauthentik/app/elements/Interface/licenseSummaryProvider"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import "@goauthentik/elements/Alert"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { WithLicenseSummary } from "@goauthentik/elements/Interface/licenseSummaryProvider"; | ||||
| import "@goauthentik/elements/forms/ProxyForm"; | ||||
| import { paramURL } from "@goauthentik/elements/router/RouterOutlet"; | ||||
| import "@goauthentik/elements/wizard/FormWizardPage"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/providers/RelatedApplicationButton"; | ||||
| import "@goauthentik/admin/providers/ldap/LDAPProviderForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { me } from "@goauthentik/common/users"; | ||||
| @ -10,6 +9,7 @@ import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import "@goauthentik/admin/providers/RelatedApplicationButton"; | ||||
| import "@goauthentik/admin/providers/oauth2/OAuth2ProviderForm"; | ||||
| import renderDescriptionList from "@goauthentik/app/components/DescriptionList"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import renderDescriptionList from "@goauthentik/components/DescriptionList"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| import MDProviderOAuth2 from "@goauthentik/docs/providers/oauth2/index.md"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/providers/RelatedApplicationButton"; | ||||
| import "@goauthentik/admin/providers/proxy/ProxyProviderForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { convertToSlug } from "@goauthentik/common/utils"; | ||||
| @ -22,6 +21,7 @@ import { Replacer } from "@goauthentik/elements/Markdown"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
| import { getURLParam } from "@goauthentik/elements/router/RouteMatch"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { first } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-radio-input"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import "@goauthentik/app/admin/providers/rac/EndpointForm"; | ||||
| import "@goauthentik/admin/providers/rac/EndpointForm"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import "@goauthentik/admin/common/ak-crypto-certificate-search"; | ||||
| import "@goauthentik/admin/common/ak-flow-search/ak-branded-flow-search"; | ||||
| import { first } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/forms/FormGroup"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
|  | ||||
| @ -3,7 +3,6 @@ import "@goauthentik/admin/providers/rac/ConnectionTokenList"; | ||||
| import "@goauthentik/admin/providers/rac/EndpointForm"; | ||||
| import "@goauthentik/admin/providers/rac/EndpointList"; | ||||
| import "@goauthentik/admin/providers/rac/RACProviderForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| @ -13,6 +12,7 @@ import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/providers/RelatedApplicationButton"; | ||||
| import "@goauthentik/admin/providers/radius/RadiusProviderForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -9,6 +8,7 @@ import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,10 +1,9 @@ | ||||
| import "@goauthentik/admin/providers/RelatedApplicationButton"; | ||||
| import "@goauthentik/admin/providers/saml/SAMLProviderForm"; | ||||
| import renderDescriptionList from "@goauthentik/app/components/DescriptionList"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import renderDescriptionList from "@goauthentik/components/DescriptionList"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| @ -15,6 +14,7 @@ import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,5 +1,4 @@ | ||||
| import "@goauthentik/admin/providers/scim/SCIMProviderForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -9,6 +8,7 @@ import "@goauthentik/elements/Markdown"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { CSSResult, PropertyValues, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import "@goauthentik/admin/roles/RolePermissionForm"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/groups/RelatedGroupList"; | ||||
| import "@goauthentik/admin/roles/RoleForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { renderDescriptionList } from "@goauthentik/components/DescriptionList"; | ||||
| @ -10,6 +9,7 @@ import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/PageHeader"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { css, html, nothing } from "lit"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/sources/ldap/LDAPSourceConnectivity"; | ||||
| import "@goauthentik/admin/sources/ldap/LDAPSourceForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -10,6 +9,7 @@ import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,7 +1,6 @@ | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import "@goauthentik/admin/sources/oauth/OAuthSourceDiagram"; | ||||
| import "@goauthentik/admin/sources/oauth/OAuthSourceForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -10,6 +9,7 @@ import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import "@goauthentik/admin/sources/plex/PlexSourceForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -9,6 +8,7 @@ import "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,5 @@ | ||||
| import "@goauthentik/admin/policies/BoundPoliciesList"; | ||||
| import "@goauthentik/admin/sources/saml/SAMLSourceForm"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import "@goauthentik/components/events/ObjectChangelog"; | ||||
| @ -10,6 +9,7 @@ import { CodeMirrorMode } from "@goauthentik/elements/CodeMirror"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { uiConfig } from "@goauthentik/app/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import { PFColor } from "@goauthentik/elements/Label"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import "@goauthentik/admin/tokens/TokenForm"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { intentToLabel } from "@goauthentik/common/labels"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import "@goauthentik/elements/buttons/Dropdown"; | ||||
| import "@goauthentik/elements/buttons/TokenCopyButton"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { applicationListStyle } from "@goauthentik/app/admin/applications/ApplicationListPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/app/common/ui/config"; | ||||
| import { PFSize } from "@goauthentik/app/elements/Spinner"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { applicationListStyle } from "@goauthentik/admin/applications/ApplicationListPage"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import "@goauthentik/components/ak-app-icon"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import "@goauthentik/admin/users/UserPermissionForm"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -4,11 +4,12 @@ import "@goauthentik/admin/users/UserActiveForm"; | ||||
| import "@goauthentik/admin/users/UserForm"; | ||||
| import "@goauthentik/admin/users/UserPasswordForm"; | ||||
| import "@goauthentik/admin/users/UserResetEmailForm"; | ||||
| import { me } from "@goauthentik/app/common/users"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { userTypeToLabel } from "@goauthentik/common/labels"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import { DefaultUIConfig, uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { me } from "@goauthentik/common/users"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import { rootInterface } from "@goauthentik/elements/Base"; | ||||
| @ -17,7 +18,6 @@ import { | ||||
|     CapabilitiesEnum, | ||||
|     WithCapabilitiesConfig, | ||||
| } from "@goauthentik/elements/Interface/capabilitiesProvider"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/TreeView"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
|  | ||||
| @ -4,20 +4,17 @@ import "@goauthentik/admin/users/UserActiveForm"; | ||||
| import "@goauthentik/admin/users/UserApplicationTable"; | ||||
| import "@goauthentik/admin/users/UserChart"; | ||||
| import "@goauthentik/admin/users/UserForm"; | ||||
| import "@goauthentik/admin/users/UserPasswordForm"; | ||||
| import { | ||||
|     renderRecoveryEmailRequest, | ||||
|     requestRecoveryLink, | ||||
| } from "@goauthentik/app/admin/users/UserListPage"; | ||||
| import { me } from "@goauthentik/app/common/users"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import "@goauthentik/app/elements/oauth/UserAccessTokenList"; | ||||
| import "@goauthentik/app/elements/oauth/UserRefreshTokenList"; | ||||
| import "@goauthentik/app/elements/rbac/ObjectPermissionsPage"; | ||||
| import "@goauthentik/app/elements/user/sources/SourceSettings"; | ||||
| } from "@goauthentik/admin/users/UserListPage"; | ||||
| import "@goauthentik/admin/users/UserPasswordForm"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { userTypeToLabel } from "@goauthentik/common/labels"; | ||||
| import { me } from "@goauthentik/common/users"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/DescriptionList"; | ||||
| import { | ||||
|     type DescriptionPair, | ||||
| @ -30,13 +27,16 @@ import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/CodeMirror"; | ||||
| import { WithCapabilitiesConfig } from "@goauthentik/elements/Interface/capabilitiesProvider"; | ||||
| import "@goauthentik/elements/PageHeader"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/ActionButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/oauth/UserAccessTokenList"; | ||||
| import "@goauthentik/elements/oauth/UserRefreshTokenList"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
| import "@goauthentik/elements/user/SessionList"; | ||||
| import "@goauthentik/elements/user/UserConsentList"; | ||||
| import "@goauthentik/elements/user/sources/SourceSettings"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { TemplateResult, css, html, nothing } from "lit"; | ||||
|  | ||||
							
								
								
									
										6
									
								
								web/src/common/enums.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								web/src/common/enums.ts
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| export enum PFSize { | ||||
|     Small = "pf-m-sm", | ||||
|     Medium = "pf-m-md", | ||||
|     Large = "pf-m-lg", | ||||
|     XLarge = "pf-m-xl", | ||||
| } | ||||
| @ -1,4 +1,4 @@ | ||||
| import { first } from "@goauthentik/app/common/utils"; | ||||
| import { first } from "@goauthentik/common/utils"; | ||||
|  | ||||
| import { TemplateResult, html, nothing } from "lit"; | ||||
| import { classMap } from "lit/directives/class-map.js"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { PFSize } from "@goauthentik/app/elements/Spinner"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { VERSION } from "@goauthentik/common/constants"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { EventContext, EventModel, EventWithContext } from "@goauthentik/common/events"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/Expand"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { css, html } from "lit"; | ||||
| import { customElement } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { css, html } from "lit"; | ||||
| import { customElement } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { css, html } from "lit"; | ||||
| import { customElement } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { css, html } from "lit"; | ||||
| import { customElement } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { css, html } from "lit"; | ||||
| import { customElement } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import "@goauthentik/app/elements/forms/HorizontalFormElement"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
|  | ||||
| import { TemplateResult, css, html, nothing } from "lit"; | ||||
| import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import "@goauthentik/app/components/ak-wizard-main/ak-wizard-frame"; | ||||
| import "@goauthentik/components/ak-wizard-main/ak-wizard-frame"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { EventGeo, EventUser } from "@goauthentik/app/admin/events/utils"; | ||||
| import { actionToLabel } from "@goauthentik/app/common/labels"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { EventGeo, EventUser } from "@goauthentik/admin/events/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-event-info"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/Dropdown"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { EventUser } from "@goauthentik/app/admin/events/utils"; | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { EventUser } from "@goauthentik/admin/events/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EventWithContext } from "@goauthentik/common/events"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-event-info"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/buttons/Dropdown"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import { convertToSlug as slugify } from "@goauthentik/common/utils.js"; | ||||
| import "@goauthentik/elements/forms/SearchSelect/ak-search-select"; | ||||
| import { SearchSelect } from "@goauthentik/elements/forms/SearchSelect/ak-search-select"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
|  | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
| import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { EVENT_REFRESH_ENTERPRISE } from "@goauthentik/app/common/constants"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { brand, config } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH_ENTERPRISE } from "@goauthentik/common/constants"; | ||||
| import { UIConfig, uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { | ||||
|     authentikBrandContext, | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| @ -6,13 +7,6 @@ import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
| import PFSpinner from "@patternfly/patternfly/components/Spinner/spinner.css"; | ||||
|  | ||||
| export enum PFSize { | ||||
|     Small = "pf-m-sm", | ||||
|     Medium = "pf-m-md", | ||||
|     Large = "pf-m-lg", | ||||
|     XLarge = "pf-m-xl", | ||||
| } | ||||
|  | ||||
| @customElement("ak-spinner") | ||||
| export class Spinner extends AKElement { | ||||
|     @property() | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { sourceLocale, targetLocales } from "@goauthentik/app/locale-codes"; | ||||
| import { sourceLocale, targetLocales } from "@goauthentik/authentik/locale-codes"; | ||||
|  | ||||
| import { configureLocalization } from "@lit/localize"; | ||||
|  | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
|  | ||||
| import { CSSResult, TemplateResult, css, html, nothing } from "lit"; | ||||
| import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { ERROR_CLASS, PROGRESS_CLASS, SUCCESS_CLASS } from "@goauthentik/common/constants"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter"; | ||||
|  | ||||
| import { Task, TaskStatus } from "@lit/task"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import { AggregateCard } from "@goauthentik/elements/cards/AggregateCard"; | ||||
|  | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { EVENT_REFRESH, EVENT_THEME_CHANGE } from "@goauthentik/common/constants"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import { | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import { ModalButton } from "@goauthentik/elements/buttons/ModalButton"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import { PreventFormSubmit } from "@goauthentik/app/elements/forms/helpers"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import { camelToSnake, convertToSlug } from "@goauthentik/common/utils"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { HorizontalFormElement } from "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
| import { SearchSelect } from "@goauthentik/elements/forms/SearchSelect"; | ||||
| import { PreventFormSubmit } from "@goauthentik/elements/forms/helpers"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
|  | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { APIErrorTypes, parseAPIError } from "@goauthentik/app/common/errors"; | ||||
| import { PreventFormSubmit } from "@goauthentik/app/elements/forms/helpers"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { APIErrorTypes, parseAPIError } from "@goauthentik/common/errors"; | ||||
| import { ascii_letters, digits, groupBy, randomString } from "@goauthentik/common/utils"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { PreventFormSubmit } from "@goauthentik/elements/forms/helpers"; | ||||
| import { ensureCSSStyleSheet } from "@goauthentik/elements/utils/ensureCSSStyleSheet"; | ||||
| import { CustomEmitterElement } from "@goauthentik/elements/utils/eventEmitter"; | ||||
|  | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { HorizontalFormElement } from "@goauthentik/app/elements/forms/HorizontalFormElement"; | ||||
| import { HorizontalFormElement } from "@goauthentik/elements/forms/HorizontalFormElement"; | ||||
|  | ||||
| export class PreventFormSubmit { | ||||
|     // Stub class which can be returned by form elements to prevent the form from submitting | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_NOTIFICATION_DRAWER_TOGGLE, EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { actionToLabel } from "@goauthentik/common/labels"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import { me } from "@goauthentik/common/users"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/components/ak-status-label"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import { ModelForm } from "@goauthentik/elements/forms/ModelForm"; | ||||
| import "@goauthentik/elements/rbac/ObjectPermissionsPage"; | ||||
|  | ||||
| @ -1,11 +1,11 @@ | ||||
| import "@goauthentik/app/admin/roles/RoleAssignedGlobalPermissionsTable"; | ||||
| import "@goauthentik/app/admin/roles/RoleAssignedObjectPermissionTable"; | ||||
| import "@goauthentik/app/admin/users/UserAssignedGlobalPermissionsTable"; | ||||
| import "@goauthentik/app/admin/users/UserAssignedObjectPermissionsTable"; | ||||
| import { AKElement } from "@goauthentik/app/elements/Base"; | ||||
| import "@goauthentik/app/elements/rbac/RoleObjectPermissionTable"; | ||||
| import "@goauthentik/app/elements/rbac/UserObjectPermissionTable"; | ||||
| import "@goauthentik/admin/roles/RoleAssignedGlobalPermissionsTable"; | ||||
| import "@goauthentik/admin/roles/RoleAssignedObjectPermissionTable"; | ||||
| import "@goauthentik/admin/users/UserAssignedGlobalPermissionsTable"; | ||||
| import "@goauthentik/admin/users/UserAssignedObjectPermissionsTable"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/Tabs"; | ||||
| import "@goauthentik/elements/rbac/RoleObjectPermissionTable"; | ||||
| import "@goauthentik/elements/rbac/UserObjectPermissionTable"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { html, nothing } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { groupBy } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/buttons/SpinnerButton"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
| import { TableColumn } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/RoleObjectPermissionForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import "@goauthentik/elements/forms/ModalForm"; | ||||
| import "@goauthentik/elements/rbac/UserObjectPermissionForm"; | ||||
| import { PaginatedResponse, Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import "@patternfly/elements/pf-tooltip/pf-tooltip.js"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { APIErrorTypes, parseAPIError } from "@goauthentik/app/common/errors"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { APIErrorTypes, parseAPIError } from "@goauthentik/common/errors"; | ||||
| import { groupBy } from "@goauthentik/common/utils"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import { MODAL_BUTTON_STYLES } from "@goauthentik/elements/buttons/ModalButton"; | ||||
| import { Table } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
| import { Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { getRelativeTime } from "@goauthentik/app/common/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { uiConfig } from "@goauthentik/common/ui/config"; | ||||
| import { getRelativeTime } from "@goauthentik/common/utils"; | ||||
| import "@goauthentik/elements/forms/DeleteBulkForm"; | ||||
| import { PaginatedResponse } from "@goauthentik/elements/table/Table"; | ||||
| import { Table, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
|  | ||||
| @ -1,11 +1,11 @@ | ||||
| import { renderSourceIcon } from "@goauthentik/app/admin/sources/utils"; | ||||
| import "@goauthentik/app/elements/user/sources/SourceSettingsOAuth"; | ||||
| import "@goauthentik/app/elements/user/sources/SourceSettingsPlex"; | ||||
| import "@goauthentik/app/elements/user/sources/SourceSettingsSAML"; | ||||
| import { renderSourceIcon } from "@goauthentik/admin/sources/utils"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { AKElement } from "@goauthentik/elements/Base"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import "@goauthentik/elements/user/sources/SourceSettingsOAuth"; | ||||
| import "@goauthentik/elements/user/sources/SourceSettingsPlex"; | ||||
| import "@goauthentik/elements/user/sources/SourceSettingsSAML"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { BaseUserSettings } from "@goauthentik/app/elements/user/sources/BaseUserSettings"; | ||||
| import { AndNext, DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
| import { BaseUserSettings } from "@goauthentik/elements/user/sources/BaseUserSettings"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import { BaseUserSettings } from "@goauthentik/app/elements/user/sources/BaseUserSettings"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { PlexAPIClient, popupCenterScreen } from "@goauthentik/common/helpers/plex"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
| import { BaseUserSettings } from "@goauthentik/elements/user/sources/BaseUserSettings"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,9 +1,9 @@ | ||||
| import { BaseUserSettings } from "@goauthentik/app/elements/user/sources/BaseUserSettings"; | ||||
| import { AndNext, DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { EVENT_REFRESH } from "@goauthentik/common/constants"; | ||||
| import { MessageLevel } from "@goauthentik/common/messages"; | ||||
| import "@goauthentik/elements/Spinner"; | ||||
| import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; | ||||
| import { BaseUserSettings } from "@goauthentik/elements/user/sources/BaseUserSettings"; | ||||
|  | ||||
| import { msg, str } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { TITLE_DEFAULT } from "@goauthentik/app/common/constants"; | ||||
| import { TITLE_DEFAULT } from "@goauthentik/common/constants"; | ||||
| import { Interface } from "@goauthentik/elements/Interface"; | ||||
| import "@goauthentik/elements/LoadingOverlay"; | ||||
| import Guacamole from "guacamole-common-js"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { BaseDeviceStage } from "@goauthentik/app/flow/stages/authenticator_validate/base"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import "@goauthentik/elements/forms/FormElement"; | ||||
| import { BaseDeviceStage } from "@goauthentik/flow/stages/authenticator_validate/base"; | ||||
| import { PasswordManagerPrefill } from "@goauthentik/flow/stages/identification/IdentificationStage"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { BaseDeviceStage } from "@goauthentik/app/flow/stages/authenticator_validate/base"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import "@goauthentik/elements/forms/FormElement"; | ||||
| import { BaseDeviceStage } from "@goauthentik/flow/stages/authenticator_validate/base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
| @ -1,10 +1,10 @@ | ||||
| import { BaseDeviceStage } from "@goauthentik/app/flow/stages/authenticator_validate/base"; | ||||
| import { | ||||
|     checkWebAuthnSupport, | ||||
|     transformAssertionForServer, | ||||
|     transformCredentialRequestOptions, | ||||
| } from "@goauthentik/common/helpers/webauthn"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import { BaseDeviceStage } from "@goauthentik/flow/stages/authenticator_validate/base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { TemplateResult, html, nothing } from "lit"; | ||||
|  | ||||
| @ -1,9 +1,5 @@ | ||||
| import { | ||||
|     BaseStage, | ||||
|     FlowInfoChallenge, | ||||
|     PendingUserChallenge, | ||||
| } from "@goauthentik/app/flow/stages/base"; | ||||
| import { AuthenticatorValidateStage } from "@goauthentik/flow/stages/authenticator_validate/AuthenticatorValidateStage"; | ||||
| import { BaseStage, FlowInfoChallenge, PendingUserChallenge } from "@goauthentik/flow/stages/base"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { CSSResult, TemplateResult, css, html } from "lit"; | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| ///<reference types="@hcaptcha/types"/> | ||||
| import { PFSize } from "@goauthentik/common/enums.js"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import { PFSize } from "@goauthentik/elements/Spinner"; | ||||
| import "@goauthentik/elements/forms/FormElement"; | ||||
| import "@goauthentik/flow/FormStatic"; | ||||
| import "@goauthentik/flow/stages/access_denied/AccessDeniedStage"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { renderSourceIcon } from "@goauthentik/app/admin/sources/utils"; | ||||
| import { renderSourceIcon } from "@goauthentik/admin/sources/utils"; | ||||
| import "@goauthentik/elements/Divider"; | ||||
| import "@goauthentik/elements/EmptyState"; | ||||
| import "@goauthentik/elements/forms/FormElement"; | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { FlowExecutor } from "@goauthentik/app/flow/FlowExecutor"; | ||||
| import { FlowExecutor } from "@goauthentik/flow/FlowExecutor"; | ||||
|  | ||||
| import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
|  | ||||
| @ -1,4 +1,4 @@ | ||||
| import { Interface } from "@goauthentik/app/elements/Interface"; | ||||
| import { Interface } from "@goauthentik/elements/Interface"; | ||||
|  | ||||
| import { customElement, property } from "lit/decorators.js"; | ||||
|  | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/app/common/api/config"; | ||||
| import { PaginatedResponse, TableColumn } from "@goauthentik/app/elements/table/Table"; | ||||
| import { TableModal } from "@goauthentik/app/elements/table/TableModal"; | ||||
| import { DEFAULT_CONFIG } from "@goauthentik/common/api/config"; | ||||
| import { PaginatedResponse, TableColumn } from "@goauthentik/elements/table/Table"; | ||||
| import { TableModal } from "@goauthentik/elements/table/TableModal"; | ||||
|  | ||||
| import { msg } from "@lit/localize"; | ||||
| import { TemplateResult, html } from "lit"; | ||||
|  | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	 Ken Sternberg
					Ken Sternberg