From e587c53e185c3c49d02fc577c92df6db0a581939 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 4 Nov 2021 22:34:48 +0100 Subject: [PATCH] web: remove deprecated rollup-plugin-node-resolve Signed-off-by: Jens Langhammer --- web/package-lock.json | 109 ++++++++++-------- web/package.json | 2 +- web/poly.ts | 2 +- web/rollup.config.js | 10 +- web/src/elements/CodeMirror.ts | 4 +- web/src/elements/Divider.ts | 2 +- web/src/elements/EmptyState.ts | 2 +- web/src/elements/Expand.ts | 2 +- web/src/elements/Label.ts | 2 +- web/src/elements/LoadingOverlay.ts | 2 +- web/src/elements/PageHeader.ts | 2 +- web/src/elements/Spinner.ts | 2 +- web/src/elements/Tabs.ts | 4 +- web/src/elements/buttons/Dropdown.ts | 2 +- web/src/elements/buttons/ModalButton.ts | 2 +- web/src/elements/buttons/SpinnerButton.ts | 2 +- web/src/elements/buttons/TokenCopyButton.ts | 2 +- web/src/elements/cards/AggregateCard.ts | 4 +- .../elements/cards/AggregatePromiseCard.ts | 4 +- web/src/elements/charts/AdminLoginsChart.ts | 2 +- .../charts/ApplicationAuthorizeChart.ts | 2 +- web/src/elements/charts/Chart.ts | 2 +- web/src/elements/charts/UserChart.ts | 2 +- web/src/elements/chips/Chip.ts | 2 +- web/src/elements/chips/ChipGroup.ts | 2 +- web/src/elements/events/ObjectChangelog.ts | 2 +- web/src/elements/events/UserEvents.ts | 2 +- web/src/elements/forms/ConfirmationForm.ts | 2 +- web/src/elements/forms/DeleteBulkForm.ts | 4 +- web/src/elements/forms/DeleteForm.ts | 4 +- web/src/elements/forms/Form.ts | 2 +- web/src/elements/forms/FormElement.ts | 2 +- web/src/elements/forms/FormGroup.ts | 2 +- .../elements/forms/HorizontalFormElement.ts | 2 +- web/src/elements/forms/ModalForm.ts | 2 +- web/src/elements/forms/ModelForm.ts | 2 +- web/src/elements/forms/ProxyForm.ts | 2 +- web/src/elements/messages/Message.ts | 2 +- web/src/elements/messages/MessageContainer.ts | 2 +- web/src/elements/notifications/APIDrawer.ts | 2 +- .../notifications/NotificationDrawer.ts | 2 +- web/src/elements/oauth/UserCodeList.ts | 2 +- web/src/elements/oauth/UserRefreshList.ts | 2 +- web/src/elements/router/Router404.ts | 2 +- web/src/elements/router/RouterOutlet.ts | 2 +- web/src/elements/sidebar/Sidebar.ts | 2 +- web/src/elements/sidebar/SidebarBrand.ts | 2 +- web/src/elements/sidebar/SidebarItem.ts | 4 +- web/src/elements/sidebar/SidebarUser.ts | 6 +- web/src/elements/table/Table.ts | 4 +- web/src/elements/table/TableModal.ts | 2 +- web/src/elements/table/TablePage.ts | 2 +- web/src/elements/table/TablePagination.ts | 2 +- web/src/elements/table/TableSearch.ts | 4 +- web/src/elements/user/SessionList.ts | 2 +- web/src/elements/user/UserConsentList.ts | 2 +- web/src/flows/FlowExecutor.ts | 6 +- web/src/flows/FlowInspector.ts | 2 +- web/src/flows/FormStatic.ts | 4 +- .../flows/access_denied/FlowAccessDenied.ts | 2 +- web/src/flows/sources/plex/PlexLoginInit.ts | 2 +- web/src/flows/stages/RedirectStage.ts | 2 +- .../AuthenticatorDuoStage.ts | 4 +- .../AuthenticatorSMSStage.ts | 4 +- .../AuthenticatorStaticStage.ts | 4 +- .../AuthenticatorTOTPStage.ts | 4 +- .../AuthenticatorValidateStage.ts | 4 +- .../AuthenticatorValidateStageCode.ts | 4 +- .../AuthenticatorValidateStageDuo.ts | 4 +- .../AuthenticatorValidateStageWebAuthn.ts | 2 +- .../WebAuthnAuthenticatorRegisterStage.ts | 2 +- .../stages/autosubmit/AutosubmitStage.ts | 2 +- web/src/flows/stages/base.ts | 2 +- web/src/flows/stages/captcha/CaptchaStage.ts | 4 +- web/src/flows/stages/consent/ConsentStage.ts | 4 +- web/src/flows/stages/dummy/DummyStage.ts | 2 +- web/src/flows/stages/email/EmailStage.ts | 2 +- .../identification/IdentificationStage.ts | 2 +- .../flows/stages/password/PasswordStage.ts | 4 +- web/src/flows/stages/prompt/PromptStage.ts | 4 +- web/src/interfaces/AdminInterface.ts | 4 +- web/src/interfaces/UserInterface.ts | 4 +- .../pages/admin-overview/AdminOverviewPage.ts | 2 +- .../admin-overview/TopApplicationsTable.ts | 2 +- .../admin-overview/cards/AdminStatusCard.ts | 2 +- .../admin-overview/cards/BackupStatusCard.ts | 2 +- .../admin-overview/cards/SystemStatusCard.ts | 2 +- .../admin-overview/cards/VersionStatusCard.ts | 2 +- .../admin-overview/cards/WorkerStatusCard.ts | 2 +- .../admin-overview/charts/FlowStatusChart.ts | 2 +- .../charts/GroupCountStatusChart.ts | 2 +- .../charts/LDAPSyncStatusChart.ts | 2 +- .../charts/OutpostStatusChart.ts | 2 +- .../charts/PolicyStatusChart.ts | 2 +- .../charts/UserCountStatusChart.ts | 2 +- .../ApplicationCheckAccessForm.ts | 4 +- web/src/pages/applications/ApplicationForm.ts | 6 +- .../pages/applications/ApplicationListPage.ts | 2 +- .../pages/applications/ApplicationViewPage.ts | 4 +- .../pages/crypto/CertificateGenerateForm.ts | 2 +- .../pages/crypto/CertificateKeyPairForm.ts | 4 +- .../crypto/CertificateKeyPairListPage.ts | 2 +- web/src/pages/events/EventInfo.ts | 4 +- web/src/pages/events/EventInfoPage.ts | 2 +- web/src/pages/events/EventListPage.ts | 2 +- web/src/pages/events/RuleForm.ts | 6 +- web/src/pages/events/RuleListPage.ts | 2 +- web/src/pages/events/TransportForm.ts | 6 +- web/src/pages/events/TransportListPage.ts | 2 +- web/src/pages/flows/BoundStagesList.ts | 6 +- web/src/pages/flows/FlowDiagram.ts | 2 +- web/src/pages/flows/FlowForm.ts | 6 +- web/src/pages/flows/FlowImportForm.ts | 2 +- web/src/pages/flows/FlowListPage.ts | 2 +- web/src/pages/flows/FlowViewPage.ts | 2 +- web/src/pages/flows/StageBindingForm.ts | 6 +- web/src/pages/groups/GroupForm.ts | 6 +- web/src/pages/groups/GroupListPage.ts | 2 +- web/src/pages/groups/MemberSelectModal.ts | 2 +- .../pages/outposts/OutpostDeploymentModal.ts | 4 +- web/src/pages/outposts/OutpostForm.ts | 6 +- web/src/pages/outposts/OutpostHealth.ts | 2 +- web/src/pages/outposts/OutpostHealthSimple.ts | 2 +- web/src/pages/outposts/OutpostListPage.ts | 6 +- .../outposts/ServiceConnectionDockerForm.ts | 6 +- .../ServiceConnectionKubernetesForm.ts | 4 +- .../outposts/ServiceConnectionListPage.ts | 6 +- web/src/pages/policies/BoundPoliciesList.ts | 6 +- web/src/pages/policies/PolicyBindingForm.ts | 6 +- web/src/pages/policies/PolicyListPage.ts | 6 +- web/src/pages/policies/PolicyTestForm.ts | 4 +- .../pages/policies/dummy/DummyPolicyForm.ts | 4 +- .../event_matcher/EventMatcherPolicyForm.ts | 6 +- .../pages/policies/expiry/ExpiryPolicyForm.ts | 4 +- .../expression/ExpressionPolicyForm.ts | 4 +- .../policies/hibp/HaveIBeenPwnedPolicyForm.ts | 4 +- .../policies/password/PasswordPolicyForm.ts | 4 +- .../reputation/IPReputationListPage.ts | 2 +- .../reputation/ReputationPolicyForm.ts | 4 +- .../reputation/UserReputationListPage.ts | 2 +- .../PropertyMappingLDAPForm.ts | 4 +- .../PropertyMappingListPage.ts | 6 +- .../PropertyMappingNotification.ts | 4 +- .../PropertyMappingSAMLForm.ts | 4 +- .../PropertyMappingScopeForm.ts | 4 +- .../PropertyMappingTestForm.ts | 6 +- web/src/pages/providers/ProviderListPage.ts | 6 +- web/src/pages/providers/ProviderViewPage.ts | 4 +- .../providers/RelatedApplicationButton.ts | 2 +- .../pages/providers/ldap/LDAPProviderForm.ts | 6 +- .../providers/ldap/LDAPProviderViewPage.ts | 2 +- .../providers/oauth2/OAuth2ProviderForm.ts | 6 +- .../oauth2/OAuth2ProviderViewPage.ts | 2 +- .../providers/proxy/ProxyProviderForm.ts | 6 +- .../providers/proxy/ProxyProviderViewPage.ts | 2 +- .../pages/providers/saml/SAMLProviderForm.ts | 6 +- .../providers/saml/SAMLProviderImportForm.ts | 4 +- .../providers/saml/SAMLProviderViewPage.ts | 6 +- web/src/pages/sources/SourceViewPage.ts | 4 +- web/src/pages/sources/SourcesListPage.ts | 6 +- web/src/pages/sources/ldap/LDAPSourceForm.ts | 6 +- .../pages/sources/ldap/LDAPSourceViewPage.ts | 4 +- .../pages/sources/oauth/OAuthSourceForm.ts | 6 +- .../sources/oauth/OAuthSourceViewPage.ts | 2 +- web/src/pages/sources/plex/PlexSourceForm.ts | 6 +- .../pages/sources/plex/PlexSourceViewPage.ts | 2 +- web/src/pages/sources/saml/SAMLSourceForm.ts | 6 +- .../pages/sources/saml/SAMLSourceViewPage.ts | 6 +- web/src/pages/stages/StageListPage.ts | 6 +- .../AuthenticatorDuoStageForm.ts | 6 +- .../AuthenticatorSMSStageForm.ts | 6 +- .../AuthenticatorStaticStageForm.ts | 6 +- .../AuthenticatorTOTPStageForm.ts | 6 +- .../AuthenticatorValidateStageForm.ts | 6 +- .../AuthenticateWebAuthnStageForm.ts | 4 +- .../pages/stages/captcha/CaptchaStageForm.ts | 4 +- .../pages/stages/consent/ConsentStageForm.ts | 4 +- web/src/pages/stages/deny/DenyStageForm.ts | 4 +- web/src/pages/stages/dummy/DummyStageForm.ts | 4 +- web/src/pages/stages/email/EmailStageForm.ts | 6 +- .../identification/IdentificationStageForm.ts | 6 +- .../pages/stages/invitation/InvitationForm.ts | 2 +- .../stages/invitation/InvitationListLink.ts | 4 +- .../stages/invitation/InvitationListPage.ts | 4 +- .../stages/invitation/InvitationStageForm.ts | 4 +- .../stages/password/PasswordStageForm.ts | 6 +- web/src/pages/stages/prompt/PromptForm.ts | 4 +- web/src/pages/stages/prompt/PromptListPage.ts | 2 +- .../pages/stages/prompt/PromptStageForm.ts | 6 +- .../stages/user_delete/UserDeleteStageForm.ts | 4 +- .../stages/user_login/UserLoginStageForm.ts | 2 +- .../stages/user_logout/UserLogoutStageForm.ts | 4 +- .../stages/user_write/UserWriteStageForm.ts | 6 +- .../pages/system-tasks/SystemTaskListPage.ts | 2 +- web/src/pages/tenants/TenantForm.ts | 4 +- web/src/pages/tenants/TenantListPage.ts | 2 +- web/src/pages/tokens/TokenForm.ts | 4 +- web/src/pages/tokens/TokenListPage.ts | 2 +- web/src/pages/users/GroupSelectModal.ts | 2 +- web/src/pages/users/ServiceAccountForm.ts | 4 +- web/src/pages/users/UserActiveForm.ts | 2 +- web/src/pages/users/UserForm.ts | 6 +- web/src/pages/users/UserListPage.ts | 4 +- web/src/pages/users/UserResetEmailForm.ts | 4 +- web/src/pages/users/UserViewPage.ts | 2 +- web/src/user/LibraryApplication.ts | 6 +- web/src/user/LibraryPage.ts | 4 +- .../user/user-settings/BaseUserSettings.ts | 2 +- .../user/user-settings/UserSettingsPage.ts | 6 +- .../user-settings/details/UserDetailsForm.ts | 6 +- .../user-settings/details/UserPassword.ts | 6 +- .../user/user-settings/mfa/MFADeviceForm.ts | 4 +- .../user/user-settings/mfa/MFADevicesPage.ts | 6 +- .../user-settings/sources/SourceSettings.ts | 4 +- .../sources/SourceSettingsOAuth.ts | 6 +- .../sources/SourceSettingsPlex.ts | 4 +- .../user-settings/tokens/UserTokenForm.ts | 4 +- .../user-settings/tokens/UserTokenList.ts | 2 +- 218 files changed, 448 insertions(+), 429 deletions(-) diff --git a/web/package-lock.json b/web/package-lock.json index 4630967eb..6b6586afc 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -25,6 +25,7 @@ "@polymer/paper-input": "^3.2.1", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-node-resolve": "^13.0.6", "@rollup/plugin-replace": "^3.0.0", "@rollup/plugin-typescript": "^8.3.0", "@sentry/browser": "^6.14.0", @@ -57,7 +58,6 @@ "rollup-plugin-copy": "^3.4.0", "rollup-plugin-cssimport": "^1.0.2", "rollup-plugin-minify-html-literals": "^1.2.6", - "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "ts-lit-plugin": "^1.2.1", @@ -2306,6 +2306,33 @@ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", + "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^2.42.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@rollup/plugin-replace": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", @@ -2726,14 +2753,6 @@ "resolved": "https://registry.npmjs.org/@types/relateurl/-/relateurl-0.2.29.tgz", "integrity": "sha512-QSvevZ+IRww2ldtfv1QskYsqVVVwCKQf1XbwtcyyoRvLIQzfyPhj/C+3+PKzSDRdiyejaiLgnq//XTkleorpLg==" }, - "node_modules/@types/resolve": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", - "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/tern": { "version": "0.23.4", "resolved": "https://registry.npmjs.org/@types/tern/-/tern-0.23.4.tgz", @@ -3903,6 +3922,14 @@ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -7262,22 +7289,6 @@ "rollup": "^0.65.2 || ^1.0.0 || ^2.0.0" } }, - "node_modules/rollup-plugin-node-resolve": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", - "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", - "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.", - "dependencies": { - "@types/resolve": "0.0.8", - "builtin-modules": "^3.1.0", - "is-module": "^1.0.0", - "resolve": "^1.11.1", - "rollup-pluginutils": "^2.8.1" - }, - "peerDependencies": { - "rollup": ">=1.11.0" - } - }, "node_modules/rollup-plugin-sourcemaps": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", @@ -10187,6 +10198,29 @@ } } }, + "@rollup/plugin-node-resolve": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", + "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", + "requires": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "dependencies": { + "@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "requires": { + "@types/node": "*" + } + } + } + }, "@rollup/plugin-replace": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", @@ -10555,14 +10589,6 @@ "resolved": "https://registry.npmjs.org/@types/relateurl/-/relateurl-0.2.29.tgz", "integrity": "sha512-QSvevZ+IRww2ldtfv1QskYsqVVVwCKQf1XbwtcyyoRvLIQzfyPhj/C+3+PKzSDRdiyejaiLgnq//XTkleorpLg==" }, - "@types/resolve": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", - "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", - "requires": { - "@types/node": "*" - } - }, "@types/tern": { "version": "0.23.4", "resolved": "https://registry.npmjs.org/@types/tern/-/tern-0.23.4.tgz", @@ -11383,6 +11409,11 @@ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" }, + "deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + }, "defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -13902,18 +13933,6 @@ "rollup-pluginutils": "^2.8.2" } }, - "rollup-plugin-node-resolve": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", - "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", - "requires": { - "@types/resolve": "0.0.8", - "builtin-modules": "^3.1.0", - "is-module": "^1.0.0", - "resolve": "^1.11.1", - "rollup-pluginutils": "^2.8.1" - } - }, "rollup-plugin-sourcemaps": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz", diff --git a/web/package.json b/web/package.json index b6d261bc3..574ef53e5 100644 --- a/web/package.json +++ b/web/package.json @@ -60,6 +60,7 @@ "@polymer/paper-input": "^3.2.1", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-node-resolve": "^13.0.6", "@rollup/plugin-replace": "^3.0.0", "@rollup/plugin-typescript": "^8.3.0", "@sentry/browser": "^6.14.0", @@ -92,7 +93,6 @@ "rollup-plugin-copy": "^3.4.0", "rollup-plugin-cssimport": "^1.0.2", "rollup-plugin-minify-html-literals": "^1.2.6", - "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-terser": "^7.0.2", "ts-lit-plugin": "^1.2.1", diff --git a/web/poly.ts b/web/poly.ts index 43009f976..1f2c34919 100644 --- a/web/poly.ts +++ b/web/poly.ts @@ -2,4 +2,4 @@ window["polymerSkipLoadingFontRoboto"] = true; import "construct-style-sheets-polyfill"; import "@webcomponents/webcomponentsjs"; -import "lit/polyfill-support"; +import "lit/polyfill-support.js"; diff --git a/web/rollup.config.js b/web/rollup.config.js index 94450131e..6c2a930e2 100644 --- a/web/rollup.config.js +++ b/web/rollup.config.js @@ -1,9 +1,9 @@ import babel from "@rollup/plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; +import { nodeResolve } from "@rollup/plugin-node-resolve"; import replace from "@rollup/plugin-replace"; import copy from "rollup-plugin-copy"; import cssimport from "rollup-plugin-cssimport"; -import resolve from "rollup-plugin-node-resolve"; import sourcemaps from "rollup-plugin-sourcemaps"; import { terser } from "rollup-plugin-terser"; @@ -77,7 +77,7 @@ export default [ ], plugins: [ cssimport(), - resolve({ browser: true }), + nodeResolve({ browser: true }), commonjs(), isProdBuild && terser(), copy({ @@ -104,7 +104,7 @@ export default [ ], plugins: [ cssimport(), - resolve({ extensions, browser: true }), + nodeResolve({ extensions, browser: true }), commonjs(), babel({ extensions, @@ -138,7 +138,7 @@ export default [ ], plugins: [ cssimport(), - resolve({ extensions, browser: true }), + nodeResolve({ extensions, browser: true }), commonjs(), babel({ extensions, @@ -172,7 +172,7 @@ export default [ ], plugins: [ cssimport(), - resolve({ extensions, browser: true }), + nodeResolve({ extensions, browser: true }), commonjs(), babel({ extensions, diff --git a/web/src/elements/CodeMirror.ts b/web/src/elements/CodeMirror.ts index b0183c907..633b2e8aa 100644 --- a/web/src/elements/CodeMirror.ts +++ b/web/src/elements/CodeMirror.ts @@ -12,8 +12,8 @@ import "codemirror/mode/yaml/yaml.js"; import YAML from "yaml"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import CodeMirrorDialogStyle from "codemirror/addon/dialog/dialog.css"; import CodeMirrorShowHintStyle from "codemirror/addon/hint/show-hint.css"; diff --git a/web/src/elements/Divider.ts b/web/src/elements/Divider.ts index 83d7ec5c4..3fae9a2f2 100644 --- a/web/src/elements/Divider.ts +++ b/web/src/elements/Divider.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../authentik.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/elements/EmptyState.ts b/web/src/elements/EmptyState.ts index ed11fefa3..1b35db4c4 100644 --- a/web/src/elements/EmptyState.ts +++ b/web/src/elements/EmptyState.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../authentik.css"; import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; diff --git a/web/src/elements/Expand.ts b/web/src/elements/Expand.ts index 4bb1b7279..455ed5f89 100644 --- a/web/src/elements/Expand.ts +++ b/web/src/elements/Expand.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFExpandableSection from "../../node_modules/@patternfly/patternfly/components/ExpandableSection/expandable-section.css"; diff --git a/web/src/elements/Label.ts b/web/src/elements/Label.ts index ebc1d62df..ba1f20936 100644 --- a/web/src/elements/Label.ts +++ b/web/src/elements/Label.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../authentik.css"; import PFLabel from "@patternfly/patternfly/components/Label/label.css"; diff --git a/web/src/elements/LoadingOverlay.ts b/web/src/elements/LoadingOverlay.ts index 874df6cce..cd8fc4754 100644 --- a/web/src/elements/LoadingOverlay.ts +++ b/web/src/elements/LoadingOverlay.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/elements/PageHeader.ts b/web/src/elements/PageHeader.ts index 5c5a3916b..5b53d6ace 100644 --- a/web/src/elements/PageHeader.ts +++ b/web/src/elements/PageHeader.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/Spinner.ts b/web/src/elements/Spinner.ts index 3d2926c2b..de81902cd 100644 --- a/web/src/elements/Spinner.ts +++ b/web/src/elements/Spinner.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFSpinner from "@patternfly/patternfly/components/Spinner/spinner.css"; diff --git a/web/src/elements/Tabs.ts b/web/src/elements/Tabs.ts index 2543a852e..16db10ccd 100644 --- a/web/src/elements/Tabs.ts +++ b/web/src/elements/Tabs.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../authentik.css"; import PFTabs from "@patternfly/patternfly/components/Tabs/tabs.css"; diff --git a/web/src/elements/buttons/Dropdown.ts b/web/src/elements/buttons/Dropdown.ts index 11a246c90..7065e086c 100644 --- a/web/src/elements/buttons/Dropdown.ts +++ b/web/src/elements/buttons/Dropdown.ts @@ -1,5 +1,5 @@ import { LitElement, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; @customElement("ak-dropdown") export class DropdownButton extends LitElement { diff --git a/web/src/elements/buttons/ModalButton.ts b/web/src/elements/buttons/ModalButton.ts index 2ae64045f..b07f54ad5 100644 --- a/web/src/elements/buttons/ModalButton.ts +++ b/web/src/elements/buttons/ModalButton.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFBackdrop from "@patternfly/patternfly/components/Backdrop/backdrop.css"; diff --git a/web/src/elements/buttons/SpinnerButton.ts b/web/src/elements/buttons/SpinnerButton.ts index ef1bb9735..c6705d8ab 100644 --- a/web/src/elements/buttons/SpinnerButton.ts +++ b/web/src/elements/buttons/SpinnerButton.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/buttons/TokenCopyButton.ts b/web/src/elements/buttons/TokenCopyButton.ts index 2dd6249ac..594718756 100644 --- a/web/src/elements/buttons/TokenCopyButton.ts +++ b/web/src/elements/buttons/TokenCopyButton.ts @@ -1,5 +1,5 @@ import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi } from "@goauthentik/api"; diff --git a/web/src/elements/cards/AggregateCard.ts b/web/src/elements/cards/AggregateCard.ts index fde87ee95..147b8c76d 100644 --- a/web/src/elements/cards/AggregateCard.ts +++ b/web/src/elements/cards/AggregateCard.ts @@ -1,6 +1,6 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../authentik.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css"; diff --git a/web/src/elements/cards/AggregatePromiseCard.ts b/web/src/elements/cards/AggregatePromiseCard.ts index a7bd765c6..2c6522db6 100644 --- a/web/src/elements/cards/AggregatePromiseCard.ts +++ b/web/src/elements/cards/AggregatePromiseCard.ts @@ -1,6 +1,6 @@ import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import "../Spinner"; import { PFSize } from "../Spinner"; diff --git a/web/src/elements/charts/AdminLoginsChart.ts b/web/src/elements/charts/AdminLoginsChart.ts index 2df07185c..2b8eff492 100644 --- a/web/src/elements/charts/AdminLoginsChart.ts +++ b/web/src/elements/charts/AdminLoginsChart.ts @@ -2,7 +2,7 @@ import { ChartData } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { AdminApi, LoginMetrics } from "@goauthentik/api"; diff --git a/web/src/elements/charts/ApplicationAuthorizeChart.ts b/web/src/elements/charts/ApplicationAuthorizeChart.ts index 12907ed23..b88c10ce1 100644 --- a/web/src/elements/charts/ApplicationAuthorizeChart.ts +++ b/web/src/elements/charts/ApplicationAuthorizeChart.ts @@ -2,7 +2,7 @@ import { ChartData } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Coordinate, CoreApi } from "@goauthentik/api"; diff --git a/web/src/elements/charts/Chart.ts b/web/src/elements/charts/Chart.ts index 7c434e119..687063b29 100644 --- a/web/src/elements/charts/Chart.ts +++ b/web/src/elements/charts/Chart.ts @@ -6,7 +6,7 @@ import { LinearScale, TimeScale } from "chart.js"; import "chartjs-adapter-moment"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { property } from "lit/decorators"; +import { property } from "lit/decorators.js"; import { EVENT_REFRESH } from "../../constants"; import { FONT_COLOUR_DARK_MODE, FONT_COLOUR_LIGHT_MODE } from "../../pages/flows/FlowDiagram"; diff --git a/web/src/elements/charts/UserChart.ts b/web/src/elements/charts/UserChart.ts index be6549322..162731638 100644 --- a/web/src/elements/charts/UserChart.ts +++ b/web/src/elements/charts/UserChart.ts @@ -2,7 +2,7 @@ import { ChartData } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, UserMetrics } from "@goauthentik/api"; diff --git a/web/src/elements/chips/Chip.ts b/web/src/elements/chips/Chip.ts index 9942abc3d..de6c042bc 100644 --- a/web/src/elements/chips/Chip.ts +++ b/web/src/elements/chips/Chip.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/chips/ChipGroup.ts b/web/src/elements/chips/ChipGroup.ts index ddfd928b2..c106b11b2 100644 --- a/web/src/elements/chips/ChipGroup.ts +++ b/web/src/elements/chips/ChipGroup.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/events/ObjectChangelog.ts b/web/src/elements/events/ObjectChangelog.ts index 9443dc24d..275f56e80 100644 --- a/web/src/elements/events/ObjectChangelog.ts +++ b/web/src/elements/events/ObjectChangelog.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Event, EventsApi } from "@goauthentik/api"; diff --git a/web/src/elements/events/UserEvents.ts b/web/src/elements/events/UserEvents.ts index 5dc069c6e..3a0e72ae5 100644 --- a/web/src/elements/events/UserEvents.ts +++ b/web/src/elements/events/UserEvents.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Event, EventsApi } from "@goauthentik/api"; diff --git a/web/src/elements/forms/ConfirmationForm.ts b/web/src/elements/forms/ConfirmationForm.ts index d4526bf79..dd4360d89 100644 --- a/web/src/elements/forms/ConfirmationForm.ts +++ b/web/src/elements/forms/ConfirmationForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { EVENT_REFRESH } from "../../constants"; import { ModalButton } from "../buttons/ModalButton"; diff --git a/web/src/elements/forms/DeleteBulkForm.ts b/web/src/elements/forms/DeleteBulkForm.ts index b82bc65cc..1222ecbf3 100644 --- a/web/src/elements/forms/DeleteBulkForm.ts +++ b/web/src/elements/forms/DeleteBulkForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import PFList from "@patternfly/patternfly/components/List/list.css"; diff --git a/web/src/elements/forms/DeleteForm.ts b/web/src/elements/forms/DeleteForm.ts index 547c81ecf..adfeda08f 100644 --- a/web/src/elements/forms/DeleteForm.ts +++ b/web/src/elements/forms/DeleteForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import PFList from "@patternfly/patternfly/components/List/list.css"; diff --git a/web/src/elements/forms/Form.ts b/web/src/elements/forms/Form.ts index beb33b618..5623e74f6 100644 --- a/web/src/elements/forms/Form.ts +++ b/web/src/elements/forms/Form.ts @@ -4,7 +4,7 @@ import "@polymer/paper-input/paper-input"; import { PaperInputElement } from "@polymer/paper-input/paper-input"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; diff --git a/web/src/elements/forms/FormElement.ts b/web/src/elements/forms/FormElement.ts index a78789b56..bcea621d3 100644 --- a/web/src/elements/forms/FormElement.ts +++ b/web/src/elements/forms/FormElement.ts @@ -1,6 +1,6 @@ import { CSSResult, LitElement, css } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; import PFFormControl from "@patternfly/patternfly/components/FormControl/form-control.css"; diff --git a/web/src/elements/forms/FormGroup.ts b/web/src/elements/forms/FormGroup.ts index 053565c45..0c67decec 100644 --- a/web/src/elements/forms/FormGroup.ts +++ b/web/src/elements/forms/FormGroup.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/forms/HorizontalFormElement.ts b/web/src/elements/forms/HorizontalFormElement.ts index b4140c461..d387062db 100644 --- a/web/src/elements/forms/HorizontalFormElement.ts +++ b/web/src/elements/forms/HorizontalFormElement.ts @@ -2,7 +2,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, css } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; diff --git a/web/src/elements/forms/ModalForm.ts b/web/src/elements/forms/ModalForm.ts index dad5ba833..7f3fd244e 100644 --- a/web/src/elements/forms/ModalForm.ts +++ b/web/src/elements/forms/ModalForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { EVENT_REFRESH } from "../../constants"; import "../LoadingOverlay"; diff --git a/web/src/elements/forms/ModelForm.ts b/web/src/elements/forms/ModelForm.ts index 23f513384..e9235ccfe 100644 --- a/web/src/elements/forms/ModelForm.ts +++ b/web/src/elements/forms/ModelForm.ts @@ -1,5 +1,5 @@ import { TemplateResult } from "lit"; -import { property } from "lit/decorators"; +import { property } from "lit/decorators.js"; import { EVENT_REFRESH } from "../../constants"; import { Form } from "./Form"; diff --git a/web/src/elements/forms/ProxyForm.ts b/web/src/elements/forms/ProxyForm.ts index 320055223..910e7bc89 100644 --- a/web/src/elements/forms/ProxyForm.ts +++ b/web/src/elements/forms/ProxyForm.ts @@ -1,5 +1,5 @@ import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Form } from "./Form"; diff --git a/web/src/elements/messages/Message.ts b/web/src/elements/messages/Message.ts index ab367e7ae..7811dd206 100644 --- a/web/src/elements/messages/Message.ts +++ b/web/src/elements/messages/Message.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; import PFAlertGroup from "@patternfly/patternfly/components/AlertGroup/alert-group.css"; diff --git a/web/src/elements/messages/MessageContainer.ts b/web/src/elements/messages/MessageContainer.ts index 650b4c0dc..ac516d283 100644 --- a/web/src/elements/messages/MessageContainer.ts +++ b/web/src/elements/messages/MessageContainer.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFAlertGroup from "@patternfly/patternfly/components/AlertGroup/alert-group.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/elements/notifications/APIDrawer.ts b/web/src/elements/notifications/APIDrawer.ts index b3c1f1101..4bbe047c9 100644 --- a/web/src/elements/notifications/APIDrawer.ts +++ b/web/src/elements/notifications/APIDrawer.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/notifications/NotificationDrawer.ts b/web/src/elements/notifications/NotificationDrawer.ts index 048292b99..1955a4eaf 100644 --- a/web/src/elements/notifications/NotificationDrawer.ts +++ b/web/src/elements/notifications/NotificationDrawer.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/oauth/UserCodeList.ts b/web/src/elements/oauth/UserCodeList.ts index 66e9a7593..62d3b6e3d 100644 --- a/web/src/elements/oauth/UserCodeList.ts +++ b/web/src/elements/oauth/UserCodeList.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { ExpiringBaseGrantModel, Oauth2Api } from "@goauthentik/api"; diff --git a/web/src/elements/oauth/UserRefreshList.ts b/web/src/elements/oauth/UserRefreshList.ts index 5c662c08c..279c01a55 100644 --- a/web/src/elements/oauth/UserRefreshList.ts +++ b/web/src/elements/oauth/UserRefreshList.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFFlex from "@patternfly/patternfly/layouts/Flex/flex.css"; diff --git a/web/src/elements/router/Router404.ts b/web/src/elements/router/Router404.ts index d6326ed28..0431abcf4 100644 --- a/web/src/elements/router/Router404.ts +++ b/web/src/elements/router/Router404.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFEmptyState from "@patternfly/patternfly/components/EmptyState/empty-state.css"; import PFTitle from "@patternfly/patternfly/components/Title/title.css"; diff --git a/web/src/elements/router/RouterOutlet.ts b/web/src/elements/router/RouterOutlet.ts index 7a7f5e765..6a7bc852a 100644 --- a/web/src/elements/router/RouterOutlet.ts +++ b/web/src/elements/router/RouterOutlet.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; diff --git a/web/src/elements/sidebar/Sidebar.ts b/web/src/elements/sidebar/Sidebar.ts index 091414ddf..61e91b851 100644 --- a/web/src/elements/sidebar/Sidebar.ts +++ b/web/src/elements/sidebar/Sidebar.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFNav from "@patternfly/patternfly/components/Nav/nav.css"; diff --git a/web/src/elements/sidebar/SidebarBrand.ts b/web/src/elements/sidebar/SidebarBrand.ts index a4f377b29..ca6cbaa75 100644 --- a/web/src/elements/sidebar/SidebarBrand.ts +++ b/web/src/elements/sidebar/SidebarBrand.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/sidebar/SidebarItem.ts b/web/src/elements/sidebar/SidebarItem.ts index 9805c2931..9355e11d0 100644 --- a/web/src/elements/sidebar/SidebarItem.ts +++ b/web/src/elements/sidebar/SidebarItem.ts @@ -1,7 +1,7 @@ import { CSSResult, LitElement, css } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../authentik.css"; import PFNav from "@patternfly/patternfly/components/Nav/nav.css"; diff --git a/web/src/elements/sidebar/SidebarUser.ts b/web/src/elements/sidebar/SidebarUser.ts index eae226b63..e93f91543 100644 --- a/web/src/elements/sidebar/SidebarUser.ts +++ b/web/src/elements/sidebar/SidebarUser.ts @@ -1,7 +1,7 @@ import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; import PFNav from "@patternfly/patternfly/components/Nav/nav.css"; diff --git a/web/src/elements/table/Table.ts b/web/src/elements/table/Table.ts index 53fa77b77..3ab94c6fa 100644 --- a/web/src/elements/table/Table.ts +++ b/web/src/elements/table/Table.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/table/TableModal.ts b/web/src/elements/table/TableModal.ts index 7864d08f6..83c0ca525 100644 --- a/web/src/elements/table/TableModal.ts +++ b/web/src/elements/table/TableModal.ts @@ -1,6 +1,6 @@ import { CSSResult, LitElement } from "lit"; import { TemplateResult, html } from "lit"; -import { property } from "lit/decorators"; +import { property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFBackdrop from "@patternfly/patternfly/components/Backdrop/backdrop.css"; diff --git a/web/src/elements/table/TablePage.ts b/web/src/elements/table/TablePage.ts index bb4a141aa..a52416a09 100644 --- a/web/src/elements/table/TablePage.ts +++ b/web/src/elements/table/TablePage.ts @@ -1,6 +1,6 @@ import { CSSResult } from "lit"; import { TemplateResult, html } from "lit"; -import { ifDefined } from "lit/directives/if-defined"; +import { ifDefined } from "lit/directives/if-defined.js"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFPage from "@patternfly/patternfly/components/Page/page.css"; diff --git a/web/src/elements/table/TablePagination.ts b/web/src/elements/table/TablePagination.ts index 5d11dd503..41326ed68 100644 --- a/web/src/elements/table/TablePagination.ts +++ b/web/src/elements/table/TablePagination.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/table/TableSearch.ts b/web/src/elements/table/TableSearch.ts index b7626db21..d65d1a2dd 100644 --- a/web/src/elements/table/TableSearch.ts +++ b/web/src/elements/table/TableSearch.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/elements/user/SessionList.ts b/web/src/elements/user/SessionList.ts index 70efdf1a4..bf4a41a69 100644 --- a/web/src/elements/user/SessionList.ts +++ b/web/src/elements/user/SessionList.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { AuthenticatedSession, CoreApi } from "@goauthentik/api"; diff --git a/web/src/elements/user/UserConsentList.ts b/web/src/elements/user/UserConsentList.ts index 511adc2ac..742a2719d 100644 --- a/web/src/elements/user/UserConsentList.ts +++ b/web/src/elements/user/UserConsentList.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, UserConsent } from "@goauthentik/api"; diff --git a/web/src/flows/FlowExecutor.ts b/web/src/flows/FlowExecutor.ts index 94f8a183e..13b72918a 100644 --- a/web/src/flows/FlowExecutor.ts +++ b/web/src/flows/FlowExecutor.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { unsafeHTML } from "lit/directives/unsafe-html"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { unsafeHTML } from "lit/directives/unsafe-html.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../authentik.css"; import PFBackgroundImage from "@patternfly/patternfly/components/BackgroundImage/background-image.css"; diff --git a/web/src/flows/FlowInspector.ts b/web/src/flows/FlowInspector.ts index 29b415e6b..cc57157cc 100644 --- a/web/src/flows/FlowInspector.ts +++ b/web/src/flows/FlowInspector.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../authentik.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css"; diff --git a/web/src/flows/FormStatic.ts b/web/src/flows/FormStatic.ts index 7f23a7341..70972a831 100644 --- a/web/src/flows/FormStatic.ts +++ b/web/src/flows/FormStatic.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; diff --git a/web/src/flows/access_denied/FlowAccessDenied.ts b/web/src/flows/access_denied/FlowAccessDenied.ts index 4dd55ffa5..5fe74bc36 100644 --- a/web/src/flows/access_denied/FlowAccessDenied.ts +++ b/web/src/flows/access_denied/FlowAccessDenied.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFForm from "@patternfly/patternfly/components/Form/form.css"; diff --git a/web/src/flows/sources/plex/PlexLoginInit.ts b/web/src/flows/sources/plex/PlexLoginInit.ts index c4ad53f5d..4196e67a1 100644 --- a/web/src/flows/sources/plex/PlexLoginInit.ts +++ b/web/src/flows/sources/plex/PlexLoginInit.ts @@ -2,7 +2,7 @@ import { t } from "@lingui/macro"; import { CSSResult } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/RedirectStage.ts b/web/src/flows/stages/RedirectStage.ts index 1a7725b47..eaf0b78cd 100644 --- a/web/src/flows/stages/RedirectStage.ts +++ b/web/src/flows/stages/RedirectStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_duo/AuthenticatorDuoStage.ts b/web/src/flows/stages/authenticator_duo/AuthenticatorDuoStage.ts index bb427c3a8..9f3652f1d 100644 --- a/web/src/flows/stages/authenticator_duo/AuthenticatorDuoStage.ts +++ b/web/src/flows/stages/authenticator_duo/AuthenticatorDuoStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_sms/AuthenticatorSMSStage.ts b/web/src/flows/stages/authenticator_sms/AuthenticatorSMSStage.ts index 4b0e4f29a..3a3368a2c 100644 --- a/web/src/flows/stages/authenticator_sms/AuthenticatorSMSStage.ts +++ b/web/src/flows/stages/authenticator_sms/AuthenticatorSMSStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; diff --git a/web/src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts b/web/src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts index 22d16c781..430d079a1 100644 --- a/web/src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts +++ b/web/src/flows/stages/authenticator_static/AuthenticatorStaticStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_totp/AuthenticatorTOTPStage.ts b/web/src/flows/stages/authenticator_totp/AuthenticatorTOTPStage.ts index 4a8b1fe0e..30e5c2060 100644 --- a/web/src/flows/stages/authenticator_totp/AuthenticatorTOTPStage.ts +++ b/web/src/flows/stages/authenticator_totp/AuthenticatorTOTPStage.ts @@ -3,8 +3,8 @@ import "webcomponent-qr-code"; import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStage.ts b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStage.ts index 5d4e2297f..ac2aab9ee 100644 --- a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStage.ts +++ b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, css, html } from "lit"; -import { customElement, state } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, state } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageCode.ts b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageCode.ts index 42db1d0d1..dc29dde63 100644 --- a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageCode.ts +++ b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageCode.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageDuo.ts b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageDuo.ts index abcd212d3..2f6e63b1b 100644 --- a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageDuo.ts +++ b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageDuo.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageWebAuthn.ts b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageWebAuthn.ts index 9a842fb05..6638c1b02 100644 --- a/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageWebAuthn.ts +++ b/web/src/flows/stages/authenticator_validate/AuthenticatorValidateStageWebAuthn.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage.ts b/web/src/flows/stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage.ts index 146098d5e..64d23b0ef 100644 --- a/web/src/flows/stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage.ts +++ b/web/src/flows/stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/autosubmit/AutosubmitStage.ts b/web/src/flows/stages/autosubmit/AutosubmitStage.ts index 1d52c89ba..1af16b841 100644 --- a/web/src/flows/stages/autosubmit/AutosubmitStage.ts +++ b/web/src/flows/stages/autosubmit/AutosubmitStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/base.ts b/web/src/flows/stages/base.ts index 69ca235ba..c6911298b 100644 --- a/web/src/flows/stages/base.ts +++ b/web/src/flows/stages/base.ts @@ -1,5 +1,5 @@ import { LitElement, TemplateResult, html } from "lit"; -import { property } from "lit/decorators"; +import { property } from "lit/decorators.js"; import { ErrorDetail } from "@goauthentik/api"; diff --git a/web/src/flows/stages/captcha/CaptchaStage.ts b/web/src/flows/stages/captcha/CaptchaStage.ts index 2097efc6b..14517643a 100644 --- a/web/src/flows/stages/captcha/CaptchaStage.ts +++ b/web/src/flows/stages/captcha/CaptchaStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/consent/ConsentStage.ts b/web/src/flows/stages/consent/ConsentStage.ts index 5c79ea04e..01711cde6 100644 --- a/web/src/flows/stages/consent/ConsentStage.ts +++ b/web/src/flows/stages/consent/ConsentStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/dummy/DummyStage.ts b/web/src/flows/stages/dummy/DummyStage.ts index 87a063325..8d6369dd4 100644 --- a/web/src/flows/stages/dummy/DummyStage.ts +++ b/web/src/flows/stages/dummy/DummyStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/email/EmailStage.ts b/web/src/flows/stages/email/EmailStage.ts index c749d51e0..ff70f86e5 100644 --- a/web/src/flows/stages/email/EmailStage.ts +++ b/web/src/flows/stages/email/EmailStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/identification/IdentificationStage.ts b/web/src/flows/stages/identification/IdentificationStage.ts index d94eae581..c25b54d29 100644 --- a/web/src/flows/stages/identification/IdentificationStage.ts +++ b/web/src/flows/stages/identification/IdentificationStage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; diff --git a/web/src/flows/stages/password/PasswordStage.ts b/web/src/flows/stages/password/PasswordStage.ts index 2ff8f768f..e57dd6ecf 100644 --- a/web/src/flows/stages/password/PasswordStage.ts +++ b/web/src/flows/stages/password/PasswordStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/flows/stages/prompt/PromptStage.ts b/web/src/flows/stages/prompt/PromptStage.ts index f2c0034ea..b1f19ac24 100644 --- a/web/src/flows/stages/prompt/PromptStage.ts +++ b/web/src/flows/stages/prompt/PromptStage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { unsafeHTML } from "lit/directives/unsafe-html"; +import { customElement } from "lit/decorators.js"; +import { unsafeHTML } from "lit/directives/unsafe-html.js"; import AKGlobal from "../../../authentik.css"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; diff --git a/web/src/interfaces/AdminInterface.ts b/web/src/interfaces/AdminInterface.ts index d624a15ce..50a94b19d 100644 --- a/web/src/interfaces/AdminInterface.ts +++ b/web/src/interfaces/AdminInterface.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/interfaces/UserInterface.ts b/web/src/interfaces/UserInterface.ts index e8ee7f579..d9f587732 100644 --- a/web/src/interfaces/UserInterface.ts +++ b/web/src/interfaces/UserInterface.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../authentik.css"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; diff --git a/web/src/pages/admin-overview/AdminOverviewPage.ts b/web/src/pages/admin-overview/AdminOverviewPage.ts index 9dfd88213..848c4c912 100644 --- a/web/src/pages/admin-overview/AdminOverviewPage.ts +++ b/web/src/pages/admin-overview/AdminOverviewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; diff --git a/web/src/pages/admin-overview/TopApplicationsTable.ts b/web/src/pages/admin-overview/TopApplicationsTable.ts index ee534357a..d9549d0f2 100644 --- a/web/src/pages/admin-overview/TopApplicationsTable.ts +++ b/web/src/pages/admin-overview/TopApplicationsTable.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFTable from "@patternfly/patternfly/components/Table/table.css"; diff --git a/web/src/pages/admin-overview/cards/AdminStatusCard.ts b/web/src/pages/admin-overview/cards/AdminStatusCard.ts index 6a9e972dc..1650929da 100644 --- a/web/src/pages/admin-overview/cards/AdminStatusCard.ts +++ b/web/src/pages/admin-overview/cards/AdminStatusCard.ts @@ -1,5 +1,5 @@ import { TemplateResult, html } from "lit"; -import { until } from "lit/directives/until"; +import { until } from "lit/directives/until.js"; import { EVENT_REFRESH } from "../../../constants"; import { PFSize } from "../../../elements/Spinner"; diff --git a/web/src/pages/admin-overview/cards/BackupStatusCard.ts b/web/src/pages/admin-overview/cards/BackupStatusCard.ts index 9d01ccdf0..33fc2c1ad 100644 --- a/web/src/pages/admin-overview/cards/BackupStatusCard.ts +++ b/web/src/pages/admin-overview/cards/BackupStatusCard.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { AdminApi, CapabilitiesEnum, StatusEnum } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/cards/SystemStatusCard.ts b/web/src/pages/admin-overview/cards/SystemStatusCard.ts index dad4d8cf2..9df5cdb89 100644 --- a/web/src/pages/admin-overview/cards/SystemStatusCard.ts +++ b/web/src/pages/admin-overview/cards/SystemStatusCard.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { AdminApi, System } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/cards/VersionStatusCard.ts b/web/src/pages/admin-overview/cards/VersionStatusCard.ts index 35580e452..dfb31d2fd 100644 --- a/web/src/pages/admin-overview/cards/VersionStatusCard.ts +++ b/web/src/pages/admin-overview/cards/VersionStatusCard.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { AdminApi, Version } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts index 5749c0be5..628b26a40 100644 --- a/web/src/pages/admin-overview/cards/WorkerStatusCard.ts +++ b/web/src/pages/admin-overview/cards/WorkerStatusCard.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { AdminApi } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/FlowStatusChart.ts b/web/src/pages/admin-overview/charts/FlowStatusChart.ts index f7f9e8d1f..39c758ea7 100644 --- a/web/src/pages/admin-overview/charts/FlowStatusChart.ts +++ b/web/src/pages/admin-overview/charts/FlowStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { FlowsApi } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/GroupCountStatusChart.ts b/web/src/pages/admin-overview/charts/GroupCountStatusChart.ts index 0425bb6cd..c1957b816 100644 --- a/web/src/pages/admin-overview/charts/GroupCountStatusChart.ts +++ b/web/src/pages/admin-overview/charts/GroupCountStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { CoreApi } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts b/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts index 6f13378c0..b4341a171 100644 --- a/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts +++ b/web/src/pages/admin-overview/charts/LDAPSyncStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { SourcesApi, StatusEnum } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/OutpostStatusChart.ts b/web/src/pages/admin-overview/charts/OutpostStatusChart.ts index 7b3f56a0f..8da008c20 100644 --- a/web/src/pages/admin-overview/charts/OutpostStatusChart.ts +++ b/web/src/pages/admin-overview/charts/OutpostStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { OutpostsApi } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/PolicyStatusChart.ts b/web/src/pages/admin-overview/charts/PolicyStatusChart.ts index 8cc8b3ca4..7216d260a 100644 --- a/web/src/pages/admin-overview/charts/PolicyStatusChart.ts +++ b/web/src/pages/admin-overview/charts/PolicyStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/admin-overview/charts/UserCountStatusChart.ts b/web/src/pages/admin-overview/charts/UserCountStatusChart.ts index 55be7cb25..fec18027a 100644 --- a/web/src/pages/admin-overview/charts/UserCountStatusChart.ts +++ b/web/src/pages/admin-overview/charts/UserCountStatusChart.ts @@ -2,7 +2,7 @@ import { ChartData, ChartOptions } from "chart.js"; import { t } from "@lingui/macro"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { CoreApi } from "@goauthentik/api"; diff --git a/web/src/pages/applications/ApplicationCheckAccessForm.ts b/web/src/pages/applications/ApplicationCheckAccessForm.ts index fd0cf15e9..a3b455549 100644 --- a/web/src/pages/applications/ApplicationCheckAccessForm.ts +++ b/web/src/pages/applications/ApplicationCheckAccessForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { Application, CoreApi, PolicyTestResult } from "@goauthentik/api"; diff --git a/web/src/pages/applications/ApplicationForm.ts b/web/src/pages/applications/ApplicationForm.ts index c431f6c98..ebb111464 100644 --- a/web/src/pages/applications/ApplicationForm.ts +++ b/web/src/pages/applications/ApplicationForm.ts @@ -2,9 +2,9 @@ import { t } from "@lingui/macro"; import { CSSResult } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import PFDropdown from "@patternfly/patternfly/components/Dropdown/dropdown.css"; diff --git a/web/src/pages/applications/ApplicationListPage.ts b/web/src/pages/applications/ApplicationListPage.ts index e8c15c637..8b75b1fd6 100644 --- a/web/src/pages/applications/ApplicationListPage.ts +++ b/web/src/pages/applications/ApplicationListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; diff --git a/web/src/pages/applications/ApplicationViewPage.ts b/web/src/pages/applications/ApplicationViewPage.ts index 68f164694..cbd477a59 100644 --- a/web/src/pages/applications/ApplicationViewPage.ts +++ b/web/src/pages/applications/ApplicationViewPage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/crypto/CertificateGenerateForm.ts b/web/src/pages/crypto/CertificateGenerateForm.ts index a82f00225..d72eb5cff 100644 --- a/web/src/pages/crypto/CertificateGenerateForm.ts +++ b/web/src/pages/crypto/CertificateGenerateForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { CertificateGenerationRequest, CertificateKeyPair, CryptoApi } from "@goauthentik/api"; diff --git a/web/src/pages/crypto/CertificateKeyPairForm.ts b/web/src/pages/crypto/CertificateKeyPairForm.ts index 3af32d360..69c7f7248 100644 --- a/web/src/pages/crypto/CertificateKeyPairForm.ts +++ b/web/src/pages/crypto/CertificateKeyPairForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { CertificateKeyPair, CertificateKeyPairRequest, CryptoApi } from "@goauthentik/api"; diff --git a/web/src/pages/crypto/CertificateKeyPairListPage.ts b/web/src/pages/crypto/CertificateKeyPairListPage.ts index a645ffe9a..74c3ac56b 100644 --- a/web/src/pages/crypto/CertificateKeyPairListPage.ts +++ b/web/src/pages/crypto/CertificateKeyPairListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/events/EventInfo.ts b/web/src/pages/events/EventInfo.ts index d73e849d2..7efa6fd49 100644 --- a/web/src/pages/events/EventInfo.ts +++ b/web/src/pages/events/EventInfo.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/events/EventInfoPage.ts b/web/src/pages/events/EventInfoPage.ts index 244b20be9..3793bceae 100644 --- a/web/src/pages/events/EventInfoPage.ts +++ b/web/src/pages/events/EventInfoPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css"; diff --git a/web/src/pages/events/EventListPage.ts b/web/src/pages/events/EventListPage.ts index 4ae45bc15..9aaa92e57 100644 --- a/web/src/pages/events/EventListPage.ts +++ b/web/src/pages/events/EventListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Event, EventsApi } from "@goauthentik/api"; diff --git a/web/src/pages/events/RuleForm.ts b/web/src/pages/events/RuleForm.ts index c64894255..a9ab3eb76 100644 --- a/web/src/pages/events/RuleForm.ts +++ b/web/src/pages/events/RuleForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, EventsApi, NotificationRule, SeverityEnum } from "@goauthentik/api"; diff --git a/web/src/pages/events/RuleListPage.ts b/web/src/pages/events/RuleListPage.ts index 06c2626bc..0422fcaa6 100644 --- a/web/src/pages/events/RuleListPage.ts +++ b/web/src/pages/events/RuleListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { EventsApi, NotificationRule } from "@goauthentik/api"; diff --git a/web/src/pages/events/TransportForm.ts b/web/src/pages/events/TransportForm.ts index 520c9d543..4cf6a5214 100644 --- a/web/src/pages/events/TransportForm.ts +++ b/web/src/pages/events/TransportForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { EventsApi, diff --git a/web/src/pages/events/TransportListPage.ts b/web/src/pages/events/TransportListPage.ts index 59f68fcab..f735793de 100644 --- a/web/src/pages/events/TransportListPage.ts +++ b/web/src/pages/events/TransportListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { EventsApi, NotificationTransport } from "@goauthentik/api"; diff --git a/web/src/pages/flows/BoundStagesList.ts b/web/src/pages/flows/BoundStagesList.ts index 41c47058b..32f978fee 100644 --- a/web/src/pages/flows/BoundStagesList.ts +++ b/web/src/pages/flows/BoundStagesList.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { FlowStageBinding, FlowsApi, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/flows/FlowDiagram.ts b/web/src/pages/flows/FlowDiagram.ts index b9f40db43..113e771bd 100644 --- a/web/src/pages/flows/FlowDiagram.ts +++ b/web/src/pages/flows/FlowDiagram.ts @@ -1,7 +1,7 @@ import FlowChart from "flowchart.js"; import { LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { FlowsApi } from "@goauthentik/api"; diff --git a/web/src/pages/flows/FlowForm.ts b/web/src/pages/flows/FlowForm.ts index 9e19ffa26..e033f4344 100644 --- a/web/src/pages/flows/FlowForm.ts +++ b/web/src/pages/flows/FlowForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CapabilitiesEnum, diff --git a/web/src/pages/flows/FlowImportForm.ts b/web/src/pages/flows/FlowImportForm.ts index e6389d14e..da4f36fd0 100644 --- a/web/src/pages/flows/FlowImportForm.ts +++ b/web/src/pages/flows/FlowImportForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { Flow, FlowsApi } from "@goauthentik/api"; diff --git a/web/src/pages/flows/FlowListPage.ts b/web/src/pages/flows/FlowListPage.ts index 96327b463..41ddc28e6 100644 --- a/web/src/pages/flows/FlowListPage.ts +++ b/web/src/pages/flows/FlowListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Flow, FlowsApi } from "@goauthentik/api"; diff --git a/web/src/pages/flows/FlowViewPage.ts b/web/src/pages/flows/FlowViewPage.ts index 39b95afe8..d433534c4 100644 --- a/web/src/pages/flows/FlowViewPage.ts +++ b/web/src/pages/flows/FlowViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/flows/StageBindingForm.ts b/web/src/pages/flows/StageBindingForm.ts index 1b151d507..7454849a9 100644 --- a/web/src/pages/flows/StageBindingForm.ts +++ b/web/src/pages/flows/StageBindingForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { FlowStageBinding, diff --git a/web/src/pages/groups/GroupForm.ts b/web/src/pages/groups/GroupForm.ts index 5545a0585..743896cd9 100644 --- a/web/src/pages/groups/GroupForm.ts +++ b/web/src/pages/groups/GroupForm.ts @@ -3,9 +3,9 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, Group, User } from "@goauthentik/api"; diff --git a/web/src/pages/groups/GroupListPage.ts b/web/src/pages/groups/GroupListPage.ts index 07cec6fcb..f70997065 100644 --- a/web/src/pages/groups/GroupListPage.ts +++ b/web/src/pages/groups/GroupListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, Group } from "@goauthentik/api"; diff --git a/web/src/pages/groups/MemberSelectModal.ts b/web/src/pages/groups/MemberSelectModal.ts index a87e495a0..cb5edff03 100644 --- a/web/src/pages/groups/MemberSelectModal.ts +++ b/web/src/pages/groups/MemberSelectModal.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, User } from "@goauthentik/api"; diff --git a/web/src/pages/outposts/OutpostDeploymentModal.ts b/web/src/pages/outposts/OutpostDeploymentModal.ts index 491e55ccc..8242444fb 100644 --- a/web/src/pages/outposts/OutpostDeploymentModal.ts +++ b/web/src/pages/outposts/OutpostDeploymentModal.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { Outpost, OutpostTypeEnum } from "@goauthentik/api"; diff --git a/web/src/pages/outposts/OutpostForm.ts b/web/src/pages/outposts/OutpostForm.ts index 8b9ce5567..23a3695af 100644 --- a/web/src/pages/outposts/OutpostForm.ts +++ b/web/src/pages/outposts/OutpostForm.ts @@ -3,9 +3,9 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { Outpost, OutpostTypeEnum, OutpostsApi, ProvidersApi } from "@goauthentik/api"; diff --git a/web/src/pages/outposts/OutpostHealth.ts b/web/src/pages/outposts/OutpostHealth.ts index 79cffd74b..476a7c74b 100644 --- a/web/src/pages/outposts/OutpostHealth.ts +++ b/web/src/pages/outposts/OutpostHealth.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/pages/outposts/OutpostHealthSimple.ts b/web/src/pages/outposts/OutpostHealthSimple.ts index 77b50ae41..6131df78f 100644 --- a/web/src/pages/outposts/OutpostHealthSimple.ts +++ b/web/src/pages/outposts/OutpostHealthSimple.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/pages/outposts/OutpostListPage.ts b/web/src/pages/outposts/OutpostListPage.ts index ef054af64..379a58bcf 100644 --- a/web/src/pages/outposts/OutpostListPage.ts +++ b/web/src/pages/outposts/OutpostListPage.ts @@ -2,9 +2,9 @@ import { t } from "@lingui/macro"; import { CSSResult } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/outposts/ServiceConnectionDockerForm.ts b/web/src/pages/outposts/ServiceConnectionDockerForm.ts index a8b344e0b..7f6c5b450 100644 --- a/web/src/pages/outposts/ServiceConnectionDockerForm.ts +++ b/web/src/pages/outposts/ServiceConnectionDockerForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CryptoApi, DockerServiceConnection, OutpostsApi } from "@goauthentik/api"; diff --git a/web/src/pages/outposts/ServiceConnectionKubernetesForm.ts b/web/src/pages/outposts/ServiceConnectionKubernetesForm.ts index 1e776fbe7..4857e03cd 100644 --- a/web/src/pages/outposts/ServiceConnectionKubernetesForm.ts +++ b/web/src/pages/outposts/ServiceConnectionKubernetesForm.ts @@ -3,8 +3,8 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { KubernetesServiceConnection, OutpostsApi } from "@goauthentik/api"; diff --git a/web/src/pages/outposts/ServiceConnectionListPage.ts b/web/src/pages/outposts/ServiceConnectionListPage.ts index 4c7d18342..ba35eec8b 100644 --- a/web/src/pages/outposts/ServiceConnectionListPage.ts +++ b/web/src/pages/outposts/ServiceConnectionListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { OutpostsApi, ServiceConnection } from "@goauthentik/api"; diff --git a/web/src/pages/policies/BoundPoliciesList.ts b/web/src/pages/policies/BoundPoliciesList.ts index 5808ad2d6..71a616597 100644 --- a/web/src/pages/policies/BoundPoliciesList.ts +++ b/web/src/pages/policies/BoundPoliciesList.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { PoliciesApi, PolicyBinding } from "@goauthentik/api"; diff --git a/web/src/pages/policies/PolicyBindingForm.ts b/web/src/pages/policies/PolicyBindingForm.ts index dfd0828a5..3c69abee6 100644 --- a/web/src/pages/policies/PolicyBindingForm.ts +++ b/web/src/pages/policies/PolicyBindingForm.ts @@ -2,9 +2,9 @@ import { t } from "@lingui/macro"; import { CSSResult, css } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFToggleGroup from "@patternfly/patternfly/components/ToggleGroup/toggle-group.css"; diff --git a/web/src/pages/policies/PolicyListPage.ts b/web/src/pages/policies/PolicyListPage.ts index 2ff2323e1..1b8aee48a 100644 --- a/web/src/pages/policies/PolicyListPage.ts +++ b/web/src/pages/policies/PolicyListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { PoliciesApi, Policy } from "@goauthentik/api"; diff --git a/web/src/pages/policies/PolicyTestForm.ts b/web/src/pages/policies/PolicyTestForm.ts index 68d4feabc..fa58b594f 100644 --- a/web/src/pages/policies/PolicyTestForm.ts +++ b/web/src/pages/policies/PolicyTestForm.ts @@ -3,8 +3,8 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, diff --git a/web/src/pages/policies/dummy/DummyPolicyForm.ts b/web/src/pages/policies/dummy/DummyPolicyForm.ts index 4491d59fe..c87c32803 100644 --- a/web/src/pages/policies/dummy/DummyPolicyForm.ts +++ b/web/src/pages/policies/dummy/DummyPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { DummyPolicy, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/event_matcher/EventMatcherPolicyForm.ts b/web/src/pages/policies/event_matcher/EventMatcherPolicyForm.ts index 782fe6a11..b1a13d9bb 100644 --- a/web/src/pages/policies/event_matcher/EventMatcherPolicyForm.ts +++ b/web/src/pages/policies/event_matcher/EventMatcherPolicyForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AdminApi, EventMatcherPolicy, EventsApi, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/expiry/ExpiryPolicyForm.ts b/web/src/pages/policies/expiry/ExpiryPolicyForm.ts index c54272e99..c67693e2b 100644 --- a/web/src/pages/policies/expiry/ExpiryPolicyForm.ts +++ b/web/src/pages/policies/expiry/ExpiryPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { PasswordExpiryPolicy, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/expression/ExpressionPolicyForm.ts b/web/src/pages/policies/expression/ExpressionPolicyForm.ts index 85c001cb4..cd63cce2b 100644 --- a/web/src/pages/policies/expression/ExpressionPolicyForm.ts +++ b/web/src/pages/policies/expression/ExpressionPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { ExpressionPolicy, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/hibp/HaveIBeenPwnedPolicyForm.ts b/web/src/pages/policies/hibp/HaveIBeenPwnedPolicyForm.ts index d12009712..4e6d102a0 100644 --- a/web/src/pages/policies/hibp/HaveIBeenPwnedPolicyForm.ts +++ b/web/src/pages/policies/hibp/HaveIBeenPwnedPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { HaveIBeenPwendPolicy, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/password/PasswordPolicyForm.ts b/web/src/pages/policies/password/PasswordPolicyForm.ts index b261e2ea5..2c97e4b9c 100644 --- a/web/src/pages/policies/password/PasswordPolicyForm.ts +++ b/web/src/pages/policies/password/PasswordPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { PasswordPolicy, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/reputation/IPReputationListPage.ts b/web/src/pages/policies/reputation/IPReputationListPage.ts index ce1d4a4f8..ec85cbb0f 100644 --- a/web/src/pages/policies/reputation/IPReputationListPage.ts +++ b/web/src/pages/policies/reputation/IPReputationListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { IPReputation, PoliciesApi } from "@goauthentik/api"; diff --git a/web/src/pages/policies/reputation/ReputationPolicyForm.ts b/web/src/pages/policies/reputation/ReputationPolicyForm.ts index d758282c1..e48904039 100644 --- a/web/src/pages/policies/reputation/ReputationPolicyForm.ts +++ b/web/src/pages/policies/reputation/ReputationPolicyForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { PoliciesApi, ReputationPolicy } from "@goauthentik/api"; diff --git a/web/src/pages/policies/reputation/UserReputationListPage.ts b/web/src/pages/policies/reputation/UserReputationListPage.ts index 8590ca3ac..242b9160c 100644 --- a/web/src/pages/policies/reputation/UserReputationListPage.ts +++ b/web/src/pages/policies/reputation/UserReputationListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { PoliciesApi, UserReputation } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingLDAPForm.ts b/web/src/pages/property-mappings/PropertyMappingLDAPForm.ts index f7d63e9d6..9230c976d 100644 --- a/web/src/pages/property-mappings/PropertyMappingLDAPForm.ts +++ b/web/src/pages/property-mappings/PropertyMappingLDAPForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { LDAPPropertyMapping, PropertymappingsApi } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingListPage.ts b/web/src/pages/property-mappings/PropertyMappingListPage.ts index feea75c44..69a5dd026 100644 --- a/web/src/pages/property-mappings/PropertyMappingListPage.ts +++ b/web/src/pages/property-mappings/PropertyMappingListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { PropertyMapping, PropertymappingsApi } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingNotification.ts b/web/src/pages/property-mappings/PropertyMappingNotification.ts index 2bdd60941..dfca81b6a 100644 --- a/web/src/pages/property-mappings/PropertyMappingNotification.ts +++ b/web/src/pages/property-mappings/PropertyMappingNotification.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { NotificationWebhookMapping, PropertymappingsApi } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingSAMLForm.ts b/web/src/pages/property-mappings/PropertyMappingSAMLForm.ts index b128ce258..f887d80d5 100644 --- a/web/src/pages/property-mappings/PropertyMappingSAMLForm.ts +++ b/web/src/pages/property-mappings/PropertyMappingSAMLForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { PropertymappingsApi, SAMLPropertyMapping } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingScopeForm.ts b/web/src/pages/property-mappings/PropertyMappingScopeForm.ts index a2e512a69..fb4717a68 100644 --- a/web/src/pages/property-mappings/PropertyMappingScopeForm.ts +++ b/web/src/pages/property-mappings/PropertyMappingScopeForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { PropertymappingsApi, ScopeMapping } from "@goauthentik/api"; diff --git a/web/src/pages/property-mappings/PropertyMappingTestForm.ts b/web/src/pages/property-mappings/PropertyMappingTestForm.ts index 3e68a69f4..4924242c5 100644 --- a/web/src/pages/property-mappings/PropertyMappingTestForm.ts +++ b/web/src/pages/property-mappings/PropertyMappingTestForm.ts @@ -3,9 +3,9 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, diff --git a/web/src/pages/providers/ProviderListPage.ts b/web/src/pages/providers/ProviderListPage.ts index 53b1d5456..af399d100 100644 --- a/web/src/pages/providers/ProviderListPage.ts +++ b/web/src/pages/providers/ProviderListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { Provider, ProvidersApi } from "@goauthentik/api"; diff --git a/web/src/pages/providers/ProviderViewPage.ts b/web/src/pages/providers/ProviderViewPage.ts index 33d783ff0..dc34c1814 100644 --- a/web/src/pages/providers/ProviderViewPage.ts +++ b/web/src/pages/providers/ProviderViewPage.ts @@ -1,6 +1,6 @@ import { LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { Provider, ProvidersApi } from "@goauthentik/api"; diff --git a/web/src/pages/providers/RelatedApplicationButton.ts b/web/src/pages/providers/RelatedApplicationButton.ts index e08bbe4bc..22b5f052b 100644 --- a/web/src/pages/providers/RelatedApplicationButton.ts +++ b/web/src/pages/providers/RelatedApplicationButton.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; import PFBase from "@patternfly/patternfly/patternfly-base.css"; diff --git a/web/src/pages/providers/ldap/LDAPProviderForm.ts b/web/src/pages/providers/ldap/LDAPProviderForm.ts index 2c45a1de8..2c18fa905 100644 --- a/web/src/pages/providers/ldap/LDAPProviderForm.ts +++ b/web/src/pages/providers/ldap/LDAPProviderForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, diff --git a/web/src/pages/providers/ldap/LDAPProviderViewPage.ts b/web/src/pages/providers/ldap/LDAPProviderViewPage.ts index ebd1ce377..7c696a922 100644 --- a/web/src/pages/providers/ldap/LDAPProviderViewPage.ts +++ b/web/src/pages/providers/ldap/LDAPProviderViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts b/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts index c62d9b5ca..871494de8 100644 --- a/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts +++ b/web/src/pages/providers/oauth2/OAuth2ProviderForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { ClientTypeEnum, diff --git a/web/src/pages/providers/oauth2/OAuth2ProviderViewPage.ts b/web/src/pages/providers/oauth2/OAuth2ProviderViewPage.ts index 76e585d74..afd2bdc14 100644 --- a/web/src/pages/providers/oauth2/OAuth2ProviderViewPage.ts +++ b/web/src/pages/providers/oauth2/OAuth2ProviderViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/providers/proxy/ProxyProviderForm.ts b/web/src/pages/providers/proxy/ProxyProviderForm.ts index 3cc5bfc77..f42a7636a 100644 --- a/web/src/pages/providers/proxy/ProxyProviderForm.ts +++ b/web/src/pages/providers/proxy/ProxyProviderForm.ts @@ -2,9 +2,9 @@ import { t } from "@lingui/macro"; import { CSSResult, css } from "lit"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; import PFToggleGroup from "@patternfly/patternfly/components/ToggleGroup/toggle-group.css"; diff --git a/web/src/pages/providers/proxy/ProxyProviderViewPage.ts b/web/src/pages/providers/proxy/ProxyProviderViewPage.ts index 1dd645fc5..c1d80e0a8 100644 --- a/web/src/pages/providers/proxy/ProxyProviderViewPage.ts +++ b/web/src/pages/providers/proxy/ProxyProviderViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/providers/saml/SAMLProviderForm.ts b/web/src/pages/providers/saml/SAMLProviderForm.ts index 61009d9f0..02671b549 100644 --- a/web/src/pages/providers/saml/SAMLProviderForm.ts +++ b/web/src/pages/providers/saml/SAMLProviderForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CryptoApi, diff --git a/web/src/pages/providers/saml/SAMLProviderImportForm.ts b/web/src/pages/providers/saml/SAMLProviderImportForm.ts index 9caca07fc..9a1175215 100644 --- a/web/src/pages/providers/saml/SAMLProviderImportForm.ts +++ b/web/src/pages/providers/saml/SAMLProviderImportForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { FlowsApi, diff --git a/web/src/pages/providers/saml/SAMLProviderViewPage.ts b/web/src/pages/providers/saml/SAMLProviderViewPage.ts index c735af98d..c8fdfe1c4 100644 --- a/web/src/pages/providers/saml/SAMLProviderViewPage.ts +++ b/web/src/pages/providers/saml/SAMLProviderViewPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/sources/SourceViewPage.ts b/web/src/pages/sources/SourceViewPage.ts index 33f446beb..262b878a1 100644 --- a/web/src/pages/sources/SourceViewPage.ts +++ b/web/src/pages/sources/SourceViewPage.ts @@ -1,6 +1,6 @@ import { LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { Source, SourcesApi } from "@goauthentik/api"; diff --git a/web/src/pages/sources/SourcesListPage.ts b/web/src/pages/sources/SourcesListPage.ts index 45ddf1549..0763a27f7 100644 --- a/web/src/pages/sources/SourcesListPage.ts +++ b/web/src/pages/sources/SourcesListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { Source, SourcesApi } from "@goauthentik/api"; diff --git a/web/src/pages/sources/ldap/LDAPSourceForm.ts b/web/src/pages/sources/ldap/LDAPSourceForm.ts index 4319a4e87..3eccb6051 100644 --- a/web/src/pages/sources/ldap/LDAPSourceForm.ts +++ b/web/src/pages/sources/ldap/LDAPSourceForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, diff --git a/web/src/pages/sources/ldap/LDAPSourceViewPage.ts b/web/src/pages/sources/ldap/LDAPSourceViewPage.ts index 1c6243cd0..595627c5e 100644 --- a/web/src/pages/sources/ldap/LDAPSourceViewPage.ts +++ b/web/src/pages/sources/ldap/LDAPSourceViewPage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/sources/oauth/OAuthSourceForm.ts b/web/src/pages/sources/oauth/OAuthSourceForm.ts index 1e3a69b21..861aa880d 100644 --- a/web/src/pages/sources/oauth/OAuthSourceForm.ts +++ b/web/src/pages/sources/oauth/OAuthSourceForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { FlowsApi, diff --git a/web/src/pages/sources/oauth/OAuthSourceViewPage.ts b/web/src/pages/sources/oauth/OAuthSourceViewPage.ts index 060596567..cfce87229 100644 --- a/web/src/pages/sources/oauth/OAuthSourceViewPage.ts +++ b/web/src/pages/sources/oauth/OAuthSourceViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/sources/plex/PlexSourceForm.ts b/web/src/pages/sources/plex/PlexSourceForm.ts index 08f7eaea0..99b520ec0 100644 --- a/web/src/pages/sources/plex/PlexSourceForm.ts +++ b/web/src/pages/sources/plex/PlexSourceForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { FlowsApi, diff --git a/web/src/pages/sources/plex/PlexSourceViewPage.ts b/web/src/pages/sources/plex/PlexSourceViewPage.ts index 8e68c251f..081b1c0b8 100644 --- a/web/src/pages/sources/plex/PlexSourceViewPage.ts +++ b/web/src/pages/sources/plex/PlexSourceViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/sources/saml/SAMLSourceForm.ts b/web/src/pages/sources/saml/SAMLSourceForm.ts index 8646515fa..cd88afd96 100644 --- a/web/src/pages/sources/saml/SAMLSourceForm.ts +++ b/web/src/pages/sources/saml/SAMLSourceForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { BindingTypeEnum, diff --git a/web/src/pages/sources/saml/SAMLSourceViewPage.ts b/web/src/pages/sources/saml/SAMLSourceViewPage.ts index a6ba5738f..8c19b75f7 100644 --- a/web/src/pages/sources/saml/SAMLSourceViewPage.ts +++ b/web/src/pages/sources/saml/SAMLSourceViewPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/pages/stages/StageListPage.ts b/web/src/pages/stages/StageListPage.ts index f3d325ffd..7ebe27a6e 100644 --- a/web/src/pages/stages/StageListPage.ts +++ b/web/src/pages/stages/StageListPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { Stage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/authenticator_duo/AuthenticatorDuoStageForm.ts b/web/src/pages/stages/authenticator_duo/AuthenticatorDuoStageForm.ts index 851f62458..473e2d210 100644 --- a/web/src/pages/stages/authenticator_duo/AuthenticatorDuoStageForm.ts +++ b/web/src/pages/stages/authenticator_duo/AuthenticatorDuoStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthenticatorDuoStage, diff --git a/web/src/pages/stages/authenticator_sms/AuthenticatorSMSStageForm.ts b/web/src/pages/stages/authenticator_sms/AuthenticatorSMSStageForm.ts index f7b6b6167..eaf8f9585 100644 --- a/web/src/pages/stages/authenticator_sms/AuthenticatorSMSStageForm.ts +++ b/web/src/pages/stages/authenticator_sms/AuthenticatorSMSStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthTypeEnum, diff --git a/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts b/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts index 563e24b76..ec91ea7dd 100644 --- a/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts +++ b/web/src/pages/stages/authenticator_static/AuthenticatorStaticStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthenticatorStaticStage, diff --git a/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts b/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts index b59d5762e..2e9c54eab 100644 --- a/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts +++ b/web/src/pages/stages/authenticator_totp/AuthenticatorTOTPStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthenticatorTOTPStage, diff --git a/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts b/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts index a5d92d7f5..517c89c51 100644 --- a/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts +++ b/web/src/pages/stages/authenticator_validate/AuthenticatorValidateStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthenticatorValidateStage, diff --git a/web/src/pages/stages/authenticator_webauthn/AuthenticateWebAuthnStageForm.ts b/web/src/pages/stages/authenticator_webauthn/AuthenticateWebAuthnStageForm.ts index 43391f3d4..96e52921f 100644 --- a/web/src/pages/stages/authenticator_webauthn/AuthenticateWebAuthnStageForm.ts +++ b/web/src/pages/stages/authenticator_webauthn/AuthenticateWebAuthnStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { AuthenticateWebAuthnStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/captcha/CaptchaStageForm.ts b/web/src/pages/stages/captcha/CaptchaStageForm.ts index 576f2792d..d2b7651ee 100644 --- a/web/src/pages/stages/captcha/CaptchaStageForm.ts +++ b/web/src/pages/stages/captcha/CaptchaStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { CaptchaStage, CaptchaStageRequest, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/consent/ConsentStageForm.ts b/web/src/pages/stages/consent/ConsentStageForm.ts index 1931ddb34..9f82d44bd 100644 --- a/web/src/pages/stages/consent/ConsentStageForm.ts +++ b/web/src/pages/stages/consent/ConsentStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { ConsentStage, ConsentStageModeEnum, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/deny/DenyStageForm.ts b/web/src/pages/stages/deny/DenyStageForm.ts index 2a6f68edb..ca151d547 100644 --- a/web/src/pages/stages/deny/DenyStageForm.ts +++ b/web/src/pages/stages/deny/DenyStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { DenyStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/dummy/DummyStageForm.ts b/web/src/pages/stages/dummy/DummyStageForm.ts index 69789aa76..f5f4aecb5 100644 --- a/web/src/pages/stages/dummy/DummyStageForm.ts +++ b/web/src/pages/stages/dummy/DummyStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { DummyStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/email/EmailStageForm.ts b/web/src/pages/stages/email/EmailStageForm.ts index b6f9364c9..0541d92c6 100644 --- a/web/src/pages/stages/email/EmailStageForm.ts +++ b/web/src/pages/stages/email/EmailStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { EmailStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/identification/IdentificationStageForm.ts b/web/src/pages/stages/identification/IdentificationStageForm.ts index 30dd93e50..b9bbe246d 100644 --- a/web/src/pages/stages/identification/IdentificationStageForm.ts +++ b/web/src/pages/stages/identification/IdentificationStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { FlowsApi, diff --git a/web/src/pages/stages/invitation/InvitationForm.ts b/web/src/pages/stages/invitation/InvitationForm.ts index c0642f750..e4f73c7b7 100644 --- a/web/src/pages/stages/invitation/InvitationForm.ts +++ b/web/src/pages/stages/invitation/InvitationForm.ts @@ -3,7 +3,7 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { Invitation, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/invitation/InvitationListLink.ts b/web/src/pages/stages/invitation/InvitationListLink.ts index a4d674e33..7b7d9cc8c 100644 --- a/web/src/pages/stages/invitation/InvitationListLink.ts +++ b/web/src/pages/stages/invitation/InvitationListLink.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../../authentik.css"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/stages/invitation/InvitationListPage.ts b/web/src/pages/stages/invitation/InvitationListPage.ts index 3719aa63c..6f8202328 100644 --- a/web/src/pages/stages/invitation/InvitationListPage.ts +++ b/web/src/pages/stages/invitation/InvitationListPage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property, state } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property, state } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import PFBanner from "@patternfly/patternfly/components/Banner/banner.css"; diff --git a/web/src/pages/stages/invitation/InvitationStageForm.ts b/web/src/pages/stages/invitation/InvitationStageForm.ts index d12a33d99..f20b118ae 100644 --- a/web/src/pages/stages/invitation/InvitationStageForm.ts +++ b/web/src/pages/stages/invitation/InvitationStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { InvitationStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/password/PasswordStageForm.ts b/web/src/pages/stages/password/PasswordStageForm.ts index fb83e2faf..5c78869ec 100644 --- a/web/src/pages/stages/password/PasswordStageForm.ts +++ b/web/src/pages/stages/password/PasswordStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { BackendsEnum, diff --git a/web/src/pages/stages/prompt/PromptForm.ts b/web/src/pages/stages/prompt/PromptForm.ts index bf96a88ea..9972d0c9a 100644 --- a/web/src/pages/stages/prompt/PromptForm.ts +++ b/web/src/pages/stages/prompt/PromptForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { Prompt, PromptTypeEnum, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/prompt/PromptListPage.ts b/web/src/pages/stages/prompt/PromptListPage.ts index 9ca94c335..dfa4d652e 100644 --- a/web/src/pages/stages/prompt/PromptListPage.ts +++ b/web/src/pages/stages/prompt/PromptListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { Prompt, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/prompt/PromptStageForm.ts b/web/src/pages/stages/prompt/PromptStageForm.ts index 32d3c8562..1203a7b5c 100644 --- a/web/src/pages/stages/prompt/PromptStageForm.ts +++ b/web/src/pages/stages/prompt/PromptStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { PoliciesApi, PromptStage, StagesApi } from "@goauthentik/api"; diff --git a/web/src/pages/stages/user_delete/UserDeleteStageForm.ts b/web/src/pages/stages/user_delete/UserDeleteStageForm.ts index efedc6179..b947c8b11 100644 --- a/web/src/pages/stages/user_delete/UserDeleteStageForm.ts +++ b/web/src/pages/stages/user_delete/UserDeleteStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { StagesApi, UserDeleteStage } from "@goauthentik/api"; diff --git a/web/src/pages/stages/user_login/UserLoginStageForm.ts b/web/src/pages/stages/user_login/UserLoginStageForm.ts index f8c999a0c..73c92a773 100644 --- a/web/src/pages/stages/user_login/UserLoginStageForm.ts +++ b/web/src/pages/stages/user_login/UserLoginStageForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import { StagesApi, UserLoginStage } from "@goauthentik/api"; diff --git a/web/src/pages/stages/user_logout/UserLogoutStageForm.ts b/web/src/pages/stages/user_logout/UserLogoutStageForm.ts index 00c4827fb..34305b92e 100644 --- a/web/src/pages/stages/user_logout/UserLogoutStageForm.ts +++ b/web/src/pages/stages/user_logout/UserLogoutStageForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { StagesApi, UserLogoutStage } from "@goauthentik/api"; diff --git a/web/src/pages/stages/user_write/UserWriteStageForm.ts b/web/src/pages/stages/user_write/UserWriteStageForm.ts index fda6ed060..065ffd843 100644 --- a/web/src/pages/stages/user_write/UserWriteStageForm.ts +++ b/web/src/pages/stages/user_write/UserWriteStageForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, StagesApi, UserWriteStage } from "@goauthentik/api"; diff --git a/web/src/pages/system-tasks/SystemTaskListPage.ts b/web/src/pages/system-tasks/SystemTaskListPage.ts index fdbde2204..ce28367d7 100644 --- a/web/src/pages/system-tasks/SystemTaskListPage.ts +++ b/web/src/pages/system-tasks/SystemTaskListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/tenants/TenantForm.ts b/web/src/pages/tenants/TenantForm.ts index 71e79c674..42bf8c573 100644 --- a/web/src/pages/tenants/TenantForm.ts +++ b/web/src/pages/tenants/TenantForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, FlowsApi, FlowsInstancesListDesignationEnum, Tenant } from "@goauthentik/api"; diff --git a/web/src/pages/tenants/TenantListPage.ts b/web/src/pages/tenants/TenantListPage.ts index 281bf3c7b..bc23b28ec 100644 --- a/web/src/pages/tenants/TenantListPage.ts +++ b/web/src/pages/tenants/TenantListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, Tenant } from "@goauthentik/api"; diff --git a/web/src/pages/tokens/TokenForm.ts b/web/src/pages/tokens/TokenForm.ts index c0b96297b..43f7db444 100644 --- a/web/src/pages/tokens/TokenForm.ts +++ b/web/src/pages/tokens/TokenForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, IntentEnum, Token } from "@goauthentik/api"; diff --git a/web/src/pages/tokens/TokenListPage.ts b/web/src/pages/tokens/TokenListPage.ts index a4709ab16..60efeb6b2 100644 --- a/web/src/pages/tokens/TokenListPage.ts +++ b/web/src/pages/tokens/TokenListPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, IntentEnum, Token } from "@goauthentik/api"; diff --git a/web/src/pages/users/GroupSelectModal.ts b/web/src/pages/users/GroupSelectModal.ts index 5eb2bb321..e7e0127a9 100644 --- a/web/src/pages/users/GroupSelectModal.ts +++ b/web/src/pages/users/GroupSelectModal.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import { CoreApi, Group } from "@goauthentik/api"; diff --git a/web/src/pages/users/ServiceAccountForm.ts b/web/src/pages/users/ServiceAccountForm.ts index 6893c9540..3a39ac657 100644 --- a/web/src/pages/users/ServiceAccountForm.ts +++ b/web/src/pages/users/ServiceAccountForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { CoreApi, UserServiceAccountRequest, UserServiceAccountResponse } from "@goauthentik/api"; diff --git a/web/src/pages/users/UserActiveForm.ts b/web/src/pages/users/UserActiveForm.ts index 6ba1c4314..1134022c0 100644 --- a/web/src/pages/users/UserActiveForm.ts +++ b/web/src/pages/users/UserActiveForm.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; +import { customElement } from "lit/decorators.js"; import "../../elements/buttons/SpinnerButton"; import { DeleteForm } from "../../elements/forms/DeleteForm"; diff --git a/web/src/pages/users/UserForm.ts b/web/src/pages/users/UserForm.ts index ff3ab3700..5aefdcd79 100644 --- a/web/src/pages/users/UserForm.ts +++ b/web/src/pages/users/UserForm.ts @@ -3,9 +3,9 @@ import YAML from "yaml"; import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, Group, User } from "@goauthentik/api"; diff --git a/web/src/pages/users/UserListPage.ts b/web/src/pages/users/UserListPage.ts index 3214fd171..7ecc85be3 100644 --- a/web/src/pages/users/UserListPage.ts +++ b/web/src/pages/users/UserListPage.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css"; diff --git a/web/src/pages/users/UserResetEmailForm.ts b/web/src/pages/users/UserResetEmailForm.ts index b991ccd89..02633459e 100644 --- a/web/src/pages/users/UserResetEmailForm.ts +++ b/web/src/pages/users/UserResetEmailForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, CoreUsersRecoveryEmailRetrieveRequest, StagesApi, User } from "@goauthentik/api"; diff --git a/web/src/pages/users/UserViewPage.ts b/web/src/pages/users/UserViewPage.ts index 761e0b3ed..71a68e97c 100644 --- a/web/src/pages/users/UserViewPage.ts +++ b/web/src/pages/users/UserViewPage.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/user/LibraryApplication.ts b/web/src/user/LibraryApplication.ts index 4465dbdf5..989c10761 100644 --- a/web/src/user/LibraryApplication.ts +++ b/web/src/user/LibraryApplication.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../authentik.css"; import PFAvatar from "@patternfly/patternfly/components/Avatar/avatar.css"; diff --git a/web/src/user/LibraryPage.ts b/web/src/user/LibraryPage.ts index c809b471c..82a35ceef 100644 --- a/web/src/user/LibraryPage.ts +++ b/web/src/user/LibraryPage.ts @@ -3,8 +3,8 @@ import Fuse from "fuse.js"; import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, css, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../authentik.css"; import PFContent from "@patternfly/patternfly/components/Content/content.css"; diff --git a/web/src/user/user-settings/BaseUserSettings.ts b/web/src/user/user-settings/BaseUserSettings.ts index c63e8e106..8ef00ab78 100644 --- a/web/src/user/user-settings/BaseUserSettings.ts +++ b/web/src/user/user-settings/BaseUserSettings.ts @@ -1,5 +1,5 @@ import { CSSResult, LitElement } from "lit"; -import { property } from "lit/decorators"; +import { property } from "lit/decorators.js"; import AKGlobal from "../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/user/user-settings/UserSettingsPage.ts b/web/src/user/user-settings/UserSettingsPage.ts index 3b9ba7b35..d9bf9af74 100644 --- a/web/src/user/user-settings/UserSettingsPage.ts +++ b/web/src/user/user-settings/UserSettingsPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, state } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, state } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import AKGlobal from "../../authentik.css"; import PFCard from "@patternfly/patternfly/components/Card/card.css"; diff --git a/web/src/user/user-settings/details/UserDetailsForm.ts b/web/src/user/user-settings/details/UserDetailsForm.ts index db95a6c81..b27b549cc 100644 --- a/web/src/user/user-settings/details/UserDetailsForm.ts +++ b/web/src/user/user-settings/details/UserDetailsForm.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { CoreApi, UserSelf } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/details/UserPassword.ts b/web/src/user/user-settings/details/UserPassword.ts index 8cfe78371..8356bb544 100644 --- a/web/src/user/user-settings/details/UserPassword.ts +++ b/web/src/user/user-settings/details/UserPassword.ts @@ -2,9 +2,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; import { CSSResult, LitElement } from "lit"; -import { customElement } from "lit/decorators"; -import { property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement } from "lit/decorators.js"; +import { property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import AKGlobal from "../../../authentik.css"; import PFButton from "@patternfly/patternfly/components/Button/button.css"; diff --git a/web/src/user/user-settings/mfa/MFADeviceForm.ts b/web/src/user/user-settings/mfa/MFADeviceForm.ts index e7f7195eb..645cf09a0 100644 --- a/web/src/user/user-settings/mfa/MFADeviceForm.ts +++ b/web/src/user/user-settings/mfa/MFADeviceForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { AuthenticatorsApi, Device } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/mfa/MFADevicesPage.ts b/web/src/user/user-settings/mfa/MFADevicesPage.ts index 72504a0e1..92beaab20 100644 --- a/web/src/user/user-settings/mfa/MFADevicesPage.ts +++ b/web/src/user/user-settings/mfa/MFADevicesPage.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { AuthenticatorsApi, Device, UserSetting } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/sources/SourceSettings.ts b/web/src/user/user-settings/sources/SourceSettings.ts index 6f36ca065..2e9321f65 100644 --- a/web/src/user/user-settings/sources/SourceSettings.ts +++ b/web/src/user/user-settings/sources/SourceSettings.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { CSSResult, LitElement, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import PFGrid from "@patternfly/patternfly/layouts/Grid/grid.css"; diff --git a/web/src/user/user-settings/sources/SourceSettingsOAuth.ts b/web/src/user/user-settings/sources/SourceSettingsOAuth.ts index 398a7f196..2560a1982 100644 --- a/web/src/user/user-settings/sources/SourceSettingsOAuth.ts +++ b/web/src/user/user-settings/sources/SourceSettingsOAuth.ts @@ -1,9 +1,9 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; +import { until } from "lit/directives/until.js"; import { SourcesApi } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/sources/SourceSettingsPlex.ts b/web/src/user/user-settings/sources/SourceSettingsPlex.ts index d740d2154..16d03e368 100644 --- a/web/src/user/user-settings/sources/SourceSettingsPlex.ts +++ b/web/src/user/user-settings/sources/SourceSettingsPlex.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { until } from "lit/directives/until"; +import { customElement, property } from "lit/decorators.js"; +import { until } from "lit/directives/until.js"; import { SourcesApi } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/tokens/UserTokenForm.ts b/web/src/user/user-settings/tokens/UserTokenForm.ts index b5b3b672d..f410c4bbc 100644 --- a/web/src/user/user-settings/tokens/UserTokenForm.ts +++ b/web/src/user/user-settings/tokens/UserTokenForm.ts @@ -1,8 +1,8 @@ import { t } from "@lingui/macro"; import { TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; -import { ifDefined } from "lit/directives/if-defined"; +import { customElement, property } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { CoreApi, IntentEnum, Token } from "@goauthentik/api"; diff --git a/web/src/user/user-settings/tokens/UserTokenList.ts b/web/src/user/user-settings/tokens/UserTokenList.ts index ebe91ec71..721924a9a 100644 --- a/web/src/user/user-settings/tokens/UserTokenList.ts +++ b/web/src/user/user-settings/tokens/UserTokenList.ts @@ -1,7 +1,7 @@ import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators"; +import { customElement, property } from "lit/decorators.js"; import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList/description-list.css";