import { UMB_PARTIAL_VIEW_FOLDER_ENTITY_TYPE, UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE } from '../../entity.js';
import { UMB_IS_SERVER_PRODUCTION_MODE_CONDITION_ALIAS } from '../../../../core/server/index.js';
export const manifests = [
    {
        type: 'entityAction',
        kind: 'default',
        alias: 'Umb.EntityAction.PartialView.CreateOptions',
        name: 'Partial View Create Options Entity Action',
        weight: 1200,
        api: () => import('./create.action.js'),
        forEntityTypes: [UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE, UMB_PARTIAL_VIEW_FOLDER_ENTITY_TYPE],
        meta: {
            icon: 'icon-add',
            label: '#actions_createFor',
            additionalOptions: true,
        },
        conditions: [
            {
                alias: UMB_IS_SERVER_PRODUCTION_MODE_CONDITION_ALIAS,
                match: false,
            },
        ],
    },
    {
        type: 'modal',
        alias: 'Umb.Modal.PartialView.CreateOptions',
        name: 'Partial View Create Options Modal',
        element: () => import('./options-modal/partial-view-create-options-modal.element.js'),
    },
    {
        type: 'modal',
        alias: 'Umb.Modal.PartialView.CreateFromSnippet',
        name: 'Create Partial View From Snippet Modal',
        js: () => import('./snippet-modal/create-from-snippet-modal.js'),
    },
];
