Entity Data Picker: Data editor and value converter (#20661)
* change property value to an object * add const for picker data source type * Add value editor and converter server-side * register schema for property editor + move settings ui --------- Co-authored-by: kjac <kja@umbraco.dk> Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { UMB_PICKER_DATA_SOURCE_TYPE } from '@umbraco-cms/backoffice/picker-data-source';
|
||||
|
||||
export const manifests: Array<UmbExtensionManifest> = [
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.CustomPickerCollection',
|
||||
name: 'Custom Picker Collection Data Source',
|
||||
api: () => import('./example-custom-picker-collection-data-source.js'),
|
||||
@@ -13,7 +15,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.CustomPickerTree',
|
||||
name: 'Custom Picker Tree Data Source',
|
||||
api: () => import('./example-custom-picker-tree-data-source.js'),
|
||||
@@ -25,7 +27,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.DocumentPicker',
|
||||
name: 'Document Picker Data Source',
|
||||
api: () => import('./example-document-picker-data-source.js'),
|
||||
@@ -53,7 +55,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.MediaPicker',
|
||||
name: 'Media Picker Data Source',
|
||||
api: () => import('./example-media-picker-data-source.js'),
|
||||
@@ -65,7 +67,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.LanguagePicker',
|
||||
name: 'Language Picker Data Source',
|
||||
api: () => import('./example-language-picker-data-source.js'),
|
||||
@@ -77,7 +79,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.WebhookPicker',
|
||||
name: 'Webhook Picker Data Source',
|
||||
api: () => import('./example-webhook-picker-data-source.js'),
|
||||
@@ -89,7 +91,7 @@ export const manifests: Array<UmbExtensionManifest> = [
|
||||
},
|
||||
{
|
||||
type: 'propertyEditorDataSource',
|
||||
dataSourceType: 'picker',
|
||||
dataSourceType: UMB_PICKER_DATA_SOURCE_TYPE,
|
||||
alias: 'Umb.PropertyEditorDataSource.UserPicker',
|
||||
name: 'User Picker Data Source',
|
||||
api: () => import('./example-user-picker-data-source.js'),
|
||||
|
||||
Reference in New Issue
Block a user