import { UMB_DOCUMENT_TYPE_WORKSPACE_ALIAS } from '../constants.js';
import { UMB_DOCUMENT_TYPE_FOLDER_WORKSPACE_ALIAS, UMB_DOCUMENT_TYPE_TREE_ALIAS } from '../tree/index.js';
import { UMB_DOCUMENT_TYPE_MENU_ITEM_ALIAS } from './constants.js';
import { UMB_WORKSPACE_CONDITION_ALIAS } from '../../../core/workspace/index.js';
export const manifests = [
    {
        type: 'menuItem',
        kind: 'tree',
        alias: UMB_DOCUMENT_TYPE_MENU_ITEM_ALIAS,
        name: 'Document Types Menu Item',
        weight: 900,
        meta: {
            treeAlias: UMB_DOCUMENT_TYPE_TREE_ALIAS,
            label: 'Document Types',
            menus: ['Umb.Menu.StructureSettings'],
        },
    },
    {
        type: 'workspaceContext',
        kind: 'menuStructure',
        name: 'Document Type Menu Structure Workspace Context',
        alias: 'Umb.Context.DocumentType.Menu.Structure',
        api: () => import('./document-type-menu-structure.context.js'),
        meta: {
            menuItemAlias: UMB_DOCUMENT_TYPE_MENU_ITEM_ALIAS,
        },
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_DOCUMENT_TYPE_WORKSPACE_ALIAS,
            },
        ],
    },
    {
        type: 'workspaceFooterApp',
        kind: 'menuBreadcrumb',
        alias: 'Umb.WorkspaceFooterApp.DocumentType.Breadcrumb',
        name: 'Document Type Breadcrumb Workspace Footer App',
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: 'Umb.Workspace.DocumentType',
            },
        ],
    },
    {
        type: 'workspaceContext',
        kind: 'menuStructure',
        name: 'Document Type Folder Menu Structure Workspace Context',
        alias: 'Umb.Context.DocumentTypeFolder.Menu.Structure',
        api: () => import('./document-type-menu-structure.context.js'),
        meta: {
            menuItemAlias: UMB_DOCUMENT_TYPE_MENU_ITEM_ALIAS,
        },
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_DOCUMENT_TYPE_FOLDER_WORKSPACE_ALIAS,
            },
        ],
    },
    {
        type: 'workspaceFooterApp',
        kind: 'menuBreadcrumb',
        alias: 'Umb.WorkspaceFooterApp.DocumentTypeFolder.Breadcrumb',
        name: 'Document Type Folder Breadcrumb Workspace Footer App',
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_DOCUMENT_TYPE_FOLDER_WORKSPACE_ALIAS,
            },
        ],
    },
];
