use relative imports inside a module
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeContainerModel } from '../../../types.js';
|
||||
import type { UmbContentTypeContainerStructureHelper } from '../../../structure/index.js';
|
||||
import { css, customElement, html, nothing, property, repeat, state, when } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { umbConfirmModal } from '@umbraco-cms/backoffice/modal';
|
||||
import { UmbLitElement, umbFocus } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import type {
|
||||
UmbContentTypeContainerStructureHelper,
|
||||
UmbContentTypeModel,
|
||||
UmbPropertyTypeContainerModel,
|
||||
} from '@umbraco-cms/backoffice/content-type';
|
||||
import type { UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
|
||||
|
||||
import './content-type-design-editor-properties.element.js';
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import { UMB_CONTENT_TYPE_WORKSPACE_CONTEXT } from '../../content-type-workspace.context-token.js';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeModel } from '../../../types.js';
|
||||
import { UmbContentTypePropertyStructureHelper } from '../../../structure/index.js';
|
||||
import { UMB_CONTENT_TYPE_DESIGN_EDITOR_CONTEXT } from './content-type-design-editor.context.js';
|
||||
import type { UmbContentTypeDesignEditorPropertyElement } from './content-type-design-editor-property.element.js';
|
||||
import {
|
||||
@@ -13,17 +15,15 @@ import {
|
||||
} from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UmbContentTypePropertyStructureHelper } from '@umbraco-cms/backoffice/content-type';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeModel } from '@umbraco-cms/backoffice/content-type';
|
||||
import { type UmbSorterConfig, UmbSorterController } from '@umbraco-cms/backoffice/sorter';
|
||||
import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/router';
|
||||
|
||||
import './content-type-design-editor-property.element.js';
|
||||
import {
|
||||
UMB_CREATE_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN,
|
||||
UMB_PROPERTY_TYPE_WORKSPACE_MODAL,
|
||||
} from '@umbraco-cms/backoffice/property-type';
|
||||
|
||||
import './content-type-design-editor-property.element.js';
|
||||
|
||||
const SORTER_CONFIG: UmbSorterConfig<UmbPropertyTypeModel, UmbContentTypeDesignEditorPropertyElement> = {
|
||||
getUniqueOfElement: (element) => {
|
||||
return element.getAttribute('data-umb-property-id');
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import type { UmbContentTypePropertyStructureHelper } from '../../../structure/index.js';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeModel, UmbPropertyTypeScaffoldModel } from '../../../types.js';
|
||||
import { UmbPropertyTypeContext } from './content-type-design-editor-property.context.js';
|
||||
import { css, html, customElement, property, state, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { generateAlias } from '@umbraco-cms/backoffice/utils';
|
||||
@@ -6,12 +8,6 @@ import { UmbDataTypeDetailRepository } from '@umbraco-cms/backoffice/data-type';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
|
||||
import { UMB_EDIT_PROPERTY_TYPE_WORKSPACE_PATH_PATTERN } from '@umbraco-cms/backoffice/property-type';
|
||||
import type {
|
||||
UmbContentTypeModel,
|
||||
UmbContentTypePropertyStructureHelper,
|
||||
UmbPropertyTypeModel,
|
||||
UmbPropertyTypeScaffoldModel,
|
||||
} from '@umbraco-cms/backoffice/content-type';
|
||||
import type { UUIInputElement, UUIInputLockElement, UUIInputEvent } from '@umbraco-cms/backoffice/external/uui';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { UMB_CONTENT_TYPE_WORKSPACE_CONTEXT } from '../../content-type-workspace.context-token.js';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeContainerModel } from '../../../types.js';
|
||||
import { UmbContentTypeContainerStructureHelper } from '../../../structure/index.js';
|
||||
import { UMB_CONTENT_TYPE_DESIGN_EDITOR_CONTEXT } from './content-type-design-editor.context.js';
|
||||
import type { UmbContentTypeWorkspaceViewEditGroupElement } from './content-type-design-editor-group.element.js';
|
||||
import { css, customElement, html, nothing, property, repeat, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbContentTypeContainerStructureHelper } from '@umbraco-cms/backoffice/content-type';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbModalRouteRegistrationController } from '@umbraco-cms/backoffice/router';
|
||||
import { UmbSorterController } from '@umbraco-cms/backoffice/sorter';
|
||||
import { UMB_WORKSPACE_MODAL } from '@umbraco-cms/backoffice/workspace';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeContainerModel } from '@umbraco-cms/backoffice/content-type';
|
||||
import type { UmbSorterConfig } from '@umbraco-cms/backoffice/sorter';
|
||||
|
||||
import './content-type-design-editor-properties.element.js';
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
import { UMB_CONTENT_TYPE_WORKSPACE_CONTEXT } from '../../content-type-workspace.context-token.js';
|
||||
import type { UmbContentTypeModel, UmbPropertyTypeContainerModel } from '../../../types.js';
|
||||
import {
|
||||
UmbContentTypeContainerStructureHelper,
|
||||
UmbContentTypeMoveRootGroupsIntoFirstTabHelper,
|
||||
} from '../../../structure/index.js';
|
||||
import { UMB_COMPOSITION_PICKER_MODAL } from '../../../modals/index.js';
|
||||
import type { UmbContentTypeDesignEditorTabElement } from './content-type-design-editor-tab.element.js';
|
||||
import { UmbContentTypeDesignEditorContext } from './content-type-design-editor.context.js';
|
||||
import { css, html, customElement, state, repeat, ifDefined, nothing } from '@umbraco-cms/backoffice/external/lit';
|
||||
import type { UUIInputElement, UUIInputEvent, UUITabElement } from '@umbraco-cms/backoffice/external/uui';
|
||||
import {
|
||||
UMB_COMPOSITION_PICKER_MODAL,
|
||||
UmbContentTypeContainerStructureHelper,
|
||||
UmbContentTypeMoveRootGroupsIntoFirstTabHelper,
|
||||
type UmbContentTypeModel,
|
||||
type UmbPropertyTypeContainerModel,
|
||||
} from '@umbraco-cms/backoffice/content-type';
|
||||
import { encodeFolderName } from '@umbraco-cms/backoffice/router';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { CompositionTypeModel } from '@umbraco-cms/backoffice/external/backend-api';
|
||||
|
||||
Reference in New Issue
Block a user