From f85ad18fca3bac3fe29240799897c886e55c9068 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Wed, 24 Aug 2022 18:20:21 +0200 Subject: [PATCH] move shared property action components into a shared folder --- .../src/backoffice/components/node-property.element.ts | 2 +- .../property-actions/clear/property-action-clear.element.ts | 4 ++-- .../property-actions/copy/property-action-copy.element.ts | 2 +- .../property-action-menu/property-action-menu.context.ts | 0 .../property-action-menu/property-action-menu.element.ts | 4 ++-- .../{ => shared}/property-action/property-action.element.ts | 2 +- .../{ => shared}/property-action/property-action.model.ts | 0 7 files changed, 7 insertions(+), 7 deletions(-) rename src/Umbraco.Web.UI.Client/src/backoffice/property-actions/{ => shared}/property-action-menu/property-action-menu.context.ts (100%) rename src/Umbraco.Web.UI.Client/src/backoffice/property-actions/{ => shared}/property-action-menu/property-action-menu.element.ts (98%) rename src/Umbraco.Web.UI.Client/src/backoffice/property-actions/{ => shared}/property-action/property-action.element.ts (97%) rename src/Umbraco.Web.UI.Client/src/backoffice/property-actions/{ => shared}/property-action/property-action.model.ts (100%) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/components/node-property.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/components/node-property.element.ts index b1cdcd8f54..d3ee74e894 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/components/node-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/components/node-property.element.ts @@ -7,7 +7,7 @@ import { createExtensionElement, UmbExtensionManifest, UmbExtensionRegistry } fr import { UmbDataTypeStore } from '../../core/stores/data-type.store'; import { DataTypeEntity } from '../../mocks/data/data-type.data'; -import '../property-actions/property-action-menu/property-action-menu.element'; +import '../property-actions/shared/property-action-menu/property-action-menu.element'; @customElement('umb-node-property') class UmbNodeProperty extends UmbContextConsumerMixin(LitElement) { diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/clear/property-action-clear.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/clear/property-action-clear.element.ts index 4d3431d317..b954828950 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/clear/property-action-clear.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/clear/property-action-clear.element.ts @@ -1,8 +1,8 @@ import { html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import { UmbContextConsumerMixin } from '../../../core/context'; -import { UmbPropertyActionMenuContext } from '../property-action-menu/property-action-menu.context'; -import { UmbPropertyAction } from '../property-action/property-action.model'; +import { UmbPropertyActionMenuContext } from '../shared/property-action-menu/property-action-menu.context'; +import { UmbPropertyAction } from '../shared/property-action/property-action.model'; @customElement('umb-property-action-clear') export default class UmbPropertyActionClearElement diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/copy/property-action-copy.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/copy/property-action-copy.element.ts index 597740ff42..bcc009a606 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/copy/property-action-copy.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/copy/property-action-copy.element.ts @@ -3,7 +3,7 @@ import { customElement, property } from 'lit/decorators.js'; import { UmbContextConsumerMixin } from '../../../core/context'; import type { UmbNotificationDefaultData } from '../../../core/services/notification/layouts/default'; import type { UmbNotificationService } from '../../../core/services/notification'; -import type { UmbPropertyAction } from '../property-action/property-action.model'; +import type { UmbPropertyAction } from '../shared/property-action/property-action.model'; @customElement('umb-property-action-copy') export default class UmbPropertyActionCopyElement diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action-menu/property-action-menu.context.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action-menu/property-action-menu.context.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action-menu/property-action-menu.context.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action-menu/property-action-menu.context.ts diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action-menu/property-action-menu.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action-menu/property-action-menu.element.ts similarity index 98% rename from src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action-menu/property-action-menu.element.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action-menu/property-action-menu.element.ts index 14b177b7cb..1991c9e3f9 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action-menu/property-action-menu.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action-menu/property-action-menu.element.ts @@ -2,8 +2,8 @@ import { UUITextStyles } from '@umbraco-ui/uui'; import { css, CSSResultGroup, html, LitElement } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { Subscription, map } from 'rxjs'; -import { UmbContextProviderMixin, UmbContextConsumerMixin } from '../../../core/context'; -import { UmbExtensionManifestPropertyAction, UmbExtensionRegistry } from '../../../core/extension'; +import { UmbContextProviderMixin, UmbContextConsumerMixin } from '../../../../core/context'; +import { UmbExtensionManifestPropertyAction, UmbExtensionRegistry } from '../../../../core/extension'; import { UmbPropertyActionMenuContext } from './property-action-menu.context'; import '../property-action/property-action.element'; diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action/property-action.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action/property-action.element.ts similarity index 97% rename from src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action/property-action.element.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action/property-action.element.ts index ecef8fa1ac..bea7d25410 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action/property-action.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action/property-action.element.ts @@ -1,7 +1,7 @@ import { UUITextStyles } from '@umbraco-ui/uui'; import { CSSResultGroup, html, LitElement } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; -import { createExtensionElement, UmbExtensionManifestPropertyAction } from '../../../core/extension'; +import { createExtensionElement, UmbExtensionManifestPropertyAction } from '../../../../core/extension'; import type { UmbPropertyAction } from './property-action.model'; @customElement('umb-property-action') diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action/property-action.model.ts b/src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action/property-action.model.ts similarity index 100% rename from src/Umbraco.Web.UI.Client/src/backoffice/property-actions/property-action/property-action.model.ts rename to src/Umbraco.Web.UI.Client/src/backoffice/property-actions/shared/property-action/property-action.model.ts