From 266e91ea267458eaa7ab97126cac46d8abb3d170 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 5 Oct 2022 14:37:12 +0200 Subject: [PATCH] fix import order --- .../users/actions/editor-action-users-save.element.ts | 2 +- .../views/users/editor-view-users-user-details.element.ts | 4 ++-- .../src/backoffice/sections/shared/section.element.ts | 2 +- .../views/users/editor-view-users-overview.element.ts | 7 +++---- .../views/users/editor-view-users-selection.element.ts | 2 +- .../table/editor-view-users-table.element.ts | 2 +- .../users/views/users/section-view-users.element.ts | 2 +- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/actions/editor-action-users-save.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/actions/editor-action-users-save.element.ts index 544a3e30ea..36fd45fb49 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/actions/editor-action-users-save.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/actions/editor-action-users-save.element.ts @@ -1,9 +1,9 @@ import { css, html, LitElement, nothing } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, state } from 'lit/decorators.js'; +import { Subscription } from 'rxjs'; import { UmbContextConsumerMixin } from '../../../../../../core/context'; import { UmbUserStore } from '../../../../../../core/stores/user/user.store'; -import { Subscription } from 'rxjs'; import type { UserEntity } from '../../../../../../core/models'; @customElement('umb-editor-action-users-save') diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-user-details.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-user-details.element.ts index df0775c21d..2c6ea9c82c 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-user-details.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/editors/users/views/users/editor-view-users-user-details.element.ts @@ -1,12 +1,12 @@ import { css, html, LitElement, nothing } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, property, state } from 'lit/decorators.js'; +import { Subscription } from 'rxjs'; import { UmbContextConsumerMixin } from '../../../../../core/context'; import UmbSectionViewUsersElement from '../../../../sections/users/views/users/section-view-users.element'; -import { Subscription } from 'rxjs'; import '../../../../property-editors/content-picker/property-editor-content-picker.element'; import { UmbUserStore } from '../../../../../core/stores/user/user.store'; -import { UserDetails } from '../../../../../core/models'; +import type { UserDetails } from '../../../../../core/models'; @customElement('umb-editor-view-users-user-details') export class UmbEditorViewUsersUserDetailsElement extends UmbContextConsumerMixin(LitElement) { diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts index c4503699b7..353cc2fad4 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/shared/section.element.ts @@ -2,6 +2,7 @@ import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { css, html, LitElement, nothing } from 'lit'; import { customElement, state } from 'lit/decorators.js'; import { Subscription, map, switchMap, EMPTY, of } from 'rxjs'; +import { IRoutingInfo } from 'router-slot'; import { UmbContextConsumerMixin } from '../../../core/context'; import { createExtensionElement, UmbExtensionRegistry } from '../../../core/extension'; import { UmbSectionContext } from '../section.context'; @@ -10,7 +11,6 @@ import type { ManifestTree, ManifestEditor, ManifestSectionView } from '../../.. import '../shared/section-trees.element.ts'; import { UmbEditorEntityElement } from '../../editors/shared/editor-entity/editor-entity.element'; import { UmbEntityStore } from '../../../core/stores/entity.store'; -import { IRoutingInfo } from 'router-slot'; @customElement('umb-section') export class UmbSectionElement extends UmbContextConsumerMixin(LitElement) { diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-overview.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-overview.element.ts index e27a9229ea..0ca11fb943 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-overview.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-overview.element.ts @@ -1,16 +1,15 @@ import { css, html, LitElement, nothing } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, state } from 'lit/decorators.js'; -import { UmbContextConsumerMixin } from '../../../../../core/context'; import { Subscription } from 'rxjs'; import './list-view-layouts/table/editor-view-users-table.element'; import './list-view-layouts/grid/editor-view-users-grid.element'; import './editor-view-users-selection.element'; import './editor-view-users-invite.element'; -import { IRoute } from 'router-slot'; -import UmbSectionViewUsersElement from './section-view-users.element'; +import { IRoute , isPathActive } from 'router-slot'; import { UUIPopoverElement } from '@umbraco-ui/uui'; -import { isPathActive } from 'router-slot'; +import { UmbContextConsumerMixin } from '../../../../../core/context'; +import UmbSectionViewUsersElement from './section-view-users.element'; export type UsersViewType = 'list' | 'grid'; @customElement('umb-editor-view-users-overview') diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-selection.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-selection.element.ts index a81e3e5f04..94dd75b282 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-selection.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/editor-view-users-selection.element.ts @@ -1,8 +1,8 @@ import { css, html, LitElement } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, state } from 'lit/decorators.js'; -import { UmbContextConsumerMixin } from '../../../../../core/context'; import { Subscription } from 'rxjs'; +import { UmbContextConsumerMixin } from '../../../../../core/context'; import UmbSectionViewUsersElement, { UserItem } from './section-view-users.element'; @customElement('umb-editor-view-users-selection') diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/list-view-layouts/table/editor-view-users-table.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/list-view-layouts/table/editor-view-users-table.element.ts index f8088bdf48..9700a32a98 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/list-view-layouts/table/editor-view-users-table.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/list-view-layouts/table/editor-view-users-table.element.ts @@ -1,9 +1,9 @@ import { css, html, LitElement, nothing } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, state } from 'lit/decorators.js'; -import { UmbContextConsumerMixin } from '../../../../../../../core/context'; import { repeat } from 'lit/directives/repeat.js'; import { Subscription } from 'rxjs'; +import { UmbContextConsumerMixin } from '../../../../../../../core/context'; import UmbSectionViewUsersElement from '../../section-view-users.element'; import { UmbUserStore } from '../../../../../../../core/stores/user/user.store'; import type { UserEntity } from '../../../../../../../core/models'; diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/section-view-users.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/section-view-users.element.ts index dd55c19657..eab6228273 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/section-view-users.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/sections/users/views/users/section-view-users.element.ts @@ -1,11 +1,11 @@ import { css, html, LitElement } from 'lit'; import { UUITextStyles } from '@umbraco-ui/uui-css/lib'; import { customElement, state } from 'lit/decorators.js'; -import { UmbContextProviderMixin } from '../../../../../core/context'; import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import { InterfaceColor, InterfaceLook } from '@umbraco-ui/uui-base/lib/types'; import { IRoute, IRoutingInfo } from 'router-slot'; import { v4 as uuidv4 } from 'uuid'; +import { UmbContextProviderMixin } from '../../../../../core/context'; import './list-view-layouts/table/editor-view-users-table.element'; import './list-view-layouts/grid/editor-view-users-grid.element'; import './editor-view-users-selection.element';