move document picker
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export * from './input-document-picker/input-document-picker.element';
|
||||
@@ -3,8 +3,8 @@ import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { FormControlMixin } from '@umbraco-ui/uui-base/lib/mixins';
|
||||
import { UMB_DOCUMENT_TREE_STORE_CONTEXT_TOKEN } from '../../../documents/documents/repository/document.tree.store';
|
||||
import type { UmbDocumentTreeStore } from '../../../documents/documents/repository/document.tree.store';
|
||||
import { UMB_DOCUMENT_TREE_STORE_CONTEXT_TOKEN } from '../../repository/document.tree.store';
|
||||
import type { UmbDocumentTreeStore } from '../../repository/document.tree.store';
|
||||
import {
|
||||
UmbModalContext,
|
||||
UMB_MODAL_CONTEXT_TOKEN,
|
||||
@@ -17,7 +17,6 @@ import type { UmbObserverController } from '@umbraco-cms/backoffice/observable-a
|
||||
|
||||
@customElement('umb-input-document-picker')
|
||||
export class UmbInputDocumentPickerElement extends FormControlMixin(UmbLitElement) {
|
||||
|
||||
/**
|
||||
* This is a minimum amount of selected items in this input.
|
||||
* @type {number}
|
||||
@@ -167,7 +166,7 @@ export class UmbInputDocumentPickerElement extends FormControlMixin(UmbLitElemen
|
||||
</uui-ref-node>
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
static styles = [
|
||||
UUITextStyles,
|
||||
css`
|
||||
@@ -6,6 +6,7 @@ import { manifests as workspaceManifests } from './workspace/manifests';
|
||||
import { manifests as entityActionManifests } from './entity-actions/manifests';
|
||||
import { manifests as entityBulkActionManifests } from './entity-bulk-actions/manifests';
|
||||
import { manifests as modalManifests } from './modals/manifests';
|
||||
import { manifests as propertyEditorManifests } from './property-editors/manifests';
|
||||
|
||||
export const manifests = [
|
||||
...collectionManifests,
|
||||
@@ -16,4 +17,5 @@ export const manifests = [
|
||||
...entityActionManifests,
|
||||
...entityBulkActionManifests,
|
||||
...modalManifests,
|
||||
...propertyEditorManifests,
|
||||
];
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import { html } from 'lit';
|
||||
import { customElement, property, state } from 'lit/decorators.js';
|
||||
import type { UmbInputDocumentPickerElement } from '../../../components/input-document-picker/input-document-picker.element';
|
||||
import type { UmbInputDocumentPickerElement } from '../../components/input-document-picker/input-document-picker.element';
|
||||
import { UmbPropertyEditorExtensionElement } from '@umbraco-cms/backoffice/extensions-registry';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import '../../../components/input-document-picker/input-document-picker.element';
|
||||
import type { DataTypePropertyPresentationModel } from '@umbraco-cms/backoffice/backend-api';
|
||||
|
||||
@customElement('umb-property-editor-ui-document-picker')
|
||||
@@ -0,0 +1,5 @@
|
||||
import { manifest as documentPickerUI } from './document-picker/manifests';
|
||||
import { manifest as contentPicker } from './Umbraco.ContentPicker';
|
||||
import type { ManifestTypes } from '@umbraco-cms/backoffice/extensions-registry';
|
||||
|
||||
export const manifests: Array<ManifestTypes> = [documentPickerUI, contentPicker];
|
||||
@@ -6,6 +6,8 @@ import { manifests as documentTypeManifests } from './document-types/manifests';
|
||||
import { manifests as documentManifests } from './documents/manifests';
|
||||
import type { UmbEntrypointOnInit } from '@umbraco-cms/backoffice/extensions-api';
|
||||
|
||||
import './documents/components';
|
||||
|
||||
export const manifests = [
|
||||
...dashboardManifests,
|
||||
...contentSectionManifests,
|
||||
|
||||
@@ -3,7 +3,7 @@ import { UUIBooleanInputEvent, UUIInputElement, UUIInputEvent } from '@umbraco-u
|
||||
import { css, html, nothing } from 'lit';
|
||||
import { customElement, property, query, state } from 'lit/decorators.js';
|
||||
import { ifDefined } from 'lit/directives/if-defined.js';
|
||||
import { UmbInputDocumentPickerElement } from '../../../shared/components/input-document-picker/input-document-picker.element';
|
||||
import { UmbInputDocumentPickerElement } from '../../../documents/documents/components/input-document-picker/input-document-picker.element';
|
||||
import { UmbInputMediaPickerElement } from '../../../shared/components/input-media-picker/input-media-picker.element';
|
||||
import { UmbInputLanguagePickerElement } from '../../../shared/components/input-language-picker/input-language-picker.element';
|
||||
import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
@@ -13,8 +13,6 @@ import { UmbNotificationContext, UMB_NOTIFICATION_CONTEXT_TOKEN } from '@umbraco
|
||||
|
||||
@customElement('umb-workspace-package-builder')
|
||||
export class UmbWorkspacePackageBuilderElement extends UmbLitElement {
|
||||
|
||||
|
||||
@property()
|
||||
entityId?: string;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import './extension-slot/extension-slot.element';
|
||||
import './input-checkbox-list/input-checkbox-list.element';
|
||||
import './input-color-picker/input-color-picker.element';
|
||||
import './input-culture-select/input-culture-select.element';
|
||||
import './input-document-picker/input-document-picker.element';
|
||||
import '../../documents/documents/components/input-document-picker/input-document-picker.element';
|
||||
import './input-document-type-picker/input-document-type-picker.element';
|
||||
import './input-eye-dropper/input-eye-dropper.element';
|
||||
import './input-language-picker/input-language-picker.element';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { manifest as colorPicker } from './Umbraco.ColorPicker';
|
||||
import { manifest as eyeDropper } from './Umbraco.ColorPicker.EyeDropper';
|
||||
import { manifest as contentPicker } from './Umbraco.ContentPicker';
|
||||
import { manifest as json } from './Umbraco.JSON';
|
||||
import { manifest as multiUrlPicker } from './Umbraco.MultiUrlPicker';
|
||||
import { manifest as multiNodeTreePicker } from './Umbraco.MultiNodeTreePicker';
|
||||
@@ -35,7 +34,6 @@ import type { ManifestPropertyEditorModel } from '@umbraco-cms/backoffice/extens
|
||||
export const manifests: Array<ManifestPropertyEditorModel> = [
|
||||
colorPicker,
|
||||
eyeDropper,
|
||||
contentPicker,
|
||||
dateTime,
|
||||
emailAddress,
|
||||
json,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { manifest as colorPicker } from './color-picker/manifests';
|
||||
import { manifest as documentPicker } from './document-picker/manifests';
|
||||
import { manifest as datePicker } from './date-picker/manifests';
|
||||
import { manifest as eyeDropper } from './eye-dropper/manifests';
|
||||
import { manifest as multiUrlPicker } from './multi-url-picker/manifests';
|
||||
@@ -36,7 +35,6 @@ import type { ManifestPropertyEditorUI } from '@umbraco-cms/backoffice/extension
|
||||
|
||||
export const manifests: Array<ManifestPropertyEditorUI> = [
|
||||
colorPicker,
|
||||
documentPicker,
|
||||
datePicker,
|
||||
eyeDropper,
|
||||
multiUrlPicker,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
|
||||
import type { UmbRoute } from '@umbraco-cms/backoffice/router';
|
||||
|
||||
import '../../../shared/components/input-user-group/input-user-group.element';
|
||||
import '../../../shared/property-editors/uis/document-picker/property-editor-ui-document-picker.element';
|
||||
import '../../../documents/documents/property-editors/document-picker/property-editor-ui-document-picker.element';
|
||||
import '../../../shared/components/workspace/workspace-editor/workspace-editor.element';
|
||||
|
||||
@customElement('umb-user-workspace')
|
||||
|
||||
Reference in New Issue
Block a user