import { UMB_DOCUMENT_WORKSPACE_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: 'workspaceAction',
        kind: 'default',
        alias: 'Umb.WorkspaceAction.Document.Save',
        name: 'Save Document Workspace Action',
        weight: 80,
        api: () => import('./save.action.js'),
        meta: {
            label: '#buttons_save',
            look: 'secondary',
            color: 'positive',
        },
        conditions: [
            {
                alias: UMB_WORKSPACE_CONDITION_ALIAS,
                match: UMB_DOCUMENT_WORKSPACE_ALIAS,
            },
            {
                alias: UMB_ENTITY_IS_NOT_TRASHED_CONDITION_ALIAS,
            },
        ],
    },
];
