import { UMB_MEDIA_TREE_ALIAS, UMB_MEDIA_WORKSPACE_ALIAS } from '../constants.js';
import { UMB_MEDIA_MENU_ALIAS, UMB_MEDIA_MENU_ITEM_ALIAS } from './constants.js';
import { UMB_ENTITY_IS_NOT_TRASHED_CONDITION_ALIAS } from '../../../core/recycle-bin/index.js';
import { UMB_WORKSPACE_CONDITION_ALIAS } from '../../../core/workspace/index.js';
export const manifests = [
    {
        type: 'menu',
        alias: UMB_MEDIA_MENU_ALIAS,
        name: 'Media Menu',
    },
    {
        type: 'menuItem',
        kind: 'tree',
        alias: UMB_MEDIA_MENU_ITEM_ALIAS,
        name: 'Media Menu Item',
        weight: 100,
        meta: {
            label: 'Media',
            menus: [UMB_MEDIA_MENU_ALIAS],
            treeAlias: UMB_MEDIA_TREE_ALIAS,
            hideTreeRoot: true,
        },
    },
    {
        type: 'workspaceContext',
        kind: 'menuStructure',
        name: 'Media Menu Structure Workspace Context',
        alias: 'Umb.Context.Media.Menu.Structure',
        api: () => import('./media-menu-structure.context.js'),
        meta: {
            menuItemAlias: UMB_MEDIA_MENU_ITEM_ALIAS,
        },
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_MEDIA_WORKSPACE_ALIAS,
            },
            {
                alias: UMB_ENTITY_IS_NOT_TRASHED_CONDITION_ALIAS,
            },
        ],
    },
    {
        type: 'workspaceFooterApp',
        kind: 'variantMenuBreadcrumb',
        alias: 'Umb.WorkspaceFooterApp.Media.Breadcrumb',
        name: 'Media Breadcrumb Workspace Footer App',
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_MEDIA_WORKSPACE_ALIAS,
            },
        ],
    },
];
