add key to workspace views
This commit is contained in:
@@ -750,6 +750,7 @@ export default {
|
||||
deleted: 'Deleted',
|
||||
deleting: 'Deleting...',
|
||||
design: 'Design',
|
||||
details: 'Details',
|
||||
dictionary: 'Dictionary',
|
||||
dimensions: 'Dimensions',
|
||||
discard: 'Discard',
|
||||
|
||||
@@ -9,7 +9,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./settings.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#general_settings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./block-grid-type-workspace-view-settings.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#general_settings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
},
|
||||
@@ -27,7 +27,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./block-grid-type-workspace-view-areas.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Areas',
|
||||
label: '#blockEditor_areas',
|
||||
pathname: 'areas',
|
||||
icon: 'icon-grid',
|
||||
},
|
||||
@@ -45,7 +45,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./block-grid-type-workspace-view-advanced.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Advanced',
|
||||
label: '#blockEditor_tabAreas',
|
||||
pathname: 'advanced',
|
||||
icon: 'icon-wrench',
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./block-list-type-workspace-view.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#blockEditor_tabBlockSettings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
},
|
||||
|
||||
@@ -9,7 +9,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./block-rte-type-workspace-view.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#general_settings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
},
|
||||
|
||||
@@ -38,7 +38,7 @@ export const manifests: Array<ManifestTypes> = [
|
||||
js: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Content',
|
||||
label: '#general_content',
|
||||
pathname: 'content',
|
||||
icon: 'icon-document',
|
||||
blockElementManagerName: 'content',
|
||||
@@ -63,7 +63,7 @@ export const manifests: Array<ManifestTypes> = [
|
||||
js: () => import('./views/edit/block-workspace-view-edit.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#general_settings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
blockElementManagerName: 'settings',
|
||||
|
||||
@@ -11,7 +11,7 @@ export const contentTypeDesignEditorManifest: UmbBackofficeManifestKind = {
|
||||
element: () => import('./content-type-design-editor.element.js'),
|
||||
weight: 1000,
|
||||
meta: {
|
||||
label: 'Design',
|
||||
label: '#general_design',
|
||||
pathname: 'design',
|
||||
icon: 'icon-document-dashed-line',
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/details/data-type-details-workspace-view.element.js'),
|
||||
weight: 90,
|
||||
meta: {
|
||||
label: 'Details',
|
||||
label: '#general_details',
|
||||
pathname: 'details',
|
||||
icon: 'edit',
|
||||
},
|
||||
@@ -44,7 +44,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/info/workspace-view-data-type-info.element.js'),
|
||||
weight: 90,
|
||||
meta: {
|
||||
label: 'Info',
|
||||
label: '#general_info',
|
||||
pathname: 'info',
|
||||
icon: 'info',
|
||||
},
|
||||
@@ -65,7 +65,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Data Type Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/workspace-view-dictionary-editor.element.js'),
|
||||
weight: 100,
|
||||
meta: {
|
||||
label: 'Edit',
|
||||
label: '#general_edit',
|
||||
pathname: 'edit',
|
||||
icon: 'edit',
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
alias: 'Umb.WorkspaceView.DocumentType.Design',
|
||||
name: 'Document Type Workspace Design View',
|
||||
meta: {
|
||||
label: 'Design',
|
||||
label: '#general_design',
|
||||
pathname: 'design',
|
||||
icon: 'icon-document-dashed-line',
|
||||
compositionRepositoryAlias: UMB_DOCUMENT_TYPE_COMPOSITION_REPOSITORY_ALIAS,
|
||||
@@ -45,7 +45,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
element: () => import('./views/structure/document-type-workspace-view-structure.element.js'),
|
||||
weight: 800,
|
||||
meta: {
|
||||
label: 'Structure',
|
||||
label: '#contentTypeEditor_structure',
|
||||
pathname: 'structure',
|
||||
icon: 'icon-mindmap',
|
||||
},
|
||||
@@ -63,7 +63,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
element: () => import('./views/settings/document-type-workspace-view-settings.element.js'),
|
||||
weight: 600,
|
||||
meta: {
|
||||
label: 'Settings',
|
||||
label: '#general_settings',
|
||||
pathname: 'settings',
|
||||
icon: 'icon-settings',
|
||||
},
|
||||
@@ -81,7 +81,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
element: () => import('./views/templates/document-type-workspace-view-templates.element.js'),
|
||||
weight: 400,
|
||||
meta: {
|
||||
label: 'Templates',
|
||||
label: '#treeHeaders_templates',
|
||||
pathname: 'templates',
|
||||
icon: 'icon-layout',
|
||||
},
|
||||
@@ -102,7 +102,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Document Type Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
@@ -52,7 +52,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
element: () => import('./views/edit/document-workspace-view-edit.element.js'),
|
||||
weight: 200,
|
||||
meta: {
|
||||
label: 'Content',
|
||||
label: '#general_content',
|
||||
pathname: 'content',
|
||||
icon: 'document',
|
||||
},
|
||||
@@ -70,7 +70,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
element: () => import('./views/info/document-workspace-view-info.element.js'),
|
||||
weight: 100,
|
||||
meta: {
|
||||
label: 'Info',
|
||||
label: '#general_info',
|
||||
pathname: 'info',
|
||||
icon: 'info',
|
||||
},
|
||||
@@ -92,7 +92,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
weight: 70,
|
||||
api: UmbDocumentSaveAndPublishWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save And Publish',
|
||||
label: '#buttons_saveAndPublish',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
@@ -111,7 +111,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
weight: 80,
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'secondary',
|
||||
color: 'positive',
|
||||
},
|
||||
@@ -152,7 +152,7 @@ const workspaceActionMenuItems: Array<ManifestWorkspaceActionMenuItem> = [
|
||||
api: UmbDocumentUnpublishWorkspaceAction,
|
||||
forWorkspaceActions: 'Umb.WorkspaceAction.Document.SaveAndPublish',
|
||||
meta: {
|
||||
label: 'Unpublish...',
|
||||
label: '#buttons_unpublish',
|
||||
icon: 'icon-globe',
|
||||
},
|
||||
},
|
||||
@@ -165,7 +165,7 @@ const workspaceActionMenuItems: Array<ManifestWorkspaceActionMenuItem> = [
|
||||
api: UmbDocumentPublishWithDescendantsWorkspaceAction,
|
||||
forWorkspaceActions: 'Umb.WorkspaceAction.Document.SaveAndPublish',
|
||||
meta: {
|
||||
label: 'Publish with descendants...',
|
||||
label: '#buttons_publishWithDescendants',
|
||||
icon: 'icon-globe',
|
||||
},
|
||||
},
|
||||
@@ -178,7 +178,7 @@ const workspaceActionMenuItems: Array<ManifestWorkspaceActionMenuItem> = [
|
||||
api: UmbDocumentSaveAndScheduleWorkspaceAction,
|
||||
forWorkspaceActions: 'Umb.WorkspaceAction.Document.SaveAndPublish',
|
||||
meta: {
|
||||
label: 'Schedule...',
|
||||
label: '#buttons_schedulePublish',
|
||||
icon: 'icon-globe',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -24,7 +24,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/language-details-workspace-view.element.js'),
|
||||
weight: 90,
|
||||
meta: {
|
||||
label: 'Details',
|
||||
label: '#general_details',
|
||||
pathname: 'details',
|
||||
icon: 'edit',
|
||||
},
|
||||
@@ -47,7 +47,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
meta: {
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
},
|
||||
conditions: [
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
element: () => import('./views/search/index.js'),
|
||||
weight: 200,
|
||||
meta: {
|
||||
label: 'Search',
|
||||
label: '#general_search',
|
||||
pathname: 'search',
|
||||
icon: 'icon-search',
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
alias: 'Umb.WorkspaceView.MediaType.Design',
|
||||
name: 'Media Type Workspace Design View',
|
||||
meta: {
|
||||
label: 'Design',
|
||||
label: '#general_design',
|
||||
pathname: 'design',
|
||||
icon: 'icon-document-dashed-line',
|
||||
},
|
||||
@@ -44,7 +44,7 @@ const workspaceViews: Array<ManifestWorkspaceViews> = [
|
||||
js: () => import('./views/structure/media-type-workspace-view-structure.element.js'),
|
||||
weight: 800,
|
||||
meta: {
|
||||
label: 'Structure',
|
||||
label: '#contentTypeEditor_structure',
|
||||
pathname: 'structure',
|
||||
icon: 'icon-mindmap',
|
||||
},
|
||||
@@ -65,7 +65,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Media Type Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
@@ -44,7 +44,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/edit/media-workspace-view-edit.element.js'),
|
||||
weight: 200,
|
||||
meta: {
|
||||
label: 'Media',
|
||||
label: '#general_details',
|
||||
pathname: 'media',
|
||||
icon: 'icon-picture',
|
||||
},
|
||||
@@ -62,7 +62,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/info/media-workspace-view-info.element.js'),
|
||||
weight: 100,
|
||||
meta: {
|
||||
label: 'Info',
|
||||
label: '#general_info',
|
||||
pathname: 'info',
|
||||
icon: 'info',
|
||||
},
|
||||
@@ -83,7 +83,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Media Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/info/member-type-workspace-view-info.element.js'),
|
||||
weight: 300,
|
||||
meta: {
|
||||
label: 'Info',
|
||||
label: '#general_info',
|
||||
pathname: 'info',
|
||||
icon: 'icon-document',
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
alias: 'Umb.WorkspaceView.MemberType.Design',
|
||||
name: 'Member Type Workspace Design View',
|
||||
meta: {
|
||||
label: 'Design',
|
||||
label: '#general_design',
|
||||
pathname: 'design',
|
||||
icon: 'icon-member-dashed-line',
|
||||
},
|
||||
@@ -46,7 +46,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Member Type Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
@@ -48,7 +48,7 @@ export const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/content/member-workspace-view-content.element.js'),
|
||||
weight: 100,
|
||||
meta: {
|
||||
label: 'Content',
|
||||
label: '#general_details',
|
||||
pathname: 'content',
|
||||
icon: 'icon-document',
|
||||
},
|
||||
|
||||
@@ -19,7 +19,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/relation-type-detail-workspace-view.element.js'),
|
||||
weight: 20,
|
||||
meta: {
|
||||
label: 'Details',
|
||||
label: '#general_details',
|
||||
pathname: 'details',
|
||||
icon: 'icon-trafic',
|
||||
},
|
||||
|
||||
@@ -26,7 +26,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/code-editor/stylesheet-code-editor-workspace-view.element.js'),
|
||||
weight: 700,
|
||||
meta: {
|
||||
label: 'Code',
|
||||
label: '#stylesheet_tabCode',
|
||||
pathname: 'code',
|
||||
icon: 'icon-brackets',
|
||||
},
|
||||
@@ -44,7 +44,7 @@ const workspaceViews: Array<ManifestWorkspaceView> = [
|
||||
js: () => import('./views/rich-text-rule/stylesheet-rich-text-rule-workspace-view.element.js'),
|
||||
weight: 800,
|
||||
meta: {
|
||||
label: 'Rich Text Editor',
|
||||
label: '#stylesheet_tabRule',
|
||||
pathname: 'rich-text-editor',
|
||||
icon: 'icon-font',
|
||||
},
|
||||
@@ -64,7 +64,7 @@ const workspaceActions: Array<ManifestWorkspaceActions> = [
|
||||
name: 'Save Stylesheet Workspace Action',
|
||||
api: UmbSubmitWorkspaceAction,
|
||||
meta: {
|
||||
label: 'Save',
|
||||
label: '#buttons_save',
|
||||
look: 'primary',
|
||||
color: 'positive',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user