clean up folder structure
This commit is contained in:
@@ -1,42 +1,12 @@
|
||||
import { manifest as schemaManifest } from './Umbraco.MultiUrlPicker.js';
|
||||
import { manifests as modalManifests } from './link-picker-modal/manifests.js';
|
||||
import { manifests as tinyMceManifests } from './tiny-mce-plugin/manifests.js';
|
||||
import { manifests as monacoMarkdownEditorManifests } from './monaco-markdown-editor-action/manifests.js';
|
||||
import type { ManifestPropertyEditorUi, ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const manifest: ManifestPropertyEditorUi = {
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.MultiUrlPicker',
|
||||
name: 'Multi URL Picker Property Editor UI',
|
||||
element: () => import('./property-editor-ui-multi-url-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Multi URL Picker',
|
||||
propertyEditorSchemaAlias: 'Umbraco.MultiUrlPicker',
|
||||
icon: 'icon-link',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
properties: [
|
||||
{
|
||||
alias: 'overlaySize',
|
||||
label: 'Overlay Size',
|
||||
description: 'Select the width of the overlay.',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
},
|
||||
{
|
||||
alias: 'hideAnchor',
|
||||
label: 'Hide anchor/query string input',
|
||||
description: 'Selecting this hides the anchor/query string input field in the link picker overlay.',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
import { manifests as propertyEditorManifests } from './property-editor/manifests.js';
|
||||
import { manifests as tinyMceManifests } from './tiny-mce-plugin/manifests.js';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [
|
||||
...modalManifests,
|
||||
...monacoMarkdownEditorManifests,
|
||||
...propertyEditorManifests,
|
||||
...tinyMceManifests,
|
||||
manifest,
|
||||
schemaManifest,
|
||||
];
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
import { manifest as schemaManifest } from './Umbraco.MultiUrlPicker.js';
|
||||
|
||||
export const manifests = [
|
||||
{
|
||||
type: 'propertyEditorUi',
|
||||
alias: 'Umb.PropertyEditorUi.MultiUrlPicker',
|
||||
name: 'Multi URL Picker Property Editor UI',
|
||||
element: () => import('./property-editor-ui-multi-url-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Multi URL Picker',
|
||||
propertyEditorSchemaAlias: 'Umbraco.MultiUrlPicker',
|
||||
icon: 'icon-link',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
properties: [
|
||||
{
|
||||
alias: 'overlaySize',
|
||||
label: 'Overlay Size',
|
||||
description: 'Select the width of the overlay.',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
},
|
||||
{
|
||||
alias: 'hideAnchor',
|
||||
label: 'Hide anchor/query string input',
|
||||
description: 'Selecting this hides the anchor/query string input field in the link picker overlay.',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
schemaManifest,
|
||||
];
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { UmbLinkPickerLink } from './link-picker-modal/types.js';
|
||||
import type { UmbMultiUrlPickerElement } from './multi-url-picker/multi-url-picker.element.js';
|
||||
import type { UmbLinkPickerLink } from '../link-picker-modal/types.js';
|
||||
import type { UmbMultiUrlPickerElement } from '../multi-url-picker/multi-url-picker.element.js';
|
||||
import { customElement, html, property, state } from '@umbraco-cms/backoffice/external/lit';
|
||||
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
||||
import { UmbPropertyValueChangeEvent } from '@umbraco-cms/backoffice/property-editor';
|
||||
@@ -9,7 +9,7 @@ import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/extensi
|
||||
import type { UUIModalSidebarSize } from '@umbraco-cms/backoffice/external/uui';
|
||||
|
||||
// import of local component
|
||||
import './multi-url-picker/multi-url-picker.element.js';
|
||||
import '../multi-url-picker/multi-url-picker.element.js';
|
||||
|
||||
/**
|
||||
* @element umb-property-editor-ui-multi-url-picker
|
||||
Reference in New Issue
Block a user