append Alias to properties
This commit is contained in:
@@ -59,7 +59,7 @@ export class UmbPropertyEditorConfigElement extends UmbLitElement {
|
||||
this.observe(
|
||||
umbExtensionsRegistry.getByTypeAndAlias('propertyEditorUi', this.propertyEditorUiAlias),
|
||||
(manifest) => {
|
||||
this._observePropertyEditorModelConfig(manifest?.meta.propertyEditorModel);
|
||||
this._observePropertyEditorModelConfig(manifest?.meta.propertyEditorAlias);
|
||||
this._propertyEditorUISettingsProperties = manifest?.meta.settings?.properties || [];
|
||||
this._propertyEditorUISettingsDefaultData = manifest?.meta.settings?.defaultData || [];
|
||||
this._mergeConfigProperties();
|
||||
@@ -110,7 +110,7 @@ export class UmbPropertyEditorConfigElement extends UmbLitElement {
|
||||
label="${property.label}"
|
||||
description="${ifDefined(property.description)}"
|
||||
alias="${property.alias}"
|
||||
property-editor-ui-alias="${property.propertyEditorUi}"
|
||||
property-editor-ui-alias="${property.propertyEditorUiAlias}"
|
||||
.value=${this._getValue(property)}
|
||||
.config=${property.config}></umb-workspace-property>
|
||||
`
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface ManifestPropertyEditorUi extends ManifestElement<UmbPropertyEdi
|
||||
|
||||
export interface MetaPropertyEditorUi {
|
||||
label: string;
|
||||
propertyEditorModel: string;
|
||||
propertyEditorAlias: string;
|
||||
icon: string;
|
||||
group: string;
|
||||
settings?: PropertyEditorSettings;
|
||||
@@ -38,7 +38,7 @@ export interface PropertyEditorConfigProperty {
|
||||
label: string;
|
||||
description?: string;
|
||||
alias: string;
|
||||
propertyEditorUi: string;
|
||||
propertyEditorUiAlias: string;
|
||||
config?: Array<DataTypePropertyPresentationModel>;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,29 +13,29 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
label: 'Blocks',
|
||||
description:
|
||||
'Define Blocks based on Element Types. Use Groups to help organise their selection. Example Groups: Layout and Content',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.BlockGrid.BlockConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.BlockGrid.BlockConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'blockGroups',
|
||||
label: 'Block Groups',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.BlockGrid.GroupConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.BlockGrid.GroupConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'validationLimit',
|
||||
label: 'Amount',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.NumberRange',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.NumberRange',
|
||||
},
|
||||
{
|
||||
alias: 'gridColumns',
|
||||
label: 'Grid Columns',
|
||||
description: 'Set the number of columns for the layout. (defaults to 12)',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'layoutStylesheet',
|
||||
label: 'Layout Stylesheet',
|
||||
description: 'Override default stylesheet for backoffice layout.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.BlockGrid.StylesheetPicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.BlockGrid.StylesheetPicker',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,13 +12,13 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'blocks',
|
||||
label: 'Available Blocks',
|
||||
description: 'Define the available blocks.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.BlockList.BlockConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.BlockList.BlockConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'validationLimit',
|
||||
label: 'Amount',
|
||||
description: 'Set a required range of blocks',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.NumberRange',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.NumberRange',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -13,13 +13,13 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
label: 'Include labels?',
|
||||
description:
|
||||
'Stores colors as a Json object containing both the color hex string and label, rather than just the hex string.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'items',
|
||||
label: 'Colors',
|
||||
description: 'Add, remove or sort colors',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.ColorPicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.ColorPicker',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -14,7 +14,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
label: 'Offset time',
|
||||
description:
|
||||
'When enabled the time displayed will be offset with the servers timezone, this is useful for scenarios like scheduled publishing when an editor is in a different timezone than the hosted server',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
config: [
|
||||
{
|
||||
alias: 'labelOff',
|
||||
|
||||
@@ -12,19 +12,19 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'min',
|
||||
label: 'Minimum',
|
||||
description: 'Enter the minimum amount of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'max',
|
||||
label: 'Maximum',
|
||||
description: 'Enter the minimum amount of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'step',
|
||||
label: 'Step size',
|
||||
description: 'Enter the intervals amount between each step of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
{
|
||||
alias: 'crops',
|
||||
label: 'Define Crops',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.ImageCropsConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.ImageCropsConfiguration',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,19 +12,19 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'min',
|
||||
label: 'Minimum',
|
||||
description: 'Enter the minimum amount of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'max',
|
||||
label: 'Maximum',
|
||||
description: 'Enter the minimum amount of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'step',
|
||||
label: 'Step size',
|
||||
description: 'Enter the intervals amount between each step of number to be entered',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'umbracoDataValueType',
|
||||
label: 'Value type',
|
||||
description: 'The type of value to store',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.ValueType',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.ValueType',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,30 +12,30 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'pageSize',
|
||||
label: 'Page Size',
|
||||
description: 'Number of items per page.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'orderDirection',
|
||||
label: 'Order Direction',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.OrderDirection',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.OrderDirection',
|
||||
},
|
||||
{
|
||||
alias: 'includeProperties',
|
||||
label: 'Columns Displayed',
|
||||
description: 'The properties that will be displayed for each column',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.CollectionView.ColumnConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.CollectionView.ColumnConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'orderBy',
|
||||
label: 'Order By',
|
||||
description: 'The properties that will be displayed for each column',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.CollectionView.OrderBy',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.CollectionView.OrderBy',
|
||||
},
|
||||
{
|
||||
alias: 'bulkActionPermissions',
|
||||
label: 'Bulk Action Permissions',
|
||||
description: 'The properties that will be displayed for each column',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.CollectionView.BulkActionPermissions',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.CollectionView.BulkActionPermissions',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,41 +12,41 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'filter',
|
||||
label: 'Accepted types',
|
||||
description: 'Limit to specific types',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TreePicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TreePicker',
|
||||
},
|
||||
{
|
||||
alias: 'multiple',
|
||||
label: 'Pick multiple items',
|
||||
description: 'Outputs a IEnumerable',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'validationLimit',
|
||||
label: 'Amount',
|
||||
description: 'Set a required range of medias',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.NumberRange',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.NumberRange',
|
||||
},
|
||||
{
|
||||
alias: 'startNodeId',
|
||||
label: 'Start node',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.MediaPicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.MediaPicker',
|
||||
},
|
||||
{
|
||||
alias: 'enableLocalFocalPoint',
|
||||
label: 'Enable Focal Point',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'crops',
|
||||
label: 'Image Crops',
|
||||
description: 'Local crops, stored on document',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.ImageCropsConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.ImageCropsConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'ignoreUserStartNodes',
|
||||
label: 'Ignore User Start Nodes',
|
||||
description: 'Selecting this option allows a user to choose nodes that they normally dont have access to.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,19 +12,19 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'minNumber',
|
||||
label: 'Minimum number of items',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'maxNumber',
|
||||
label: 'Maximum number of items',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'ignoreUserStartNodes',
|
||||
label: 'Ignore user start nodes',
|
||||
description: 'Selecting this option allows a user to choose nodes that they normally dont have access to.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,19 +12,19 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'minNumber',
|
||||
label: 'Minimum number of items',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'maxNumber',
|
||||
label: 'Maximum number of items',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'ignoreUserStartNodes',
|
||||
label: 'Ignore user start nodes',
|
||||
description: 'Selecting this option allows a user to choose nodes that they normally dont have access to.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,13 +12,13 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'min',
|
||||
label: 'Minimum',
|
||||
description: 'Enter the minimum amount of text boxes to be displayed',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'max',
|
||||
label: 'Maximum',
|
||||
description: 'Enter the maximum amount of text boxes to be displayed, enter 0 for unlimited',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,13 +12,13 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'minVal',
|
||||
label: 'Minimum value',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'maxVal',
|
||||
label: 'Maximum value',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,13 +12,13 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'group',
|
||||
label: 'Define a tag group',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
{
|
||||
alias: 'storageType',
|
||||
label: 'Storage Type',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Tags.StorageType',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Tags.StorageType',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -12,7 +12,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'maxChars',
|
||||
label: 'Maximum allowed characters',
|
||||
description: 'If empty - no character limit',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'maxChars',
|
||||
label: 'Maximum allowed characters',
|
||||
description: 'If empty, 512 character limit',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -11,12 +11,12 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
{
|
||||
alias: 'mediaParentId',
|
||||
label: 'Image Upload Folder',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TreePicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TreePicker',
|
||||
},
|
||||
{
|
||||
alias: 'ignoreUserStartNodes',
|
||||
label: 'Ignore User Start Nodes',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
{
|
||||
alias: 'fileExtensions',
|
||||
label: 'Accepted file extensions',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-grid-block-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Block Configuration',
|
||||
propertyEditorModel: 'Umbraco.BlockGrid.BlockConfiguration',
|
||||
propertyEditorAlias: 'Umbraco.BlockGrid.BlockConfiguration',
|
||||
icon: 'umb:autofill',
|
||||
group: 'blocks',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-grid-group-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Group Configuration',
|
||||
propertyEditorModel: 'Umbraco.BlockGrid.GroupConfiguration',
|
||||
propertyEditorAlias: 'Umbraco.BlockGrid.GroupConfiguration',
|
||||
icon: 'umb:autofill',
|
||||
group: 'blocks',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-grid-stylesheet-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid Stylesheet Picker',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'blocks',
|
||||
},
|
||||
|
||||
@@ -10,7 +10,7 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-grid.element.js'),
|
||||
meta: {
|
||||
label: 'Block Grid',
|
||||
propertyEditorModel: 'Umbraco.BlockGrid',
|
||||
propertyEditorAlias: 'Umbraco.BlockGrid',
|
||||
icon: 'umb:icon-layout',
|
||||
group: 'richContent',
|
||||
settings: {
|
||||
@@ -19,19 +19,19 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'useLiveEditing',
|
||||
label: 'Live editing mode',
|
||||
description: 'Live update content when editing in overlay',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'maxPropertyWidth',
|
||||
label: 'Editor width',
|
||||
description: 'Optional css overwrite. (example: 1200px or 100%)',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
{
|
||||
alias: 'createLabel',
|
||||
label: 'Create Button Label',
|
||||
description: 'Override the label text for adding a new block, Example Add Widget',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-list-block-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Block List Block Configuration',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -8,7 +8,7 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-block-list.element.js'),
|
||||
meta: {
|
||||
label: 'Block List',
|
||||
propertyEditorModel: 'Umbraco.BlockList',
|
||||
propertyEditorAlias: 'Umbraco.BlockList',
|
||||
icon: 'umb:thumbnail-list',
|
||||
group: 'lists',
|
||||
settings: {
|
||||
@@ -18,26 +18,26 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Single block mode',
|
||||
description:
|
||||
'When in Single block mode, the output will be BlockListItem<>, instead of BlockListModel.\n\n**NOTE:**\nSingle block mode requires a maximum of one available block, and an amount set to minimum 1 and maximum 1 blocks.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'useLiveEditing',
|
||||
label: 'Live editing mode',
|
||||
description:
|
||||
'Live editing in editor overlays for live updated custom views or labels using custom expression.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'useInlineEditingAsDefault',
|
||||
label: 'Inline editing mode',
|
||||
description: 'Use the inline editor as the default block view.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'maxPropertyWidth',
|
||||
label: 'Property editor width',
|
||||
description: 'Optional CSS override, example: 800px or 100%',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-checkbox-list.element.js'),
|
||||
meta: {
|
||||
label: 'Checkbox List',
|
||||
propertyEditorModel: 'Umbraco.CheckboxList',
|
||||
propertyEditorAlias: 'Umbraco.CheckboxList',
|
||||
icon: 'umb:bulleted-list',
|
||||
group: 'lists',
|
||||
settings: {
|
||||
@@ -16,7 +16,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'items',
|
||||
label: 'Add option',
|
||||
description: 'Add, remove or sort options for the list.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-collection-view-bulk-action-permissions.element.js'),
|
||||
meta: {
|
||||
label: 'Collection View Bulk Action Permissions',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'lists',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-collection-view-column-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Collection View Column Configuration',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'lists',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-collection-view-layout-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Collection View Layout Configuration',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'lists',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-collection-view-order-by.element.js'),
|
||||
meta: {
|
||||
label: 'Collection View Order By',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'lists',
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-collection-view.element.js'),
|
||||
meta: {
|
||||
label: 'Collection View',
|
||||
propertyEditorModel: 'Umbraco.ListView',
|
||||
propertyEditorAlias: 'Umbraco.ListView',
|
||||
icon: 'umb:bulleted-list',
|
||||
group: 'lists',
|
||||
settings: {
|
||||
@@ -20,31 +20,31 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'layouts',
|
||||
label: 'Layouts',
|
||||
description: 'The properties that will be displayed for each column',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.CollectionView.LayoutConfiguration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.CollectionView.LayoutConfiguration',
|
||||
},
|
||||
{
|
||||
alias: 'icon',
|
||||
label: 'Content app icon',
|
||||
description: 'The icon of the listview content app',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.IconPicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.IconPicker',
|
||||
},
|
||||
{
|
||||
alias: 'tabName',
|
||||
label: 'Content app name',
|
||||
description: 'The name of the listview content app (default if empty: Child Items)',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
{
|
||||
alias: 'showContentFirst',
|
||||
label: 'Show Content App First',
|
||||
description: 'Enable this to show the content app by default instead of the list view app',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'useInfiniteEditor',
|
||||
label: 'Edit in Infinite Editor',
|
||||
description: 'Enable this to use infinite editing to edit the content of the list view',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-color-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Color Picker',
|
||||
propertyEditorModel: 'Umbraco.ColorPicker',
|
||||
propertyEditorAlias: 'Umbraco.ColorPicker',
|
||||
icon: 'umb:colorpicker',
|
||||
group: 'pickers',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-date-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Date Picker',
|
||||
propertyEditorModel: 'Umbraco.DateTime',
|
||||
propertyEditorAlias: 'Umbraco.DateTime',
|
||||
icon: 'umb:time',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
@@ -16,7 +16,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'format',
|
||||
label: 'Date format',
|
||||
description: 'If left empty then the format is YYYY-MM-DD',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-dropdown.element.js'),
|
||||
meta: {
|
||||
label: 'Dropdown',
|
||||
propertyEditorModel: 'Umbraco.Dropdown',
|
||||
propertyEditorAlias: 'Umbraco.Dropdown',
|
||||
icon: 'umb:time',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
@@ -15,12 +15,12 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
{
|
||||
alias: 'multiple',
|
||||
label: 'Enable multiple choice',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'items',
|
||||
label: 'Add options',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -9,20 +9,20 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Eye Dropper Color Picker',
|
||||
icon: 'umb:colorpicker',
|
||||
group: 'pickers',
|
||||
propertyEditorModel: 'Umbraco.ColorPicker.EyeDropper',
|
||||
propertyEditorAlias: 'Umbraco.ColorPicker.EyeDropper',
|
||||
settings: {
|
||||
properties: [
|
||||
{
|
||||
alias: 'showAlpha',
|
||||
label: 'Show alpha',
|
||||
description: 'Allow alpha transparency selection.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'showPalette',
|
||||
label: 'Show palette',
|
||||
description: 'Show a palette next to the color picker.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-icon-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Icon Picker',
|
||||
propertyEditorModel: 'Umbraco.JSON',
|
||||
propertyEditorAlias: 'Umbraco.JSON',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -9,6 +9,6 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Image Cropper',
|
||||
icon: 'umb:colorpicker',
|
||||
group: 'pickers',
|
||||
propertyEditorModel: 'Umbraco.ImageCropper',
|
||||
propertyEditorAlias: 'Umbraco.ImageCropper',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -9,6 +9,6 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Image Crops Configuration',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -9,6 +9,6 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Label',
|
||||
icon: 'umb:readonly',
|
||||
group: 'pickers',
|
||||
propertyEditorModel: 'Umbraco.Label',
|
||||
propertyEditorAlias: 'Umbraco.Label',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -74,7 +74,7 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
|
||||
label: 'Number',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
propertyEditorModel: 'Umbraco.Integer',
|
||||
propertyEditorAlias: 'Umbraco.Integer',
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-markdown-editor.element.js'),
|
||||
meta: {
|
||||
label: 'Markdown Editor',
|
||||
propertyEditorModel: 'Umbraco.MarkdownEditor',
|
||||
propertyEditorAlias: 'Umbraco.MarkdownEditor',
|
||||
icon: 'umb:code',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
@@ -16,19 +16,19 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'preview',
|
||||
label: 'Preview',
|
||||
description: 'Display a live preview',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'defaultValue',
|
||||
label: 'Default value',
|
||||
description: 'If value is blank, the editor will show this',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextArea',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextArea',
|
||||
},
|
||||
{
|
||||
alias: 'overlaySize',
|
||||
label: 'Overlay Size',
|
||||
description: 'Select the width of the overlay.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-media-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Media Picker',
|
||||
propertyEditorModel: 'Umbraco.MediaPicker3',
|
||||
propertyEditorAlias: 'Umbraco.MediaPicker3',
|
||||
icon: 'umb:picture',
|
||||
group: 'pickers',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-member-group-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Member Group Picker',
|
||||
propertyEditorModel: 'Umbraco.MemberGroupPicker',
|
||||
propertyEditorAlias: 'Umbraco.MemberGroupPicker',
|
||||
icon: 'umb:users-alt',
|
||||
group: 'people',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-member-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Member Picker',
|
||||
propertyEditorModel: 'Umbraco.MemberPicker',
|
||||
propertyEditorAlias: 'Umbraco.MemberPicker',
|
||||
icon: 'umb:user',
|
||||
group: 'people',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-multi-url-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Multi URL Picker',
|
||||
propertyEditorModel: 'Umbraco.MultiUrlPicker',
|
||||
propertyEditorAlias: 'Umbraco.MultiUrlPicker',
|
||||
icon: 'umb:link',
|
||||
group: 'pickers',
|
||||
settings: {
|
||||
@@ -16,13 +16,13 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'overlaySize',
|
||||
label: 'Overlay Size',
|
||||
description: 'Select the width of the overlay.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
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.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-multiple-text-string.element.js'),
|
||||
meta: {
|
||||
label: 'Multiple Text String',
|
||||
propertyEditorModel: 'Umbraco.MultipleTextString',
|
||||
propertyEditorAlias: 'Umbraco.MultipleTextString',
|
||||
icon: 'umb:ordered-list',
|
||||
group: '',
|
||||
supportsReadOnly: true,
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-number-range.element.js'),
|
||||
meta: {
|
||||
label: 'Number Range',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -15,7 +15,7 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
|
||||
loader: () => import('./property-editor-ui-number.element.js'),
|
||||
meta: {
|
||||
label: 'Integer',
|
||||
propertyEditorModel: 'Umbraco.Integer',
|
||||
propertyEditorAlias: 'Umbraco.Integer',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -36,7 +36,7 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
|
||||
loader: () => import('./property-editor-ui-number.element.js'),
|
||||
meta: {
|
||||
label: 'Decimal',
|
||||
propertyEditorModel: 'Umbraco.Decimal',
|
||||
propertyEditorAlias: 'Umbraco.Decimal',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
settings: {
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-order-direction.element.js'),
|
||||
meta: {
|
||||
label: 'Order Direction',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-overlay-size.element.js'),
|
||||
meta: {
|
||||
label: 'Overlay Size',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:document',
|
||||
group: '',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-radio-button-list.element.js'),
|
||||
meta: {
|
||||
label: 'Radio Button List',
|
||||
propertyEditorModel: 'Umbraco.RadioButtonList',
|
||||
propertyEditorAlias: 'Umbraco.RadioButtonList',
|
||||
icon: 'umb:target',
|
||||
group: 'lists',
|
||||
settings: {
|
||||
@@ -16,7 +16,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'items',
|
||||
label: 'Add option',
|
||||
description: 'Add, remove or sort options for the list.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.MultipleTextString',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-slider.element.js'),
|
||||
meta: {
|
||||
label: 'Slider',
|
||||
propertyEditorModel: 'Umbraco.Slider',
|
||||
propertyEditorAlias: 'Umbraco.Slider',
|
||||
icon: 'umb:navigation-horizontal',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -16,25 +16,25 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'enableRange',
|
||||
label: 'Enable range',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'initVal1',
|
||||
label: 'Initial value',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'initVal2',
|
||||
label: 'Initial value 2',
|
||||
description: 'Used when range is enabled',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'step',
|
||||
label: 'Step increments',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -16,7 +16,7 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
|
||||
loader: () => import('./property-editor-ui-text-box.element.js'),
|
||||
meta: {
|
||||
label: 'Text Box',
|
||||
propertyEditorModel: 'Umbraco.TextBox',
|
||||
propertyEditorAlias: 'Umbraco.TextBox',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -37,7 +37,7 @@ export const manifests: Array<ManifestPropertyEditorUi> = [
|
||||
loader: () => import('./property-editor-ui-text-box.element.js'),
|
||||
meta: {
|
||||
label: 'Email',
|
||||
propertyEditorModel: 'Umbraco.EmailAddress',
|
||||
propertyEditorAlias: 'Umbraco.EmailAddress',
|
||||
icon: 'umb:message',
|
||||
group: 'common',
|
||||
settings: {
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-textarea.element.js'),
|
||||
meta: {
|
||||
label: 'Text Area',
|
||||
propertyEditorModel: 'Umbraco.TextArea',
|
||||
propertyEditorAlias: 'Umbraco.TextArea',
|
||||
icon: 'umb:edit',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -16,19 +16,19 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'rows',
|
||||
label: 'Number of rows',
|
||||
description: 'If empty the textarea is set to autoheight',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'minHeight',
|
||||
label: 'Min height (pixels)',
|
||||
description: 'Sets the minimum height of the textarea',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
{
|
||||
alias: 'maxHeight',
|
||||
label: 'Max height (pixels)',
|
||||
description: 'Sets the maximum height of the textarea',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Number',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Number',
|
||||
},
|
||||
],
|
||||
defaultData: [
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-tiny-mce-configuration.element.js'),
|
||||
meta: {
|
||||
label: 'Rich Text Editor Configuration',
|
||||
propertyEditorModel: 'Umbraco.TinyMCE.Configuration',
|
||||
propertyEditorAlias: 'Umbraco.TinyMCE.Configuration',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -8,7 +8,7 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-tiny-mce.element.js'),
|
||||
meta: {
|
||||
label: 'Rich Text Editor',
|
||||
propertyEditorModel: 'Umbraco.TinyMCE',
|
||||
propertyEditorAlias: 'Umbraco.TinyMCE',
|
||||
icon: 'umb:browser-window',
|
||||
group: 'richText',
|
||||
settings: {
|
||||
@@ -16,17 +16,17 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
{
|
||||
alias: 'editor',
|
||||
label: 'Editor',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TinyMCE.Configuration',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TinyMCE.Configuration',
|
||||
},
|
||||
{
|
||||
alias: 'overlaySize',
|
||||
label: 'Overlay Size',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.OverlaySize',
|
||||
},
|
||||
{
|
||||
alias: 'hideLabel',
|
||||
label: 'Hide Label',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-toggle.element.js'),
|
||||
meta: {
|
||||
label: 'Toggle',
|
||||
propertyEditorModel: 'Umbraco.TrueFalse',
|
||||
propertyEditorAlias: 'Umbraco.TrueFalse',
|
||||
icon: 'umb:checkbox',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -17,25 +17,25 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Initial State',
|
||||
description:
|
||||
'The initial state for the toggle, when it is displayed for the first time in the backoffice, eg. for a new content item.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'showLabels',
|
||||
label: 'Show toggle labels',
|
||||
description: 'Show labels next to toggle button.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'labelOn',
|
||||
label: 'Label On',
|
||||
description: 'Label text when enabled.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
{
|
||||
alias: 'labelOff',
|
||||
label: 'Label Off',
|
||||
description: 'Label text when disabled.',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TextBox',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TextBox',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -9,6 +9,6 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Tree Picker Start Node',
|
||||
icon: 'umb:page-add',
|
||||
group: 'pickers',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -10,26 +10,26 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Tree Picker',
|
||||
icon: 'umb:page-add',
|
||||
group: 'pickers',
|
||||
propertyEditorModel: 'Umbraco.MultiNodeTreePicker',
|
||||
propertyEditorAlias: 'Umbraco.MultiNodeTreePicker',
|
||||
settings: {
|
||||
properties: [
|
||||
{
|
||||
alias: 'startNode',
|
||||
label: 'Start node',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TreePicker.StartNode',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TreePicker.StartNode',
|
||||
},
|
||||
{
|
||||
alias: 'filter',
|
||||
label: 'Allow items of type',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TreePicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TreePicker',
|
||||
},
|
||||
{
|
||||
alias: 'showOpenButton',
|
||||
label: 'Show open button',
|
||||
description: 'Opens the node in a dialog',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-upload-field.element.js'),
|
||||
meta: {
|
||||
label: 'Upload Field',
|
||||
propertyEditorModel: 'Umbraco.UploadField',
|
||||
propertyEditorAlias: 'Umbraco.UploadField',
|
||||
icon: 'umb:download-alt',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-user-picker.element.js'),
|
||||
meta: {
|
||||
label: 'User Picker',
|
||||
propertyEditorModel: 'Umbraco.UserPicker',
|
||||
propertyEditorAlias: 'Umbraco.UserPicker',
|
||||
icon: 'umb:user',
|
||||
group: 'people',
|
||||
},
|
||||
|
||||
@@ -9,6 +9,6 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
label: 'Value Type',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
propertyEditorModel: 'Umbraco.JSON',
|
||||
propertyEditorAlias: 'Umbraco.JSON',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ export const manifest: ManifestPropertyEditorModel = {
|
||||
alias: 'startNodeId',
|
||||
label: 'Start node',
|
||||
description: '',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.TreePicker',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.TreePicker',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-document-picker.element.js'),
|
||||
meta: {
|
||||
label: 'Document Picker',
|
||||
propertyEditorModel: 'Umbraco.ContentPicker',
|
||||
propertyEditorAlias: 'Umbraco.ContentPicker',
|
||||
icon: 'umb:document',
|
||||
group: 'common',
|
||||
settings: {
|
||||
@@ -16,19 +16,19 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
alias: 'showOpenButton',
|
||||
label: 'Show open button',
|
||||
description: 'Opens the node in a dialog',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
{
|
||||
alias: 'validationLimit',
|
||||
label: 'Amount of Documents',
|
||||
description: 'Require a certain amount of documents',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.NumberRange',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.NumberRange',
|
||||
},
|
||||
{
|
||||
alias: 'ignoreUserStartNodes',
|
||||
label: 'Ignore User Start Nodes',
|
||||
description: 'Selecting this option allows a user to choose nodes that they normally dont have access to',
|
||||
propertyEditorUi: 'Umb.PropertyEditorUi.Toggle',
|
||||
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Toggle',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -117,7 +117,7 @@ export class UmbDataTypeDetailsWorkspaceViewEditElement
|
||||
this._propertyEditorUiName = propertyEditorUI?.meta.label ?? propertyEditorUI?.name ?? '';
|
||||
this._propertyEditorUiAlias = propertyEditorUI?.alias ?? '';
|
||||
this._propertyEditorUiIcon = propertyEditorUI?.meta.icon ?? '';
|
||||
this._propertyEditorAlias = propertyEditorUI?.meta.propertyEditorModel ?? '';
|
||||
this._propertyEditorAlias = propertyEditorUI?.meta.propertyEditorAlias ?? '';
|
||||
|
||||
this._workspaceContext?.setPropertyEditorAlias(this._propertyEditorAlias);
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@ export const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-tags-storage-type.element.js'),
|
||||
meta: {
|
||||
label: 'Tags Storage Type',
|
||||
propertyEditorModel: '',
|
||||
propertyEditorAlias: '',
|
||||
icon: 'umb:autofill',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
@@ -8,7 +8,7 @@ const manifest: ManifestPropertyEditorUi = {
|
||||
loader: () => import('./property-editor-ui-tags.element.js'),
|
||||
meta: {
|
||||
label: 'Tags',
|
||||
propertyEditorModel: 'Umbraco.Tags',
|
||||
propertyEditorAlias: 'Umbraco.Tags',
|
||||
icon: 'umb:tags',
|
||||
group: 'common',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user